How to integrate Vaquill MCP with Atomic Agent

Connect Atomic Agent to Vaquill MCP. Search us statutes on a legal question, resolve citations for a court filing, and more using natural language, with authentication handled for you.

Vaquill logoVaquill
Api Key

Vaquill is an API for US statutes, legal research, citation resolution, and legal monitoring. It helps developers access structured legal data and automate research workflows.

31 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Vaquill.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Vaquill account. See the Atomic Agent documentation for installation instructions.

Also integrate Vaquill with

How Atomic Agent connects to Vaquill

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Vaquill to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Vaquill. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Vaquill account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Vaquill MCP server, and what's possible with it?

The Vaquill MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Vaquill account. It provides structured and secure access to US statutes, legal research, citation resolution, session laws, and board-change watches, so your agent can search legal sources, resolve citations, retrieve statute text, compare provisions across states, and monitor legal changes on your behalf.

  • Legal research and statute search: Have your agent search statutes, regulations, constitutions, court rules, executive actions, Federal Register materials, agency guidance, adjudications, sentencing guidelines, tax treaties, and session laws.
  • Citation resolution and statute details: Direct your agent to resolve Bluebook citations, retrieve statute sections and full text, find definitions and cited-by references, and identify related enactments.
  • Cross-state legal comparisons: Let the agent compare a statute section with analogous provisions in other states and retrieve adjacent sections for additional context.
  • Session law research: Instruct your agent to list and inspect state session laws, retrieve their text, review metadata, and track changes to the session-law registry.
  • Legal change monitoring: Have your agent discover watchable legal sources, create and manage board watches, list observed changes and delivery attempts, inspect change diffs, and send test notifications.

Use Vaquill from Atomic Agent

With your account connected, ask Atomic Agent to work with Vaquill in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Vaquill action and event your agent gets out of the box.

Browse Statute Divisions

Browse one level of a statutory hierarchy at a time.

Compare Statute Cross State

Find the top analogous statutory provisions in other states for one state statute section.

Count Statute Sections

Count exact sections in a legal corpus scope before enumeration.

Create Board Watch

Create an active email, webhook, or dual-channel watch that immediately begins monitoring a legal corpus source and may send future external email or webhook notifications until paused or deleted.

Delete Board Watch

Permanently delete a board watch and all of its delivery history.

Get Adjacent Statute Sections

Get the immediately adjacent sections before and after a statute section in statutory order.

Get API Credit Pricing

Get Vaquill's live credit conversion, purchase bounds, and per-operation prices without authentication or credit consumption.

Get Board Watch Change Diff

Get complete old and new section text for one exact observed watch change.

Get Credit Balance

Get the connected Vaquill account's spendable credits, USD balance, expiries, plan, lifetime usage, and applied request limits.

Get Session Law

Get complete metadata for one US state session law by provider ID or citation.

Get Session Law Body

Get one page of a US state session law's text, with character offsets, text hash, and amendatory-markup metadata.

Get Session Laws Batch

Get up to 50 distinct US state session laws by provider ID or citation.

Get Statute Body

Get full statute text in a selected format, optionally with a subsection tree or point-in-time reconstruction.

Get Statute Cited By

Find the top USC and CFR sections that cite a statute section.

Get Statute Definitions

Get chapter definitions governing a statute section.

Get Statute Enactments

Get state session laws whose publisher affected-sections tables print this exact code section.

Get Statutes Coverage

Return Vaquill's authoritative live jurisdiction and corpus coverage matrix before choosing statute search filters.

Get Statute Section

Get metadata and source links for one US statute section by canonical section ID or resolvable citation.

Get Statute Sections Batch

Get metadata for up to 50 statute sections in input order, with optional full text.

List Board Watch Changes

List sections observed as added, amended, or removed on a watched source.

List Board Watch Deliveries

List the newest persisted webhook delivery attempts and current delivery health for a board watch.

List Board Watches

List board watches owned by the connected Vaquill API-key account, including delivery destination, active state, and latest health metadata.

List Session Law Changes

List one oldest-first page of changes to Vaquill's state session-law registry for incremental synchronization.

List Session Laws

List one page of a state's session laws with session, date, text-availability, and instrument filters.

List Statute Changes

List capture-bounded observed change history for a statute section.

List Watchable Boards

List corpus sources that can be watched, including freshness, polling cadence, retrieval health, and supported scope filters.

Resolve Statute Citation

Resolve one Bluebook citation to an exact statute section.

Resolve Statute Citations Batch

Resolve up to 50 unique Bluebook citations in one call from a raw list of up to 500 entries.

Search US Statutes

Search US statutes and regulations, constitutions and court rules, executive actions and Federal Register materials, agency guidance and adjudications, sentencing guidelines, tax treaties, and session laws with semantic and keyword matching.

Test Board Watch

Send one synthetic delivery through a board watch's configured channel immediately.

Update Board Watch

Partially update a Vaquill board watch without changing its delivery channel.

FAQ

Frequently asked questions

With a standalone Vaquill MCP server, the agents and LLMs can only access a fixed set of Vaquill tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Vaquill and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Vaquill tools.

Yes, absolutely. You can configure which Vaquill scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Vaquill data and credentials are handled as safely as possible.

Start with Vaquill.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Vaquill tool your agent needs.Free to start.

Start building