Primary Law
A plugin that gives Claude 6M+ sections of US primary law, each from an official government source, and teaches it how to read them honestly.
Then set VAQUILL_API_KEY and restart. Full setup below.
What the plugin adds
- One MCP server. The full API as tools.
- A research skill. Judgment a tool schema cannot carry.
- Ten commands. One per workflow shape.
The commands
/primary-law:researchFind the controlling law on a question and answer only from the text the tools return.
/primary-law:verify-citationsCheck every citation in a document against the official text, and flag anything no longer good law.
/primary-law:compare-statesHow different states word the same rule, starting from one provision or a topic.
/primary-law:as-ofA section as it stood on a past date, with provenance saying how far that reconstruction can be trusted.
/primary-law:authorityTrace a statute to the regulations that implement it, in either direction.
/primary-law:rulemakingTrack a Federal Register rulemaking: what was proposed, what became final, and when comments close.
/primary-law:guidanceFederal agency guidance on a topic, and what weight it does and does not carry.
/primary-law:adjudicationsFederal administrative decisions, with the overruling caveat stated up front.
/primary-law:changedOne-off sweep of what moved in a corpus since a date.
/primary-law:coverageWhat we actually hold for a jurisdiction, before you read an empty result as an absence of law.
Why the skill matters more than the tools
Four failures it exists to prevent.
Identifiers come from the API, never from a citation
Hand-built ids usually 404 and read like missing coverage. The skill resolves every citation first.
On the US Code, the body is mostly not the law
Operative text is a median 46% of a USC section body, as little as 3.4% on 17 U.S.C. § 107. The skill fetches it split out.
Unverified is not the same as current
"Unknown" means no reliable repeal signal, not that the provision is fine.
An empty result is not an absence of law
Coverage is per jurisdiction and corpus. The skill checks what is held first.
Setup
- 1
Install the plugin
/plugin marketplace add Vaquill-AI/vaquill-plugin /plugin install primary-law@vaquill
- 2
Get an API key
Create one in the dashboard. Shown once, prefixed
vq_key_. - 3
Put it in ~/.zshenv, not ~/.zshrc
echo 'export VAQUILL_API_KEY="vq_key_YOUR_KEY"' >> ~/.zshenv chmod 600 ~/.zshenv
Then quit Claude Code and relaunch. Environment is read once, at start.
- 4
Prove it works with one call
A green connection proves nothing about the key. Ask for something free.
"Use Vaquill AI to list statutes coverage for California."
Claude.ai, Desktop and Cowork
No install, no API key. Add a custom connector and sign in.
In Customize → Connectors → Add custom connector, use this URL. Leave the OAuth fields empty.
https://mcp.vaquill.ai/mcp
Calls bill to the same API credit balance as an API key.
What this is not
- No case law in the commands. They read enacted and promulgated text. Case law is served by the case law API.
- United States only. Other jurisdictions return nothing, reported as out of scope.
- Not a citator. Currency comes from the publisher's own signal, else reported as unverified.
Calls are metered in API credits. Discovery is free. See coverage.
Give Claude the law, and the judgment to read it.
Install the plugin, or build directly on the same API behind it.