$npx skillfedfor your agent

courts-db

Database of Courts

Worth itPyPI Python ModulesReleased Mar 2026395.3K downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — courts_db-0.10.27-py3-none-any.whl
v0.10.27 · released 2026-03-25 · Python >=3.9

Yes. This is a stable, actively maintained package with zero dependencies, permissive licensing, and a clear use case for legal tech and research. Install it if you need reliable court name resolution or court metadata lookup. No known vulnerabilities and low friction make it a safe choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • Actively maintained with recent releases and a stable codebase.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is a permissive license; you can use this package freely in commercial and private projects with minimal restrictions.

last release 2026-03-25 (142 days) · last repo commit 2026-08-13 · 110 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 395,270 downloads/mo, #6,982 on PyPI

Verify before relying

pip install courts_db

from courts_db import find_court, find_court_by_id

# Look up by ID
result = find_court_by_id("mass")

# Look up by name with filtering
from datetime import datetime as dt
result = find_court(
    "District of Massachusetts",
    bankruptcy=True,
    date_found=dt.strptime("10/02/1975", "%m/%d/%Y")
)
  • Whether the court data is updated regularly and how currency is maintained
  • Performance characteristics when searching against the full dataset
  • Geographic coverage beyond US courts (if any)
Same gist for agents: .md · .json

What it is and what it does

Courts-DB is a curated open-source database of courts—current and historical—built by the Free Law Project from metadata across millions of case records. It provides two main functions: `find_court()` to look up court identifiers by name string, and `find_court_by_id()` to retrieve full court metadata. The database includes regex patterns for matching court name variations, historical date ranges, jurisdiction levels, case types, and citation strings.

You feed it a court name or identifier and get back structured data: the court's ID, full name, abbreviation, location, system (state/federal/tribal), level (trial/appellate/etc.), bankruptcy status, and URL. Filtering by date and bankruptcy flag lets you disambiguate when multiple courts share similar names—for example, distinguishing the Federal District Court of Massachusetts from its Bankruptcy Court. It has no external runtime dependencies and supports Python 3.9+.

Use it for

  • Resolve ambiguous court names in legal documents or case filings to their canonical CourtListener identifiers
  • Filter court results by historical date range to find the correct court for cases from specific time periods
  • Identify whether a court reference is a bankruptcy court versus a general district court
  • Build legal research tools that need to normalize and validate court names from user input
  • Populate court metadata (URLs, abbreviations, citation strings) in case management systems

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a stable, actively maintained package with zero dependencies, permissive licensing, and a clear use case for legal tech and research. Install it if you need reliable court name resolution or court metadata lookup. No known vulnerabilities and low friction make it a safe choice.

Install

courts-db on PyPI

Before you install

Low friction installation with no runtime dependencies. Actively maintained with recent releases and a stable codebase.

License in practice

BSD-2-Clause is a permissive license; you can use this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install courts_db

from courts_db import find_court, find_court_by_id

# Look up by ID
result = find_court_by_id("mass")

# Look up by name with filtering
from datetime import datetime as dt
result = find_court(
    "District of Massachusetts",
    bankruptcy=True,
    date_found=dt.strptime("10/02/1975", "%m/%d/%Y")
)

Verify before relying

  • Whether the court data is updated regularly and how currency is maintained
  • Performance characteristics when searching against the full dataset
  • Geographic coverage beyond US courts (if any)

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 142 days since the last release
Last repo commit
First released
Downloads395,270 / month, #6,982 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: courts_db-0.10.27-py3-none-any.whl

Tags

Capabilities
court lookup by namelegal court databasecourt identifier resolverbankruptcy court findercourt string matching
Topics
legal-techcourt-data
PyPI keywords
courtslegal

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “court lookup by name”

  • courts-dbProvides a searchable database of current and historical courts with…
  • reporters-dbProvides a comprehensive database of U.S. court reporters and legal…
  • names-datasetLooks up demographic information about first and last names across…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also reporters-db · eyecite · followthemoney · fingerprints · commonregex · cleanco · nr-date · mkdocs-exclude · multiregex · datefinder