Andrew Mitchel LLC

International Tax Blog - New and Interesting International Tax Issues


Tax Court Opinion Search

2026-05-27

Tax Court Logo

I have blogged in the past that I downloaded all of the Tax Court opinions and converted them to text files. A while ago, I created a Python app that searches the opinions. I have found it to be very useful. I decided to make the app open source.

If you aren’t familiar with Python, you can still install and run the app. On Windows, press the Start key, type PowerShell, and hit enter. Then type:

  • powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

This runs an executable file from Astral, a well-respected company that was recently acquired by OpenAI. Close out of PowerShell, and then reopen it. Then type:

  • uv tool install tax_court_opinion_search (this installs the app)
  • tax-court-opinion-search download-data (this downloads the opinion data [180MB] used by the app)
  • tc-search (this starts the app)

Next time to open the app, just open PowerShell and type tc-search. The app screen looks like:

image of tax court opinion search app.png

As an example, type “Arrowsmith” into the Normal Text Search box. This returns 6 hits. Each hit shows 300 characters before "Arrowsmith" and 300 characters after "Arrowsmith." You can adjust the number of characters before and after the first search term. Each hit shows the date, opinion type, number of pages, docket number, judge, taxpayer's name, and search results. The second hit for Arrowsmith conveniently summarizes the holding:

In Arrowsmith v. Commissioner, 344 U.S. 6 (1952), the Supreme Court held that the characterization of a transaction may require examination of prior, related transactions.

If you want to open the original PDF file, navigate to https://dawson.ustaxcourt.gov, click on opinions, and type in the Docket number.

You can find the source code for the app on my GitHub page. The app is also on PyPI. If you are familiar with Python, you can “pip” install it with:

  • pip install tax-court-opinion-search
  • tax-court-opinion-search download-data
  • tc-search

If you are on a Mac, in the Terminal, type:

  • curl -LsSf https://astral.sh/uv/install.sh | sh Close out of the Terminal, and then reopen it. Then type:
  • uv tool install tax_court_opinion_search
  • tax-court-opinion-search download-data
  • tc-search

The underlying data is saved as a parquet file on Hugging Face. The dataset can be viewed and manipulated via the Python Pandas library.

I hope others find this useful.

Tags: Python