[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Cornell LII state regulation](https://spiral.ai/integrations/gemini-cli/cornell-lii-state-regulation)

# How to Use Cornell LII state regulation in Gemini CLI

Fetch a state agency rule from Cornell LII, such as Maine's development noise standard. Use it to examine requirements within a specific state's administrative code.

|  |  |
| --- | --- |
| Model | Cornell LII state regulation |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Cornell LII state regulation in Gemini CLI

- Use Cornell LII state regulation to read Maine 06-096 C.M.R. ch. 375, § 10. Draft a research note in this project separating applicability, sound limits, and exceptions.
- Use Cornell LII state regulation to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Cornell LII state regulation and tell me what changed since last week.
- Check Cornell LII state regulation and summarize what you find in three bullet points.
- Pull the newest data from Cornell LII state regulation and give me the result as a table.

## How to set up Cornell LII state regulation in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Cornell LII state regulation**: One request; the result comes back by polling or a webhook.

```bash
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_state_regulation",
    "input": {
      "id": "<id>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Cornell LII state regulation on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Cornell LII state regulation tools and prices

- [Cornell LII (Legal Information Institute) · Get state regulation](https://spiral.ai/tools/alexandria/law-cornell-edu/legislation/get_state_regulation) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Page id, the last URL segment, e.g. '06-096-C-M-R-ch-375-SS-10'. |
| url |  | — | LII state regulation page URL, e.g. https://www.law.cornell.edu/regulations/maine/06-096-C-M-R-ch-375-SS-10. |
| state |  | — | LII state slug as in the URL, e.g. 'maine', 'texas', 'new_york'; pass with id. |
| offset | 0 to … | — | 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. |

## What can you do with Cornell LII state regulation in Gemini CLI?

Build a citation check for a policy repository using Cornell LII headings and legal text. A coding agent can compare retrieved material with project documents and propose edits tied to specific provisions.

### 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.

### Prepare a Maine development noise review

Read Maine's 06-096 C.M.R. chapter 375, section 10 and organize its applicability provisions, limits, and exceptions into questions for a proposed development's review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Cornell LII state regulation in other agents

- [Amp](https://spiral.ai/integrations/amp/cornell-lii-state-regulation)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cornell-lii-state-regulation)
- [Claude](https://spiral.ai/integrations/claude-desktop/cornell-lii-state-regulation)
- [Claude Code](https://spiral.ai/integrations/claude-code/cornell-lii-state-regulation)
- [Cline](https://spiral.ai/integrations/cline/cornell-lii-state-regulation)
- [Codex](https://spiral.ai/integrations/codex/cornell-lii-state-regulation)
- [Cursor](https://spiral.ai/integrations/cursor/cornell-lii-state-regulation)
- [Devin](https://spiral.ai/integrations/devin/cornell-lii-state-regulation)
- [dots](https://spiral.ai/integrations/dots/cornell-lii-state-regulation)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cornell-lii-state-regulation)
- [Gemini](https://spiral.ai/integrations/gemini/cornell-lii-state-regulation)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cornell-lii-state-regulation)
- [goose](https://spiral.ai/integrations/goose/cornell-lii-state-regulation)
- [Grok](https://spiral.ai/integrations/grok/cornell-lii-state-regulation)
- [Grok Build](https://spiral.ai/integrations/grok-build/cornell-lii-state-regulation)
- [Hermes](https://spiral.ai/integrations/hermes/cornell-lii-state-regulation)
- [Instinct](https://spiral.ai/integrations/instinct/cornell-lii-state-regulation)
- [Manus](https://spiral.ai/integrations/manus/cornell-lii-state-regulation)
- [Muse](https://spiral.ai/integrations/muse/cornell-lii-state-regulation)
- [Muse Code](https://spiral.ai/integrations/muse-code/cornell-lii-state-regulation)
- [n8n](https://spiral.ai/integrations/n8n/cornell-lii-state-regulation)
- [Notion](https://spiral.ai/integrations/notion/cornell-lii-state-regulation)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cornell-lii-state-regulation)
- [opencode](https://spiral.ai/integrations/opencode/cornell-lii-state-regulation)
- [Perplexity](https://spiral.ai/integrations/perplexity/cornell-lii-state-regulation)
- [Raycast](https://spiral.ai/integrations/raycast/cornell-lii-state-regulation)
- [VS Code](https://spiral.ai/integrations/vscode/cornell-lii-state-regulation)
- [Windsurf](https://spiral.ai/integrations/windsurf/cornell-lii-state-regulation)
- [Zapier](https://spiral.ai/integrations/zapier/cornell-lii-state-regulation)

## More Gemini CLI guides

- [Cornell LII legal table of contents](https://spiral.ai/integrations/gemini-cli/cornell-lii-legal-table-of-contents)
- [CourtListener court directory](https://spiral.ai/integrations/gemini-cli/courtlistener-court-directory)
- [Cornell LII federal regulation](https://spiral.ai/integrations/gemini-cli/cornell-lii-federal-regulation)
- [CourtListener docket entries](https://spiral.ai/integrations/gemini-cli/courtlistener-docket-entries)
- [Cornell LII U.S. Code section](https://spiral.ai/integrations/gemini-cli/cornell-lii-u-s-code-section)
- [CourtListener docket search](https://spiral.ai/integrations/gemini-cli/courtlistener-docket-search)

## Questions about Cornell LII state regulation in Gemini CLI

**Can Gemini CLI use Cornell LII state regulation?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Cornell LII state regulation like any built-in tool.

**How much does Cornell LII state regulation cost in Gemini CLI?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need an Alexandria account to use Cornell LII state regulation in Gemini CLI?**

No. Spiral runs Cornell LII state regulation 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 state regulation in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Cornell LII state regulation runs?**

Cornell LII state regulation runs in the background. Gemini CLI 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.

