Skip to main content

vaquill-mcp

MCP server for Vaquill legal research API. Covers US federal and 50-state primary law: USC, CFR, state statutes and regulations, state and US constitutions, court rules, the Federal Register, executive orders, and agency guidance. Search primary law, resolve statutory citations, browse the hierarchy, and ground answers in official sources, all from your AI tools.

Vaquill also publishes hosted MCP servers for Indian primary law and for Indian regulatory publications. See Three hosted servers.

Discord

Quick Start

Prerequisites

Sign up at app.vaquill.ai/auth/signup to get your API key (new accounts get 1,000 free API credits, no card required). Steps for AI agents: vaquill.ai/agents.

Three hosted servers

Vaquill hosts three separate MCP servers. Each one is its own connector, so add only the ones you need and add each one on its own. You sign in once per server. The same API key and the same credit balance work on all three.

Server Covers URL
US US federal and state primary law https://mcp.vaquill.ai/mcp
India primary law Central and State Acts, judgments, tribunal records https://in-mcp.vaquill.ai/mcp
India regulatory Circulars, notifications and orders from SEBI, RBI and other regulators https://reg-mcp.vaquill.ai/mcp

Each accepts sign-in with a Vaquill account, or a bearer key sent as Authorization: Bearer vq_key_.... Each also has a /s/vq_key_... form with the key in the path, which is deprecated. The steps below use the US URL: swap in the host you want.

To run India primary law locally instead, see --jurisdiction IN under Claude Desktop. Regulatory publications are hosted only.

Claude.ai (Web)

No installation needed. Add as a remote MCP server from Customize > Connectors > Add custom connector:

Option A: Bearer token (recommended)

Open the Request headers section of the same dialog and add the credential there:

URL:            https://mcp.vaquill.ai/mcp
Header name:    Authorization
Header value:   Bearer vq_key_your_key_here

Claude sends the value exactly as you type it and adds no scheme of its own, so the value field holds Bearer vq_key_... and not Authorization: Bearer vq_key_....

Option B: API key in the URL (compatibility)

https://mcp.vaquill.ai/s/vq_key_your_key_here

Still live, and still the only form that works where a client cannot send a header at all. Prefer Option A everywhere else: a credential in a URL is recorded in server logs, proxies and browsing history, which is why Anthropic's connector guidance advises against it and the MCP specification prohibits it.

Available on Claude Pro, Max, Team, and Enterprise plans. The Request headers section is in beta and is enabled per account, it accepts a short allowlist of header names, and it holds at most four. On Team and Enterprise an owner adds the connector under Organization settings first.

Claude Desktop

Open the config file from Settings > Developer > Edit Config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}

For Indian primary law, add --jurisdiction IN. One process serves one corpus, so run two entries if you want both. There is no local mode for Indian regulatory publications: use the hosted server for those.

{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": { "VAQUILL_API_KEY": "vq_key_your_key_here" }
    },
    "vaquill-india": {
      "command": "uvx",
      "args": ["vaquill-mcp", "--jurisdiction", "IN"],
      "env": { "VAQUILL_API_KEY": "vq_key_your_key_here" }
    }
  }
}

Quit Claude completely and reopen it. It does not reload the file.

Claude Code

Remote (no install):

claude mcp add --transport http --scope user vaquill \
  https://mcp.vaquill.ai/mcp \
  --header "Authorization: Bearer vq_key_your_key_here"

Local (via uvx):

claude mcp add --scope user vaquill -e VAQUILL_API_KEY=vq_key_your_key_here \
  -- uvx vaquill-mcp

--scope user registers the server for every project; the default is the current directory only. -e stores the key with the registration, so it survives Claude Code being launched from an IDE, which an export in your shell profile does not. Both --header and -e are variadic, so they have to come after the server name.

Cursor

Edit ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.

Remote:

