Comparison · checked November 1, 2026
Where to look up US law: legal code databases compared
City codes, state statutes and federal law live on different sites, run by different people, under different rules. This page sets out what each major source covers, what it costs and how a program or an AI agent can reach it.
Corpus is one of the options, so every line about another provider links the page it came from, and each provider gets a line on where it is the better choice.
The short answer
| If you need | Use |
|---|---|
| The official text of one city’s code | The publisher the city’s own website links to, usually Municode or ICC Code Solutions. |
| The official US Code | The Office of the Law Revision Counsel, at uscode.house.gov. |
| One state’s statutes | The state legislature’s own site, or Justia or FindLaw for a free copy. |
| Case law | CourtListener (free), or Westlaw or Lexis with a subscription. |
| One search across many cities and states, or an API or MCP server for an AI agent | Corpus, within the jurisdictions it lists. For a city Corpus lacks, Open Legal Codes, one city at a time. |
City and county code publishers
Most US cities pay a codifier to keep their code of ordinances up to date and host it online. Two groups now host most of those codes. When a city’s own website links to one of them, that copy is the one the city stands behind.
Municode (CivicPlus)
- City and county codes. CivicPlus says it serves 4,300+ local governments with Municode. source
- CivicPlus acquired Municode in August 2021. source
- Free to read in a browser at library.municode.com, with no account. source
- CivicPlus also sells MuniPRO, a research product with search, organization and tracking tools; the page we read gives no price. source
- The CivicPlus Municode page we read mentions no public API or MCP server. source
- The better choice for: The code a city itself publishes, updated as each supplement is adopted, for every government on Municode.
ICC Code Solutions (American Legal Code Library, eCode360)
- Since July 2026 General Code (eCode360) and American Legal Publishing operate together as ICC Code Solutions, part of the International Code Council. Its announcement says more than 7,000 communities. source
- American Legal’s Code Library is free to read in a browser, organized by state and then city. source
- eCode360 is free to browse; search across many codes is part of a $195-a-year Professional Subscription. source
- The eCode360 API is available to General Code client cities for their own code, licensed per municipality. source
- The better choice for: The official copy of any client city’s code, with archived versions and, on eCode360, a paid search across many codes.
Free statute and regulation websites
A free copy of state statutes or federal law is easy to find. What differs is who stands behind the text, how current it is, and whether a program may reuse it. Each state legislature publishes its own state’s statutes on its own site, in its own format.
The official publishers (US Code, eCFR, state legislatures)
- On November 1, 2026 the House’s Office of the Law Revision Counsel showed the US Code current through Public Law 119-136, with the whole Code downloadable. source
- The eCFR is updated continuously and says it is not an official legal edition of the CFR. source
- Free, with no account, and the Office of the Law Revision Counsel offers downloads of the Code. source
- The better choice for: The text with the strongest legal standing and the newest amendments, and bulk downloads of federal law.
Justia
- Free copies of the US Code and state codes, kept as dated editions: its URLs carry the year, as in /codes/california/2025/. source
- Its robots.txt disallows none of the AI crawlers we tested. Justia’s pages showed us a security check on November 1, 2026, so this row rests on its URLs and robots.txt rather than a fresh reading. source
- The better choice for: Free reading of a state code by edition year, next to case law.
Cornell Legal Information Institute (LII)
FindLaw
- A free source of state laws, the US Code and court opinions, with one search across all its codes. source
- Thomson Reuters announced the sale of FindLaw to Internet Brands on December 2, 2024. source
- The Internet Brands terms of use prohibit scraping. source
- The better choice for: A free state statute next to plain-English legal articles and a lawyer directory.
APIs, datasets and MCP servers
These are for programs and AI agents rather than readers. What matters is coverage, price, whether a key is needed, and whether one search spans many jurisdictions.
Open Legal Codes
- Says it covers 37,000+ jurisdictions across Municode, American Legal, eCode360, the eCFR and California’s legislature site. source
- Text is fetched from the publisher on the first request and then cached. source
- When we searched a city it had not fetched yet (Batesville, Mississippi), the API replied that the crawl was in progress. source
- Free, with no signup and no API key, from TIDY, a property-management company. REST API, CLI and an MCP server. source
- Its documented search is a keyword search within one jurisdiction at a time. source
- The better choice for: Reaching a city Corpus does not cover: any code on those publishers, free and keyless.
OpenLaws
- Statutes and regulations for 53 US jurisdictions: federal, the states, DC and Puerto Rico. Its pricing page does not mention city codes. source
- Law Data API from $2,500 a month, with no free tier; an evaluation key is available on request. The pricing page does not mention an MCP server. source
- The better choice for: A contracted production feed of state and federal statutes, with bulk exports.
Vaquill (API, MCP server and the Open US Law dataset)
- Federal law plus statutes and regulations for 56 US jurisdictions. Its coverage page lists no city codes. source
- API key or OAuth. Plans are sold in API credits (20,000 or 200,000 a month); dollar prices are shown after sign-up. source
- The open dataset, Open US Law, is licensed CC BY-NC 4.0, which rules out commercial use without a license. source
- The better choice for: Statutes and regulations for every state and territory through one API or MCP server.
Legal Ops Depot
- Court opinions, statutes and court rules. Its library page says city and county codes are not included. source
- MCP server and API keys. Free plan of 40 lookups a day; paid plans run from $12 to $149 a month. source
- The better choice for: State statutes and case law in one MCP server, with a free daily allowance.
CourtListener (Free Law Project)
- Case law: millions of federal and state court decisions, plus PACER data, oral argument transcripts and judge data. source
- Free account required. The default API limit is 5 requests a minute and 125 a day, higher with a paid membership. source
- Available inside Claude as an MCP connector since May 12, 2026. source
- The better choice for: Case law. Corpus has none.
Which AI crawlers each site turns away
We fetched each site’s robots.txt on November 1, 2026 and tested it against the training crawlers (GPTBot (OpenAI), ClaudeBot (Anthropic), Google-Extended (Google), CCBot (Common Crawl)) and the crawlers that fetch pages for AI search and for a user’s question (OAI-SearchBot, ChatGPT-User, Claude-User, PerplexityBot). robots.txt states a policy; it does not show whether a site’s bot protection lets a given request through.
| Site | Disallows |
|---|---|
| Municode Library | GPTBot, ClaudeBot, anthropic-ai, Google-Extended, CCBot Also declares “search=yes, ai-train=no”. |
| American Legal Code Library | GPTBot, ClaudeBot, anthropic-ai, Google-Extended, CCBot Also declares “search=yes, ai-train=no”. |
| eCode360 | GPTBot, ClaudeBot, anthropic-ai, Google-Extended, CCBot, Bingbot Also declares “search=yes, ai-train=no”. |
| Justia | None of those tested |
| Cornell LII | None of those tested |
| FindLaw | None of those tested |
| US Code (OLRC) | None of those tested |
| eCFR | None of those tested |
| UpCodes | GPTBot, ClaudeBot, Google-Extended, CCBot, OAI-SearchBot, ChatGPT-User, Claude-User, PerplexityBot Disallows every crawler not named in an allow list, AI assistants included. |
| Corpus | None of those tested |
Corpus
- 2,473,703 provisions: federal law (the US Code and the CFR), statutes for 48 states and DC and the codes of 95 cities.
- Partial for now: Georgia, Ohio and Tennessee.
- Not yet covered: Arkansas and Hawaii.
- Text is collected ahead of time and indexed, so one search covers every listed jurisdiction at once, by meaning or by keyword.
- Free to search on the website. The API and MCP server take 250 searches a month with no key and 1,000 with a free key, then $0.005 a search.
- Each section page names the source its text was taken from, and links it where one exists.
The full list, with counts per jurisdiction, is on the coverage page. To connect an assistant, see the MCP server or the API.
Where Corpus is the weaker choice
- No case law. Use CourtListener, or a professional platform.
- Corpus is not an official publisher. For a filing or a court, rely on the publisher’s copy each section links to.
- Far fewer cities than the code publishers host, which serve thousands of governments.
- No annotations, case notes or citator such as KeyCite or Shepard’s.
Check it yourself
These are the pages each line above was read from. Read them rather than trusting our summary of them.
CivicPlus: Municode
Read by Corpus on November 1, 2026.
GovTech: CivicPlus acquires Municode (August 27, 2021)
Read by Corpus on November 1, 2026.
Municode Library
Read by Corpus on November 1, 2026.
CivicPlus: MuniPRO
Read by Corpus on November 1, 2026.
General Code: General Code and American Legal Publishing unite as ICC Code Solutions
Read by Corpus on November 1, 2026.
American Legal Publishing Code Library
Read by Corpus on November 1, 2026.
ICC Code Solutions: eCode360 subscription services
Read by Corpus on November 1, 2026.
ICC: eCode360 API (CodeConnect)
Read by Corpus on November 1, 2026.
Office of the Law Revision Counsel: US Code
Read by Corpus on November 1, 2026.
eCFR
Read by Corpus on November 1, 2026.
Justia: 2025 California Code
Read by Corpus on November 1, 2026.
Justia robots.txt
Read by Corpus on November 1, 2026.
Cornell LII: How current is the US Code?
Read by Corpus on November 1, 2026.
Cornell LII: State law resources
Read by Corpus on November 1, 2026.
FindLaw: US codes and state codes
Read by Corpus on November 1, 2026.
Thomson Reuters: sale of FindLaw to Internet Brands
Read by Corpus on November 1, 2026.
Internet Brands terms of use
Read by Corpus on November 1, 2026.
Open Legal Codes
Read by Corpus on November 1, 2026.
Open Legal Codes API: Batesville, MS search (our request)
Read by Corpus on November 1, 2026.
OpenLaws pricing
Read by Corpus on November 1, 2026.
Vaquill API coverage
Read by Corpus on November 1, 2026.
Vaquill
Read by Corpus on November 1, 2026.
Vaquill: Open US Law
Read by Corpus on November 1, 2026.
Legal Ops Depot law library
Read by Corpus on November 1, 2026.
Free Law Project: CourtListener is now available inside Claude
Read by Corpus on November 1, 2026.
Free Law Project membership
Read by Corpus on November 1, 2026.
Also compared: AI legal research and code tools, compared.
Try it
Search federal, state and city law at once
Each result cites its section and links the source it was taken from.
Products, coverage and prices change. This page records what each source said on November 1, 2026; check the source before relying on a line.
Corpus appears in this comparison and is not affiliated with any other provider named. Corpus is not a law firm and does not provide legal advice.
