# How to connect Cornell LII (Legal Information Institute) to Cursor

> Connect Cornell LII (Legal Information Institute) to Cursor with the Firecrawl MCP server.

To connect Cornell LII (Legal Information Institute) to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Cornell LII (Legal Information Institute) data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses Cornell LII (Legal Information Institute) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Cornell LII (Legal Information Institute).

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Cornell LII (Legal Information Institute) to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention Cornell LII (Legal Information Institute) or Firecrawl Alexandria. The agent finds the Cornell LII (Legal Information Institute) capability that fits and runs it. For example:

```text
Use Firecrawl to run Cornell LII (Legal Information Institute)'s Get cfr section capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Cursor do with Cornell LII (Legal Information Institute)?

Cornell Law School's Legal Information Institute (www.law.cornell.edu): read any US Code section, eCFR section or state administrative regulation as Markdown with its citation, heading, breadcrumbs and source/history notes, and browse the tables of contents. Statute and regulation text is public domain; LII's notes and finding aids are LII's.

Cursor can run any of Cornell LII (Legal Information Institute)'s 4 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get cfr section**: One section of the Code of Federal Regulations (eCFR, as LII republishes it) by page URL, citation ('26 CFR 1.1502-13', '21 C.F.R. § 101.9') or title and section: citation, heading, breadcrumbs (title, chapter, subchapter, part, subject group), the text as Markdown with tables, the Federal Register source line, the editorial note and previous/next sections. Sections can be very long; max_chars (default 50000) and offset page the text. Costs 5 Firecrawl credits per call.
- **Get state regulation**: One state administrative regulation from LII's State Regulations collection (all states LII carries, e.g. Maine Code of Rules, Texas Administrative Code) by page URL or state slug and page id: the state's citation, heading, breadcrumbs (department, division, chapter), the text as Markdown and the notes printed under it (adoption and amendment history). LII refreshes state regulations quarterly. Costs 5 Firecrawl credits per call.
- **Get us code section**: One section of the United States Code from LII by page URL, citation ('25 U.S.C. § 1912', '42 USC 2000e-2') or title and section: citation, heading, breadcrumbs (title, chapter, subchapter), the text as Markdown, the source credit (enacting public laws), LII's Notes tab (amendments, effective dates, codification) and previous/next sections. Long text is paged with max_chars and offset. Costs 5 Firecrawl credits per call.
- **List contents**: Entries of an LII table-of-contents page for the US Code, the CFR or state regulations (a code root, title, chapter, subchapter, part, department or division page): page title, breadcrumbs and each child's label and URL, with CFR subject groups. Children are sections (read them with the get_* functions) or deeper contents pages. Paged with limit (default 200, max 1000) and offset. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name Cornell LII (Legal Information Institute) or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to run Cornell LII (Legal Information Institute)'s Get cfr section capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Cornell%20LII%20(Legal%20Information%20Institute)'s%20Get%20cfr%20section%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Cornell LII (Legal Information Institute)'s Get state regulation capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Cornell%20LII%20(Legal%20Information%20Institute)'s%20Get%20state%20regulation%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Cornell LII (Legal Information Institute)'s Get us code section capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Cornell%20LII%20(Legal%20Information%20Institute)'s%20Get%20us%20code%20section%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Cornell LII (Legal Information Institute)'s List contents capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Cornell%20LII%20(Legal%20Information%20Institute)'s%20List%20contents%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `law-cornell-edu` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Cursor find Cornell LII (Legal Information Institute)?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use Cornell LII (Legal Information Institute) in other AI apps

- [Cornell LII (Legal Information Institute) in ChatGPT](https://alexandria.firecrawl.dev/providers/law-cornell-edu/connect/chatgpt)
- [Cornell LII (Legal Information Institute) in Claude](https://alexandria.firecrawl.dev/providers/law-cornell-edu/connect/claude)
- [Cornell LII (Legal Information Institute) in Grok Bot](https://alexandria.firecrawl.dev/providers/law-cornell-edu/connect/grok-bot)
- [Cornell LII (Legal Information Institute) in Muse](https://alexandria.firecrawl.dev/providers/law-cornell-edu/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect France public medicines database (BDPM) to Cursor](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/cursor)
- [How to connect ClinicalTrials.gov to Cursor](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/cursor)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Cursor](https://alexandria.firecrawl.dev/providers/cms-gov/connect/cursor)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Cursor](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/cursor)

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/cursor)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Cornell LII (Legal Information Institute) among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a Cornell LII (Legal Information Institute) MCP server for Cursor?

Cursor reaches Cornell LII (Legal Information Institute) through Firecrawl's hosted MCP server, which serves Cornell LII (Legal Information Institute) and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Cornell LII (Legal Information Institute).

### What does connecting Cornell LII (Legal Information Institute) to Cursor unlock?

Cursor can run all 4 of Cornell LII (Legal Information Institute)'s capabilities, including Get cfr section, Get state regulation and Get us code section, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Cursor can combine Cornell LII (Legal Information Institute) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Cornell LII (Legal Information Institute) account or API key to use it in Cursor?

No. Cursor calls Cornell LII (Legal Information Institute) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Cornell LII (Legal Information Institute) account or API key.

### How much does it cost to use Cornell LII (Legal Information Institute) in Cursor?

Each Cornell LII (Legal Information Institute) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

### Can Cursor use other providers besides Cornell LII (Legal Information Institute)?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use Cornell LII (Legal Information Institute) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Cornell LII (Legal Information Institute) capabilities are available there. Keyless connections don't include Alexandria.
