Skip to main content

Documentation Index

Fetch the complete documentation index at: https://vaquill.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Vaquill MCP server gives any Model Context Protocol client - Claude.ai, Claude Desktop, Claude Code, Cursor, VS Code, Windsurf - direct access to the Vaquill legal research API. It covers US federal and 50-state law (USC, CFR, state legislation, and CourtListener case law) and also includes 20M+ Indian Supreme Court and High Court judgments plus 23K+ Indian acts. Source: github.com/Vaquill-AI/vaquill-mcp.

GitHub

Source code and issues

PyPI

uvx vaquill-mcp

Hosted endpoint

https://mcp.vaquill.ai

Quickstart

The fastest path is the hosted remote MCP on Claude.ai web - no install, no local Python, no config files.

Install Vaquill MCP in Claude Code with one paste. Replaces a manual config edit.

1

Get an API key

Generate a vq_key_... token from your dashboard settings. See Authentication.
2

Open Claude.ai Settings > Integrations

Click Add a connector and pick Custom MCP server.
3

Paste the URL

Use either the path-token form:
https://mcp.vaquill.ai/s/vq_key_your_key_here
Or, if your client supports auth headers, use the bearer-token form:
URL:   https://mcp.vaquill.ai/s/_
Token: vq_key_your_key_here
4

Ask a legal question

Try: “What does 17 CFR 240.10b-5 say about insider trading?” - Claude will call ask_legal_question and return a grounded answer with citations.
Remote MCP connectors are available on Claude Pro, Max, Team, and Enterprise plans.

Client setup

Pick your client below. All configs accept the same set of environment variables - see Environment variables.
// ~/Library/Application Support/Claude/claude_desktop_config.json  (macOS)
// %APPDATA%\Claude\claude_desktop_config.json                       (Windows)
{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}
The uvx runner requires Python 3.10+ and uv on PATH. uvx vaquill-mcp downloads and executes the package in an isolated env on first run; subsequent runs are instant.

Tools

The server exposes 15 tools across four categories. Credit costs match the pricing schedule and can be checked live with get_pricing.

Cross-jurisdiction

ToolDescriptionCredits
ask_legal_questionAI-powered legal Q&A. countryCode='US' (default) covers USC + CFR + 50-state law + CourtListener case law. countryCode='IN' covers Indian judgments and acts. Standard (fast) or deep (multi-hop) modes.5 - 20
get_pricingGet current API credit pricing. No auth required.Free

US law (USC + CFR)

ToolDescriptionCredits
search_us_statutesSemantic search across the United States Code (USC) and Code of Federal Regulations (CFR). Filter by corpusType and titleNumber.2
get_us_statute_sectionMetadata for a specific USC / CFR section by act_id - citation, title hierarchy, links.1
get_us_statute_section_textFull HTML and plain text of a USC or CFR section.3

Indian case law

ToolDescriptionCredits
search_legal_casesBoolean keyword search of Indian Supreme Court and High Court judgments. AND / OR / NOT operators, court / year filters.1 - 3
quick_searchCompact top 3 - 5 Indian case results with essentials only.1
resolve_citationResolve any Indian citation format (SCC, AIR, SCR, MANU, SCALE, INSC) to a canonical case record.1
search_cases_by_citationSearch Indian cases by citation text or case name with filters.1
lookup_caseFull Indian case details with citation treatment stats (followed, overruled, distinguished).1
get_citation_networkTraverse the Indian citation graph: 1 - 3 hops, inbound / outbound / both.2

Indian acts and legislation

ToolDescriptionCredits
search_legislationSemantic search across 23,000+ Indian acts, regulations, and state legislation. Filter by category, state, department, year.1
list_legislationBrowse Indian acts to discover act_id values. Filter by category, state, department, status.1
get_act_textURLs for full text, PDF, and HTML versions of an Indian act.1
get_amendmentsComplete amendment history for an Indian act (substitutions, insertions, omissions).1

Authentication

The Vaquill MCP server authenticates with your Vaquill API key. Three options, in priority order:
  1. Bearer header (remote): Authorization: Bearer vq_key_...
  2. Path token (remote): https://mcp.vaquill.ai/s/vq_key_... - convenient when your client cannot send custom headers.
  3. Environment variable (local): VAQUILL_API_KEY=vq_key_... for uvx / stdio launches.
Keys are scoped per workspace and revocable from the dashboard. For the full auth model, request signing, and rotation policy, see Authentication.
Treat the path-token URL as a secret - anyone with the URL can spend credits from your account. Prefer the bearer-token form whenever the client supports it.

Self-hosting

The MCP server is a thin wrapper around the public Vaquill API, so most users will not need to self-host. Run from source when you want to pin a version, add custom telemetry, or modify tool descriptions.
git clone https://github.com/Vaquill-AI/vaquill-mcp.git
cd vaquill-mcp
uv sync --all-extras

# Run locally over stdio
VAQUILL_API_KEY=vq_key_... uv run vaquill-mcp

# Inspect tools interactively
uv run fastmcp dev src/vaquill_mcp/server.py
The package fetches the OpenAPI spec from https://api.vaquill.ai at startup and auto-generates MCP tools with FastMCP. New API endpoints appear as tools automatically without a package upgrade.

Environment variables

VariableRequiredDefaultDescription
VAQUILL_API_KEYYes-Your API key (vq_key_...) from vaquill.ai/settings
VAQUILL_BASE_URLNohttps://api.vaquill.aiAPI base URL. Override for staging or self-hosted API instances.
VAQUILL_TIMEOUTNo120Per-request timeout in seconds. Increase for deep-mode ask_legal_question calls.

Usage examples

Type these directly to Claude, Cursor, or any connected assistant. US law
“What does 17 CFR 240.10b-5 say about insider trading?” “Find USC sections on equal protection under the Fourteenth Amendment.” “Summarize FRCP Rule 12(b)(6) and recent SDNY case law applying it.” (uses deep mode) “What are the federal penalties for wire fraud under 18 USC 1343?” “Pull the full text of 26 USC 501(c)(3).”
Indian law
“Search for Supreme Court cases on Section 302 IPC.” “Resolve the citation AIR 1978 SC 597.” “Look up Maneka Gandhi v. Union of India and show treatment stats.” “Show the citation network around ADM Jabalpur v. Shivkant Shukla.”

Ready-to-run research prompt

Brief a case with treatment stats. Paste into any Vaquill-connected assistant. Replace the citation.

Pricing

API calls consume credits at $0.01 USD per credit. The get_pricing tool returns the live schedule and is free to call. Per-tool costs are listed in the Tools tables above.

MCP overview

All Vaquill MCP servers at a glance

Integrations

Chatbots, widgets, browser extensions, and automation

Authentication

API key setup and rotation

Credits and pricing

How metering works

Ask a legal question (API)

The underlying REST endpoint