court-records-search
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Court Records Search — MCP Server
I work with federal court records, so I built the search I wanted and could not find: type a company name and see where that company shows up in federal court, as plaintiff or defendant, in what kind of lawsuit, and whether the case is open or terminated. No account, no key, nothing to configure. The records sit in a local SQLite store and every answer comes from that store.
Free sample bundled: 18,475 records · one court · filed 1982 to 2026. The full dataset I hold runs to 5,217,638 company case records across the federal courts; this repository ships the sample so you can run the real search before anything else.
Tools
Tool | What it does |
| Search the bundled records. Every filter is optional and they combine. |
| One record in full: company, role, court, docket id, filing and termination dates, status, nature of suit, and whether an outcome is recorded. |
| What the bundled sample covers, counted from the store itself: totals, the court, the date range, counts by status and role, and the top natures of suit. |
Every result is a real case record: the company as named in the filing, its role in the case, the court, the docket id, and the dates the case was filed and terminated.
Related MCP server: federal-appeals
What the sample covers
The sample is every record I hold for one court, the United States District Court for the Western District of North Carolina, copied field for field:
Records | 18,475 |
Filed | 1982-12-28 to 2026-09-25 |
Distinct companies | 11,091 |
Terminated | 16,021 |
Open or unknown | 2,454 |
As defendant | 13,273 |
As plaintiff | 5,202 |
With an outcome recorded | 9,178 |
The most common natures of suit in the sample are contract actions (1,369 records under Contract: Other and 1,035 under 190 Other contract actions), civil rights jobs cases (736), asbestos personal injury (689), and insurance (531).
Run it
Install the one dependency, the official Python MCP SDK:
pip install -r requirements.txtStart the server over stdio, the default transport:
python3 mcp_server.pyPoint your MCP client at that command. There is no API key and no setup step. For a hosted setup, the HTTP transport answers on
/mcpand serves a plainGET /health:python3 mcp_server.py --transport streamable-http --port 8797
The store path defaults to data/sample.db next to the
server file. Set COURT_RECORDS_DB to point at a larger
store with the same schema. build_sample.py is the exact
script that cut this sample from the full dataset, so the
slice is reproducible. Tests:
python3 -m unittest discover -s tests -v.
Worked example
Asking for court records with "Carolina" in the company name, three at a time:
{"count": 344, "limit": 3,
"sample_court": "District Court, W.D. North Carolina",
"results": [
{"id": 15397,
"company_name": "North Carolina Department of Health and Human Services",
"role": "defendant",
"docket_id": "74652292",
"date_filed": "2026-08-14",
"date_terminated": "",
"status": "open_or_unknown",
"nature_of_suit": "440 Civil Rights: Other",
"has_outcome": false},
{"id": 15437,
"company_name": "Riverstreet Communications of North Carolina, Inc.",
"role": "defendant",
"docket_id": "74637953",
"date_filed": "2026-08-12",
"status": "open_or_unknown",
"nature_of_suit": "150 Contract: Recovery/Enforcement",
"has_outcome": false}
]}Honest limits
The sample is one court. Searches answer from the Western District of North Carolina only, and the tools say so in every response. A company with no record here may still have cases in other courts in the full dataset.
Open or unknown is a data statement, not a legal one. It means the record carries no termination date. It does not promise the case is still active today.
Nature of suit is blank on 3,182 of the 18,475 records. Those records still search by company, role, status, and date; they simply carry no nature of suit label.
Names are as filed. The same company can appear under several spellings, and a substring search finds the spellings that contain your text, nothing smarter.
This is a snapshot. The dataset is compiled from public federal court data on a cycle, not a live docket feed.
License
MIT — see LICENSE. The code is mine; the underlying records
are public federal court data.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search public U.S. federal litigation: companies, cases, dockets and document metadata.
US federal court filing counts, lawsuits naming companies, judges, MDLs, state case law and news.
Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts.
US legal case search: court decisions and company litigation history
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables users to search and retrieve court docket records across US state, county, and federal courts, including PACER party searches, and to get full case details.69 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables searching and retrieving metadata from U.S. federal appellate court dockets, including party name search and recent dockets.72 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables searching and retrieving recent U.S. federal district court civil docket metadata, including parties, courts, docket numbers, filing and termination dates, and assigned judges, without an API key.138 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching and retrieving business bankruptcy filing metadata from US federal courts, including company, court, dates, and judge, without an API key.78 npmMIT