How to Use Cornell LII U.S. Code section in OpenClaw
Fetch a federal statute from Cornell LII, such as 42 U.S.C. § 1983 on civil rights claims. Use it to examine statutory language and available editorial notes.
Prompts to try with Cornell LII U.S. Code section in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Each month, use Cornell LII U.S. Code section to retrieve 42 U.S.C. § 1983. Report changes to the text or editorial notes compared with the previous retrieval.
Every Monday at 9am: use Cornell LII U.S. Code section to look this up and give me the result as a table.
Pull the latest numbers from Cornell LII U.S. Code section and tell me what changed since last week.
Check Cornell LII U.S. Code section and summarize what you find in three bullet points.
Pull the newest data from Cornell LII U.S. Code section and give me the result as a table.
How to set up Cornell LII U.S. Code section in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Cornell LII U.S. Code section
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "law-cornell-edu/legislation/get_us_code_section", "input": { "url": "<url>" } }'
Then paste one of the prompts above: OpenClaw finds Cornell LII U.S. Code section on Spiral, shows the price and runs it.
Cornell LII U.S. Code section providers and prices
Spiral runs Cornell LII U.S. Code section through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Title | 1 to 54 | US Code title number; pass with section. | |
| Offset | a number from 0 | Character offset into the section text (default 0); pass the previous call's next_offset to continue. | |
| Max chars | 1 to 2000000 | Characters of Markdown text to return (default 50000). Long sections (some CFR sections exceed 250,000 characters) are paged with offset. |
Every API field of Cornell LII (Legal Information Institute) · Get us code section is on its tool page: open its card above.
What can you do with Cornell LII U.S. Code section in OpenClaw?
Produce a review queue when Cornell LII text or contents differ from a saved retrieval. A scheduled agent can flag changed passages and headings, with state regulation checks aligned to Cornell's quarterly update schedule.
Build a cited research brief
Use Cornell LII headings to identify provisions, then collect federal statutes, federal regulations, and state rules for a brief. Keep each citation beside the passage supporting the explanation.
Check citations in a policy draft
Match references in a draft to Cornell LII's contents and provision text. Flag a citation whose heading or quoted passage does not match what the draft claims.
Compare saved research with a new retrieval
Compare previously saved Cornell LII entries or provision text with a new retrieval. Report added headings, removed entries, and changed passages for review without assuming that every legal change has reached Cornell.
Prepare a legal research reading list
Turn a Cornell LII contents page into a reading plan and attach summaries of selected provisions. Separate statutory language, federal agency rules, and state administrative requirements.
Explain the structure of federal civil rights law
Outline the subchapters of 42 U.S. Code Chapter 21 and examine section 1983. Build an educational handout that distinguishes the chapter outline from the language of the selected statute.
More on Cornell LII U.S. Code section and OpenClaw
Overview
Cornell LII U.S. Code section in other agents
Questions about Cornell LII U.S. Code section in OpenClaw
Can OpenClaw use Cornell LII U.S. Code section?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Cornell LII U.S. Code section like any built-in tool.
How much does Cornell LII U.S. Code section cost in OpenClaw?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.
Do I need an Alexandria account to use Cornell LII U.S. Code section in OpenClaw?
No. Spiral runs Cornell LII U.S. Code section on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Cornell LII U.S. Code section in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while Cornell LII U.S. Code section runs?
Cornell LII U.S. Code section runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.
Which states does Cornell LII cover?
Cornell LII publishes administrative regulations for all 50 U.S. states. That coverage describes state agency rules; it does not establish coverage of every local ordinance.
How current is Cornell LII's U.S. Code?
The currency notice checked for this research identifies Public Law 119-136, published by the Office of the Law Revision Counsel on October 27, 2026. It provides a specific publication boundary rather than a promise of immediate updates after enactment.
How often does Cornell LII update state regulations?
Cornell LII states that state regulations are updated quarterly. Its comparison pages describe two available versions, so they should not be treated as a complete historical archive.
Does the CFR include proposed federal rules?
No. Cornell LII explains that the CFR excludes proposed rules, preambles, notices, and general policy statements found in the Federal Register.
Can I republish Cornell LII material commercially?
Cornell LII distinguishes underlying government texts from its markup, navigation, and original content. The license it describes for that added material requires attribution, noncommercial use, and the same licensing terms for adaptations.
Start using Cornell LII U.S. Code section in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


