v0.2.0|MIT License|Python 3.10+

US Statutes MCP Server

Search the US Code, the CFR, and 52 state and territory statute codes (4.9M+ sections), plus the U.S. Constitution, the Federal Rules, and Executive Orders, directly in Claude, Cursor, VS Code, and Windsurf.

Connects through

ClaudeCursorVS CodeWindsurf+ your product

Every section ships as JSON for your code, and HTML, plain text, PDF, or DOCX for the humans reading it.

terminal
$ pip install vaquill-mcp
app.vaquill.ai/mcp-server
Vaquill AI dashboard MCP Server setup screen, showing the Claude.ai remote connection URL and bearer token

Vaquill AI Statute Tools via MCP

Every tool maps directly to a Vaquill AI API endpoint, and the full set is generated from the live API spec at startup. The main ones are below. Your AI assistant gets full access to the US statutes corpus: the US Code, the CFR, and 52 state and territory statute codes. Sign up to get a key, or email contact@vaquill.ai.

search_us_statutes

Search the US Code, the CFR, and 52 state and territory codes. Filter by corpus, state, and title.

resolve_statute_citation

Resolve a Bluebook citation like 42 U.S.C. § 1983 straight to the section it names.

get_us_statute_section

Get metadata for any section: citation, hierarchy, breadcrumb, and official source links.

get_us_statute_section_text

Get the full text of any section in styled HTML and plain text.

list_statute_divisions

Browse the statutory hierarchy one level at a time, in statutory order.

list_statutes_laws

Catalog the bodies of law in a jurisdiction (a state's statutes, the US Code, court rules, ...).

list_statutes_coverage

Coverage matrix: which corpora exist in which jurisdiction, with counts and freshness.

get_pricing

Get current API pricing (free, no authentication needed).

MCP Server Setup in 2 Minutes

Get your API key from app.vaquill.ai, then add the config to your tool of choice.

Claude.ai (Web)Customize > Connectors > Add custom connector
# Remote, no install. Paste the URL with your key in it,
# or keep the key out of the URL by adding it under
# Request headers instead. Claude sends the value exactly
# as typed, so it reads "Bearer ..." and not "Authorization: ...".
URL:            https://mcp.vaquill.ai/s/YOUR_API_KEY

URL:            https://mcp.vaquill.ai/s/_
Header name:    Authorization
Header value:   Bearer YOUR_API_KEY
Claude Desktopclaude_desktop_config.json
// Settings > Developer > Edit Config opens this file.
//   macOS    ~/Library/Application Support/Claude/
//   Windows  %APPDATA%\Claude\
//   Linux    ~/.config/Claude/
// Quit Claude completely and reopen it. It does not reload.
{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}
Claude CodeTerminal
# Remote, no install:
claude mcp add --transport http --scope user vaquill \
  https://mcp.vaquill.ai/s/_ \
  --header "Authorization: Bearer vq_key_your_key_here"

# Or the local package:
claude mcp add --scope user vaquill -e VAQUILL_API_KEY=vq_key_your_key_here \
  -- uvx vaquill-mcp

# --scope user registers it for every project, not just this
# directory. -e keeps the key with the registration, so it
# survives Claude Code being launched from an IDE.
Cursor~/.cursor/mcp.json
{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}
VS Code (Copilot).vscode/mcp.json
// For every project instead of one, run the
// "MCP: Open User Configuration" command and use the same
// shape. Restart the server after saving or the tools
// will not appear.
{
  "servers": {
    "vaquill": {
      "type": "stdio",
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}
New

MCP Client: Connect External Tools to Vaquill AI

Bring your own MCP servers into Vaquill AI. Connect Notion, GitHub, Slack, or any MCP-compatible tool and use them directly in your AI chat alongside built-in statute research.

01

Add Server

Go to Settings > MCP Servers and add your server URL with optional auth headers.

02

Sync Tools

Click Sync to discover available tools. Preview parameters before enabling.

03

Enable Agent Mode

MCP tools are available when Agent Mode is enabled in chat.

04

Use in Chat

AI automatically calls your MCP tools alongside built-in statute tools.

Security

  • SSRF protection against private IP ranges and loopback
  • Auth headers encrypted at rest (AES-256-GCM)
  • Prompt injection mitigation on tool results
  • MCP tools cannot override built-in tools

Limits

  • 10 servers per user, 10 tools per server
  • 100 tool executions/hour, 5 sync requests/min
  • Tool result size cap: 8,000 characters
  • Streamable HTTP (recommended) or SSE transport

Query US Statutes from Your AI Editor

Once configured, just talk to your AI assistant. It will automatically use the right Vaquill AI tools.

Search the U.S. Code for Section 1983 civil rights claims

What does 42 U.S.C. § 1983 say?

Find Texas Penal Code sections on theft

Search the CFR for OSHA recordkeeping requirements

Get the full text of 50 U.S.C. § 3931

List the statute codes available for California

How the Statutes MCP Server Works

01

Auto-Discovery

At startup, the server fetches the live API spec from Vaquill AI and auto-generates MCP tools using FastMCP.

02

Always Current

Because the spec is fetched at startup (not bundled), tools automatically reflect any API changes without a package update.

03

Self-Serve

Generate an API key in your dashboard and start calling. Your current usage and balance are shown there.

MCP Server Configuration

VariableRequiredDefault
VAQUILL_API_KEYYes-
VAQUILL_BASE_URLNohttps://api.vaquill.ai
VAQUILL_TIMEOUTNo120

The US Statute Corpus, Right in Your Editor

The US Code, the CFR, and 52 state and territory statute codes in your AI assistant. No data pipeline to build, no infrastructure to maintain.