{
  "mcpServers": {
    "vaquill": {
      "url": "https://mcp.vaquill.ai/mcp",
      "headers": {
        "Authorization": "Bearer vq_key_your_key_here"
      }
    }
  }
}

Local (via uvx):

{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}

VS Code (Copilot)

Add to .vscode/mcp.json. For every project instead of one, run the MCP: Open User Configuration command and use the same shape there.

Remote:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "vaquill-authorization",
      "description": "Authorization header value",
      "password": true
    }
  ],
  "servers": {
    "vaquill": {
      "type": "http",
      "url": "https://mcp.vaquill.ai/mcp",
      "headers": {
        "Authorization": "${input:vaquill-authorization}"
      }
    }
  }
}

The credential goes in a prompt rather than in the file, so the file is safe to commit. VS Code asks for it on first start and remembers it. Restart the server after saving, or the tools will not appear.

Local (via uvx):

{
  "servers": {
    "vaquill": {
      "type": "stdio",
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json.

Remote:

{
  "mcpServers": {
    "vaquill": {
      "serverUrl": "https://mcp.vaquill.ai/mcp",
      "headers": {
        "Authorization": "Bearer vq_key_your_key_here"
      }
    }
  }
}

Windsurf uses serverUrl for a remote server, not url, and interpolates ${env:VAR} if you would rather read the credential from the environment.

Local (via uvx):

{
  "mcpServers": {
    "vaquill": {
      "command": "uvx",
      "args": ["vaquill-mcp"],
      "env": {
        "VAQUILL_API_KEY": "vq_key_your_key_here"
      }
    }
  }
}

Available Tools

Tools are generated from the live Vaquill API's OpenAPI spec at startup, so the set always matches the current API. For the authoritative, up-to-date list and per-call credit costs, run the free get_pricing tool or inspect your MCP client's tool list.

The US server publishes 52 tools, the hosted India server 40 and the regulatory server 7, counting search and fetch. Every one is read-only. Law change alerts (boards and watches) are deliberately not MCP tools: the API still serves them, so create and manage alerts in the Vaquill console or over the REST API directly.

The main groups (representative tools shown):

US statutes & regulations

USC, CFR, all 50 state codes, constitutions, state court rules, the Federal Register, and agency guidance.

Tool Description
search_us_statutes Hybrid semantic + keyword search; filter by corpusType, state, titleNumber, chapter, year, and more. matchType: "boolean" takes a terms-and-connectors expression (AND, OR, NOT, /s, /p, /N, wildcards) and returns only sections that satisfy it, with totalMatches / totalMatchesExact and a nextOffset to page to the end.
count_statute_sections Exact section count for a scope, or for a Boolean expression (query + matchType: "boolean", with isExact and parsedQuery).
get_us_statute_section Section metadata by actId (citation, hierarchy, official-source links).
get_us_statute_section_text Full HTML + plain text of a section.
get_sections_batch Metadata for up to 50 sections in one call.
resolve_statute_citation Resolve a Bluebook citation (e.g. 42 U.S.C. § 1983) straight to its section. Optional state (a 2-letter code or federal) and corpusType are constraints, and a real citation they exclude comes back with citationOutsideFilters.
list_statute_divisions Browse the statutory hierarchy one level at a time.
list_statutes_coverage Self-describing coverage matrix: which corpora exist in which jurisdiction.

US case law

Court opinions from federal and state courts: search the text, resolve a reporter citation to a case, read a decision and each of its opinions, and follow the cases it cites and the cases that cite it. Costs are appended to each tool's description at startup from the live pricing table. Start with resolve_case_citations when you hold a citation (410 U.S. 113) and search_us_cases when you hold a topic; statutes and regulations, including 42 U.S.C. 1983, stay on the statute tools above.

Tool Description
search_us_cases Full-text keyword search over opinion text, best match first, one result per case with the matching opinion and a snippet. Filter by courtIds, state, dateFrom / dateTo, publicationStatus and judgeId. Paged with limit and offset while hasMore.
resolve_case_citations Up to 100 reporter citations to cases, one result per entry (resolved, ambiguous, not_found or unparsed; an unparsed string is not charged).
get_us_case One decision by caseId: court, dates, parties, publication status, reporter citations, panel, citedByCount and its opinions with their ids.
get_us_cases_batch Up to 50 decisions in one call; a missing id is listed in notFound and not charged.
get_us_opinion The text of one opinion by opinionId, as html (a citation to a case we hold carries its caseId) or text.
get_us_opinions_batch The text of up to 20 opinions in one call.
get_case_citations The cases a decision cites (direction=cites) or that cite it (direction=cited_by), most-mentioned first, with mentionCount.
get_opinion_citations The same citation graph for one opinion.
get_case_parentheticals How later decisions describe a case in a parenthetical.
list_us_cases Decisions by court, state, judge, date or publication status, with no text query.
list_us_judges Judges by name, court and whether they still sit.
list_us_courts The courts we hold decisions for, filtered by state, level or system, with what we hold per court on include=coverage. Gives the courtId that search_us_cases takes.
get_us_judge One judge's profile: positions held, education and affiliations.
list_us_dockets Court dockets by courtId, docketNumber, caption words and filing window. Personal identifiers are masked.
get_us_docket One docket: court, caption, dates, assigned judge, caseIds of its decisions. The docket sheet's entries and filed documents are not held.

The REST API also serves routes that are not MCP tools, to keep the catalogue a model chooses from small: one court by id (list_us_courts returns the same records), the change feed (GET /us/cases/changes), oral argument records and the list of a judge's disclosure reports.

Reading a section in context

Tool Description
get_section_neighbors The sections immediately before and after, in statutory order.
get_section_definitions The defined terms that govern a section, from its chapter's definitions section.
get_section_cited_by Which USC/CFR sections cross-reference this one (the inverse of crossReferences).
get_section_cross_state Provisions in other states addressing the same subject, ranked by similarity.
get_section_changes What our refreshes observed changing on this section over time.

Federal rulemaking

The Federal Register lineage of the CFR, and the dockets and Unified Agenda entries that share a Regulation Identifier Number (RIN). Metadata only: no comment text. Costs are appended to each tool's description at startup from the live pricing table.

Tool Description
get_section_rulemaking The Federal Register documents behind one CFR section, from its printed source note and eCFR amendment dates, with a quality tier per match.
get_part_rulemaking Every Federal Register document that references a CFR title and part, newest first, over the most recent years (default 5).
get_rulemaking_docket One Regulations.gov docket: agency, type, title, RIN, document counts and comment count (null means not measured).
list_rulemaking_dockets Dockets, most recently modified first, filtered by agencyId, docketType, rin, hasRin and a modified window. Cursor paged.
list_docket_documents The documents of one docket, oldest first, with comment periods and Federal Register document numbers. Cursor paged.
get_rulemaking_rin Everything held for one RIN: Unified Agenda entry, OIRA reviews, dockets, Federal Register documents by role, CFR parts and related RINs.
list_rin_agenda The Unified Agenda edition history of one RIN, newest first, with from and to edition ids (YYYYMM).
list_rulemaking_committee_records Judicial Conference Rules Committee records (minutes, agenda books, reports, rules packages, comments), most recent first, filtered by committee, docType, year, ruleSet, rule and docketId. Drafting history, not law; comments and suggestions have title, filename and text withheld. Cursor paged.
get_rulemaking_committee_record One committee record with its comment dockets, Federal Rule links and a window of page text (pageFrom, pageLimit). Same withheld-text rule.
get_rulemaking_coverage What the rulemaking store holds per source, with a freshness verdict (free).

Utility

Tool Description
get_pricing Live API credit pricing (free, no auth).
search Generic one-string corpus search returning {id, title, url}.
fetch Generic one-string retrieval returning {id, title, text, url, metadata}.

search and fetch exist because ChatGPT's deep research and company-knowledge connectors match a corpus server by those exact names and their single-string signature, and refuse to work without them. They are thin wrappers over the typed tools above, which any client that can call them should prefer: the typed ones filter by jurisdiction, corpus, date and status, and these two do not. fetch is deliberately lenient about its id, accepting an act_id, a citation URL, a bare path, or a Bluebook citation such as 42 U.S.C. 1983.

Resources and prompts

This server is not only tools. An MCP server generated from an OpenAPI document publishes one tool per endpoint and nothing else; these two primitives are where the knowledge that is not in the API lives, and neither costs anything in the per-turn tool budget.

Resources (read, don't call):

Resource Contents
vaquill://guide How to use the corpus correctly: identifier rules, what "still good law" actually means here, what an empty change list does and does not tell you, and where the cost is. Not backed by any endpoint.
vaquill://us/coverage Coverage matrix: every corpusType and its per-jurisdiction counts. Free.
vaquill://in/filters The filter vocabulary the India corpus actually holds. Free.
vaquill://pricing Live credit pricing. Free.

Prompts (workflows, with the traps built in):

Prompt What it encodes
good_law_check(citation) actStatus vs goodLawStatus vs amendmentHistory, and why unknown means no currency verdict is asserted, which is different from out of date.
fifty_state_survey(topic, states) Check coverage first, so "no such law" and "not in our corpus" are never conflated.
whats_changed(since, corpus, state) Change capture is observation, not effect; an empty result is not "nothing was amended".
cite_check(text) Batch-resolve rather than looping, then verify the passage's claims against each section.
old_code_citation(citation) India: map IPC/CrPC to the BNS/BNSS provision in force since 1 July 2024 before answering.
indian_provision_check(question) India: read the filter vocabulary first, and state the amendment caveat correctly.

Indian primary law

A separate server on its own host, not a path on mcp.vaquill.ai. It serves three corpora: Central and State Acts (with the instruments of the principal regulators: SEBI, RBI, MCA, IRDAI, TRAI, DGFT), Supreme Court and High Court judgments, and tribunal records. The Acts corpus holds 22,265 enactments and 1,098,577 individually addressable sections.

https://in-mcp.vaquill.ai/mcp             sign in with your Vaquill account, or Authorization: Bearer vq_key_your_key_here
https://in-mcp.vaquill.ai/s/vq_key_your_key_here      key in the path, deprecated

Same API key, same credit balance as the other servers. Sign in once for this server: signing in to the US server does not cover it.

Circulars, orders, notices and press releases are not here. They are on the regulatory server below. Translation is REST only, not MCP.

Tool Description
search_acts Search Indian legislation down to the section.
list_acts Browse and filter enactments by jurisdiction, regulator, year, status.
list_act_filters The filter vocabulary the corpus actually holds, with counts.
get_act_text Source links (text, PDF, HTML) for one enactment.
get_act_section_body The publisher's full text for one provision.
get_act_amendments Amendment history: what changed, by which Act, effective when.
resolve_india_citation The provision named by a citation, such as s.302 IPC.
get_corresponding_provisions Map a repealed criminal code to its 2023 replacement (IPC to BNS, CrPC to BNSS).
search_india_cases Search Supreme Court and High Court judgments by meaning and by words.
list_india_courts The canonical court registry, with per-court holdings.
get_india_case_body A judgment's full text.
resolve_india_case A case id, SCR citation or case number to the judgment it names.
list_india_tribunal_forums The fifteen tribunal forums, with record counts. Call it first.
search_india_tribunal_matters Matters whose title, petitioner or respondent contains your term.
get_india_tribunal_matter Everything held about one tribunal matter.
get_pricing_in / get_india_credit_balance Per-endpoint credit costs and your remaining credits. Free.
search / fetch The same generic pair described above, over Indian primary law.

The tribunal tools search metadata, not judgment text: no extracted text exists in that corpus, so a matter whose title or parties do not contain your term will not be found.

Each corpus is its own server, deliberately. The US, India and regulatory OpenAPI documents are disjoint, and each app derives its entire tool set from one of them, so a US connection never exposes an Indian tool and the reverse. That also keeps an integrator's context window to the corpus they actually work in. Each server has its own host, so each one supports sign-in as well as an API key (see "Why a subdomain" below).

Older connectors. India used to be a path on the US host, https://mcp.vaquill.ai/in/mcp (and /in/s/{key}). That address stopped working on 26 November 2026. Remove a connector saved against it and add https://in-mcp.vaquill.ai/mcp instead, which also supports sign-in.

Indian regulatory publications

Circulars, notifications, orders, notices and press releases from named Indian regulators (SEBI, RBI and others), captured from the publishers themselves. This is administrative material rather than binding authority, which is why it is a separate server from Indian primary law. A separate server on its own origin, not a path on mcp.vaquill.ai or in-mcp.vaquill.ai:

https://reg-mcp.vaquill.ai/mcp            Authorization: Bearer vq_key_..., or sign in over OAuth
https://reg-mcp.vaquill.ai/s/vq_key_...   key in the path, deprecated, for clients that cannot send a header

Hosted only: the package has no local (stdio) mode for regulatory publications, and --jurisdiction IN serves primary law, not this corpus. Add it as its own connector and sign in once for it. Same API key and credit balance as the other servers. The key needs the single reg:read permission, which covers every tool and every publisher.

Tool Description
search_regulatory_documents Search by words and filters: publisher, source, document type, publication dates. Cursor paged.
get_regulatory_document One document by id, with the extracted text, the latest diff or every capture on request.
get_regulatory_document_file The archived original, returned as a file.
list_regulatory_changes What is new, changed or retracted since a time or cursor, in capture order.
get_regulatory_coverage What the corpus covers and how fresh each source is.
get_india_credit_balance Your remaining credits. Free.
get_pricing_in Credit-to-price conversion and per-endpoint costs. Free.

The first five read the corpus. The last two are the same account tools the India server offers, so you can check your balance and a workflow's price without switching connections.

Capture began on 2026-08-23. An empty result for an earlier date does not mean nothing was published. Costs are appended to each description at startup from the live pricing table.

Why a subdomain. OAuth only works at an origin root. Discovery (RFC 9728) is served from the origin's /.well-known/*, and a FastMCP app knows only its own path, so an app mounted under a prefix advertises the wrong resource URL and serves its document at the wrong location. Claude requires resource to match the URL the user typed, path included. That is why India primary law and this corpus each have their own host.

Running and deploying it

It is the same package and the same Dockerfile as mcp.vaquill.ai, with a different entry point. It is deliberately not in remote_main._MOUNTS, which drives the live US connector.

pip install "vaquill-mcp[remote]"
PORT=8001 vaquill-mcp-regulatory            # or: python -m vaquill_mcp.regulatory_main
curl localhost:8001/health                  # {"status":"ok",...,"corpus":"regulatory"}

To deploy, create a second application from this repository and build the existing Dockerfile with one build argument:

SERVER=vaquill-mcp-regulatory

Leaving it unset builds the vaquill-mcp-remote image exactly as before. Point the new host name at the application and set its own environment (the table under "Hosted server only" applies unchanged, with these differences):

  • VAQUILL_PUBLIC_URL is this origin, https://reg-mcp.vaquill.ai.
  • With OAuth on, register https://reg-mcp.vaquill.ai/auth/callback as an additional redirect URI on the upstream client. Copy the VAQUILL_OAUTH_* group from the US deployment and change only the public URL and the Redis database number, so the deployments do not share OAuth state. The full checklist is in the module docstring of src/vaquill_mcp/origin.py.
  • Without the VAQUILL_OAUTH_* group it serves bearer keys only.
  • HOST and PORT behave as above (0.0.0.0 and 8000).

At startup it reads the India pricing matrix and logs a warning naming any tool that has no price row; such a tool is published without a cost line rather than with a guessed one.

Environment Variables

Variable Required Default Description
VAQUILL_API_KEY Yes - API key (vq_key_...) from vaquill.ai
VAQUILL_BASE_URL No https://api.vaquill.ai API base URL
VAQUILL_TIMEOUT No 120 Request timeout in seconds
VAQUILL_JURISDICTION No US stdio server only. US or IN. Selects the OpenAPI document, and therefore the whole tool set. The hosted servers ignore it: US, India primary law and India regulatory each run as their own server on their own host.

Hosted server only

The variables below apply to vaquill-mcp-remote (the deployment behind mcp.vaquill.ai) and are ignored by the stdio server.

OAuth is OFF unless the whole VAQUILL_OAUTH_* group is set, and the server behaves exactly as it did before OAuth existed. A PARTIAL group raises at startup rather than serving a half-built discovery document, because Claude caches discovery globally by URL for about five minutes across all users, so a wrong one outlives the misconfiguration that produced it.

Variable Required Default Description
HOST No 0.0.0.0 Listen address
PORT No 8000 Listen port
VAQUILL_PUBLIC_URL With OAuth - This server's public URL (https://mcp.vaquill.ai). Becomes the OAuth issuer and the resource in the protected-resource document, which Claude requires to match the URL the user typed, path included.
VAQUILL_INTERNAL_SECRET With OAuth - Shared secret for resolving an OAuth user to their vq_key_. Must equal MCP_INTERNAL_SECRET on the API. Without it an OAuth caller authenticates and then fails at the first tool call.
VAQUILL_OAUTH_UPSTREAM_JWKS_URI With OAuth - https://<project-ref>.supabase.co/auth/v1/.well-known/jwks.json. Empty keys means the project is still on symmetric HS256 and no token will verify.
VAQUILL_OAUTH_UPSTREAM_ISSUER With OAuth - https://<project-ref>.supabase.co/auth/v1
VAQUILL_OAUTH_AUTHORIZE_URL With OAuth - https://<project-ref>.supabase.co/auth/v1/oauth/authorize
VAQUILL_OAUTH_TOKEN_URL With OAuth - https://<project-ref>.supabase.co/auth/v1/oauth/token
VAQUILL_OAUTH_CLIENT_ID With OAuth - The STATIC client registered upstream. Dynamic client registration stays off; this server is itself the DCR/CIMD facade.
VAQUILL_OAUTH_CLIENT_SECRET With OAuth - Secret for that client
VAQUILL_OAUTH_ALGORITHM No ES256 Must match the upstream signing key. RS256 if the project was migrated to RSA.
VAQUILL_OAUTH_AUDIENCE No authenticated Expected aud on upstream tokens
VAQUILL_OAUTH_ALLOWED_REDIRECT_URIS No unset (any redirect accepted) Comma-separated redirect URI patterns a client may register, e.g. https://claude.ai/api/mcp/auth_callback,http://localhost:*,http://127.0.0.1:*. Unset keeps today's behaviour so no client changes; set it only after connecting each client by hand.

The only redirect URI registered upstream is https://mcp.vaquill.ai/auth/callback. Do NOT also register Claude's (https://claude.ai/api/mcp/auth_callback) or Claude Code's loopback: this server proxies the flow, so the upstream never sees them, and the ephemeral-port matching RFC 8252 requires is handled here.

Example Usage

Once configured, you can ask your AI assistant things like:

  • "What does 17 CFR 240.10b-5 say about insider trading?"
  • "Resolve 42 U.S.C. § 1983 to its section and show the full text"
  • "Find California statutes on tenant repair obligations"
  • "Browse the Texas statutory codes, then drill into the Penal Code"

Development

# Clone and install
git clone https://github.com/Vaquill-AI/vaquill-mcp.git
cd vaquill-mcp
uv sync --all-extras

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

Tests

The suite needs no API key and no network access. Every test runs against the checked-in OpenAPI fixtures in tests/fixtures/, and tests/conftest.py makes any unmocked HTTP call raise, so a clone plus uv sync is the whole setup.

uv sync --extra dev --extra remote
uv run pytest                                    # 407 tests
uv run pytest -W error::DeprecationWarning       # what CI runs

CI (.github/workflows/test.yml) runs two jobs, and they are deliberately not redundant. test runs the suite against the locked environment on Python 3.10-3.13. wheel builds the package, installs it into a fresh venv without the lockfile, and runs the same suite there. The second reproduces what a customer gets from uvx vaquill-mcp: a lockfile does not constrain anyone installing the published wheel, so a dependency shipping a breaking major shows up in that job and nowhere else.

# Test with FastMCP inspector
uv run fastmcp dev src/vaquill_mcp/server.py

Security

Report a vulnerability to contact@vaquill.ai (see SECURITY.md and https://www.vaquill.ai/security/vulnerability-disclosure).

Two things worth knowing before you connect this to an agent that holds other tools:

  • The server is read-only. Every tool carries readOnlyHint: true and destructiveHint: false, and none writes, sends or deletes anything. The hints describe what the tools can do; they are not a security control, and a client should treat annotations from any server as untrusted unless it trusts the server.
  • Returned text is third-party content. Statutes, notices, agency decisions and session laws come from government publishers (and, for some corpora, from vendor collection and OCR). We sanitise markup and restrict source links to government hosts, but we do not filter wording for instructions, and openWorldHint: false describes reach, not provenance. The server sends an instructions note saying so; clients that ignore it should still treat tool output as untrusted.

How It Works

This package is a thin MCP wrapper around the Vaquill Developer API. At startup, it fetches the OpenAPI spec from the live API and auto-generates MCP tools using FastMCP. Tool names are derived automatically from each endpoint's OpenAPI operation id, so new API endpoints show up as clean, ready-to-use tools with no package update; key descriptions are refined for optimal LLM performance. The one exception is a short exclusion list in server.py (_ROUTE_MAPS): the SSE streaming route, and the law change alert routes, which are a product decision rather than a technical limit.

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

Credits & Pricing

API calls consume credits. The credit costs in the tables above are current at the time of writing; the get_pricing tool and each tool's own description always reflect the live price, so treat those as authoritative if they differ.

1 credit = $0.01 USD

License

MIT

Community

Questions, ideas, or want to contribute? Join the Vaquill community on Discord.

Metadata

Release files for vaquill-mcp 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vaquill-mcp 0.7.1
File Size Uploaded Provenance Actions
vaquill_mcp-0.7.1.tar.gz 937.7 kB With provenance Details for vaquill_mcp-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vaquill-mcp 0.7.1
File Interpreter ABI Platform Actions
vaquill_mcp-0.7.1-py3-none-any.whl Python 3 none any Details for vaquill_mcp-0.7.1-py3-none-any.whl

Total release size: 1.1 MB

Release files / vaquill_mcp-0.7.1.tar.gz

Download URL vaquill_mcp-0.7.1.tar.gz
Size 937.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4f67fbf2e642a2c843b719c9ac068c2d5d12b7074650f8f1b616583c22f30b5
BLAKE2b-256 checksum
How to use checksums
52ecbf2e6e67658da3c20b8fc0c6efb68a6ec37f88c121ef65ef3af077fa2091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / vaquill_mcp-0.7.1-py3-none-any.whl

Download URL vaquill_mcp-0.7.1-py3-none-any.whl
Size 189.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
227d8f71d6a8494c1a9d33e396812282817159edd2c4fc3f7efdd77ffb89e2d5
BLAKE2b-256 checksum
How to use checksums
e2b8fb6b8506a1a880c58aa9facc7c220f91bb3669ba808deffb0457073bc565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for vaquill-mcp 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vaquill_mcp-0.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page