Skip to main content

How to Research the U.S. Code with Claude

Install the free U.S. Code plugin and use Claude Cowork or Claude Code to search, retrieve, compare, and analyze federal statutes from a local primary-source corpus.

Tommy Eberle
Tommy Eberle

Claude is much better at federal statutory research when it can read the actual U.S. Code instead of answering from model memory or relying on a general web search.

The free U.S. Code plugin from DocketDrafter gives Claude Cowork and Claude Code local access to the full statutory section text published by the Office of the Law Revision Counsel. Claude can look up exact citations, search across titles, read entire chapters, isolate subsections, compare related provisions, and link its answers to official U.S. Code pages.

This is a serious primary-source research workflow inside Claude. It requires no Westlaw or Lexis subscription and no API key.

What the U.S. Code plugin can do

Once installed, you can ask Claude to:

  • retrieve one or several sections by citation
  • search statutory text across the entire U.S. Code or within selected titles
  • find sections by heading
  • read all sections in a chapter
  • isolate particular subsections from a long statute
  • compare two or more sections side by side
  • identify definitions, exceptions, remedies, and enforcement provisions
  • provide official Office of the Law Revision Counsel links
  • provide Cornell Legal Information Institute links as a secondary convenience
  • report the corpus currency for every retrieved section

After its first download, lookup and search operate against the local corpus. This lets Claude move through large amounts of statutory text efficiently without repeatedly searching the web.

Install the U.S. Code plugin in Claude Cowork

This video shows the complete Legal Libraries installation process:

You can also watch the installation video on YouTube.

The steps are:

  1. Open Customize in Claude Cowork and select Capabilities.
  2. Add public-corpora.docketdrafter.com to the domain allowlist. If all domains are already allowed, skip this step.
  3. Return to Customize, open Plugins, and add a marketplace from a repository.
  4. Enter DocketDrafter/docketdrafter-plugins and sync it.
  5. Install U.S. Code from the marketplace.
  6. Start a new conversation and ask Claude a federal statutory question.

On first use, the plugin downloads and verifies the corpus. Later research uses the installed local copy.

Install it in Claude Code

Enter these commands in Claude Code:

/plugin marketplace add DocketDrafter/docketdrafter-plugins
/plugin install us-code@docketdrafter

Or ask Claude to do it:

Install the U.S. Code plugin from the DocketDrafter marketplace. Add DocketDrafter/docketdrafter-plugins as a plugin marketplace, install us-code@docketdrafter, and verify that the plugin is available. Explain any action that needs my approval.

Start a new conversation after installation so Claude loads the plugin instructions.

Look up an exact U.S. Code citation

If you know the citation, ask directly:

Use the U.S. Code plugin to retrieve 42 U.S.C. § 1983. Show me the text and link to the official source.

The reader accepts common citation formats, including:

  • 42 U.S.C. § 1983
  • 42 USC 1983
  • 28 USC 1331
  • 18 App. U.S.C. § 1

You can retrieve several sections at once:

Use the U.S. Code plugin to compare 28 U.S.C. §§ 1331 and 1332 and explain the different grants of subject-matter jurisdiction.

Claude receives the citation, heading, full statutory text, currency, and source links for each section.

Worked example: research the FDCPA

The Fair Debt Collection Practices Act is a useful example because a legal question may require several related provisions rather than one isolated section.

Start with a source map:

Use the U.S. Code plugin to research the Fair Debt Collection Practices Act. Find the provisions governing definitions, prohibited collection conduct, validation of debts, civil liability, and the statute of limitations. Give me a source-linked overview.

Then narrow the analysis:

Compare the definition of "debt collector" in 15 U.S.C. § 1692a with the civil-liability provisions in 15 U.S.C. § 1692k. What definitions, exceptions, remedies, and limitations matter to a private claim?

This is where local full-corpus access becomes powerful. Claude can move from topic discovery to exact sections, read the provisions together, and explain how definitions in one section affect remedies in another.

Search the Code when you do not know the citation

You can search headings or full statutory text.

For example:

Use the U.S. Code plugin to find the federal statutes governing racketeering.

Or search across titles:

Search the U.S. Code for provisions relevant to qualified immunity and civil actions against government officials.

The plugin returns search results in citation coordinates, so Claude can move directly from a match to the full statutory section.

Read an entire statutory chapter

For a statute organized across a chapter, Claude can retrieve the full chapter instead of guessing which sections matter.

Try:

Use the U.S. Code plugin to explain Title 18, Chapter 96, including the core RICO definitions, prohibited activities, penalties, and civil remedies.

This is also useful when a short name such as “RICO” or “FDCPA” does not reveal every section that belongs to the statutory scheme.

Work with long sections and subsections

Some U.S. Code provisions are very long. The plugin can isolate specified subsections so Claude does not need to load irrelevant text.

For example:

Compare subsections (a) through (c) of 18 U.S.C. § 1962.

You can also ask Claude to retrieve the full provision first, identify the relevant subsections, and then conduct a narrower comparison.

The plugin has a comparison workflow designed for reading multiple provisions together.

Try:

Use the U.S. Code plugin to compare 42 U.S.C. §§ 1983 and 1985. Explain the protected conduct, potential defendants, statutory requirements, and remedies.

This does not limit Claude to a mechanical diff. Because Claude receives the full text of both statutes, it can organize the comparison around the legal question you actually asked.

Corpus currency and source material

The corpus was checked on August 6, 2026. The latest Office of the Law Revision Counsel preliminary bulk release then available was current through Public Law 119-102, July 12, 2026.

Every lookup reports the laws-enacted-through date and flags placeholder sections that do not contain operative text. The plugin also distinguishes ordinary title keys from appendix titles and records whether each title has been enacted into positive law.

The corpus focuses on statutory section text and section metadata. For legislative history, source credits, amendment and effective-date notes, transfer notes, historical notes, regulations, annotations, or case law interpreting a section, add the appropriate sources to the research. For a time-sensitive matter, confirm whether Congress has enacted a newer law since the bundled release.

That is ordinary completion work around a strong statutory starting point. Claude can perform the core U.S. Code search, retrieval, comparison, and analysis directly from the primary text.

Get the free U.S. Code plugin

The U.S. Code plugin is part of the free, open-source DocketDrafter Legal Research Tools for Claude. It works independently from DocketDrafter's paid product.

Watch the installation video, review the corpus coverage and currency, and email me at tommy@docketdrafter.com if you want help installing it.