# Vaquill

```json
{
  "name": "Vaquill",
  "slug": "vaquill",
  "url": "https://composio.dev/toolkits/vaquill",
  "markdown_url": "https://composio.dev/toolkits/vaquill.md",
  "logo_url": "https://logos.composio.dev/api/vaquill",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-10-08T05:31:38.838Z"
}
```

![Vaquill logo](https://logos.composio.dev/api/vaquill)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Vaquill MCP or direct API to search US statutes, conduct legal research, resolve citations, and monitor board changes through natural language.

## Summary

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.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 31

## Images

- Logo: https://logos.composio.dev/api/vaquill

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Vaquill.
  - Setup:
    - Configure Api Key credentials for Vaquill.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Search US statutes on a legal question
- Resolve citations for a court filing
- Check Vaquill credits and board-change watches

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `VAQUILL_BROWSE_STATUTE_DIVISIONS` | Browse Statute Divisions | Browse one level of a statutory hierarchy at a time. Costs 1 credit per page. |
| `VAQUILL_COMPARE_STATUTE_CROSS_STATE` | Compare Statute Cross State | Find the top analogous statutory provisions in other states for one state statute section. Costs 6 credits and supports state-statute sections only. |
| `VAQUILL_COUNT_STATUTE_SECTIONS` | Count Statute Sections | Count exact sections in a legal corpus scope before enumeration. Costs 1 credit and does not perform text search. |
| `VAQUILL_CREATE_BOARD_WATCH` | 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. Email works on every documented plan; webhook and both require Business. The watch cap is 3 outside Business and 100 on Business, and duplicate board/channel/scope combinations return a conflict. |
| `VAQUILL_DELETE_BOARD_WATCH` | Delete Board Watch | Permanently delete a board watch and all of its delivery history. This cannot be undone. Pause the watch instead when its configuration or history must be retained. This endpoint is free. |
| `VAQUILL_GET_ADJACENT_STATUTE_SECTIONS` | Get Adjacent Statute Sections | Get the immediately adjacent sections before and after a statute section in statutory order. Costs 2 credits. |
| `VAQUILL_GET_API_CREDIT_PRICING` | Get API Credit Pricing | Get Vaquill's live credit conversion, purchase bounds, and per-operation prices without authentication or credit consumption. |
| `VAQUILL_GET_BOARD_WATCH_CHANGE_DIFF` | Get Board Watch Change Diff | Get complete old and new section text for one exact observed watch change. Call only for a change returned with has_diff=true. This is the alerts family's only metered route and normally costs 4 credits. Vaquill refunds the call when an amended change is missing either side, its resolved sides are identical, or no text resolves. |
| `VAQUILL_GET_CREDIT_BALANCE` | Get Credit Balance | Get the connected Vaquill account's spendable credits, USD balance, expiries, plan, lifetime usage, and applied request limits. This read is free and does not consume credits. |
| `VAQUILL_GET_SESSION_LAW` | Get Session Law | Get complete metadata for one US state session law by provider ID or citation. An exact provider ID costs 2 credits; citation input may also incur Vaquill's separate citation-resolution surcharge. |
| `VAQUILL_GET_SESSION_LAW_BODY` | Get Session Law Body | Get one page of a US state session law's text, with character offsets, text hash, and amendatory-markup metadata. Vaquill charges 6 credits per served page. Unavailable text is not charged; not-found, stale-cursor, and server failures are not charged or are refunded. |
| `VAQUILL_GET_SESSION_LAWS_BATCH` | Get Session Laws Batch | Get up to 50 distinct US state session laws by provider ID or citation. Vaquill charges 2 credits per law served; each citation also costs 2 resolution credits when a verdict is produced. include_body adds 6 credits per first body page served. Misses incur no batch-route charge. Validation errors are uncharged; provider 500/503 failures and resolution charges for session_not_fully_collected or lookup errors are refunded. |
| `VAQUILL_GET_STATUTE_BODY` | Get Statute Body | Get full statute text in a selected format, optionally with a subsection tree or point-in-time reconstruction. Costs 6 credits when text is returned. Ordinary unavailable text and fetch failures are refunded. Historical available:false answers are charged when the section did not yet exist or a stored-edition date is outside held coverage; unavailable observed-change reconstructions are refunded. |
| `VAQUILL_GET_STATUTE_CITED_BY` | Get Statute Cited By | Find the top USC and CFR sections that cite a statute section. Costs 2 credits; results are bounded by limit and are not pageable. |
| `VAQUILL_GET_STATUTE_DEFINITIONS` | Get Statute Definitions | Get chapter definitions governing a statute section. Costs 4 credits; no-definition and failed lookups are refunded. |
| `VAQUILL_GET_STATUTE_ENACTMENTS` | Get Statute Enactments | Get state session laws whose publisher affected-sections tables print this exact code section. This is not complete amendment history. Supported existing sections cost 1 credit, including empty answers; unsupported or missing sections and provider 500/503 failures are uncharged or refunded. Citation input adds the 2-credit resolution charge. Results are capped at the newest 200 with no continuation; inspect truncated and coverage. |
| `VAQUILL_GET_STATUTES_COVERAGE` | Get Statutes Coverage | Return Vaquill's authoritative live jurisdiction and corpus coverage matrix before choosing statute search filters. This discovery call costs no credits. |
| `VAQUILL_GET_STATUTE_SECTION` | Get Statute Section | Get metadata and source links for one US statute section by canonical section ID or resolvable citation. Costs 2 credits for an exact ID; citation input also incurs Vaquill's citation-resolution charge. |
| `VAQUILL_GET_STATUTE_SECTIONS_BATCH` | Get Statute Sections Batch | Get metadata for up to 50 statute sections in input order, with optional full text. Costs 2 credits per section returned, plus the ordinary body charge for each included body; unresolved identifiers are refunded. |
| `VAQUILL_LIST_BOARD_WATCH_CHANGES` | List Board Watch Changes | List sections observed as added, amended, or removed on a watched source. History is capture-bounded, retained for five years, and this call is free. |
| `VAQUILL_LIST_BOARD_WATCH_DELIVERIES` | List Board Watch Deliveries | List the newest persisted webhook delivery attempts and current delivery health for a board watch. History is retained for 90 days and this bounded limit-only endpoint has no second page. Email-only watches return no attempts, and synthetic test deliveries are excluded. The read is free, but meaningful history requires a webhook or both-channel watch, which requires Vaquill Business. |
| `VAQUILL_LIST_BOARD_WATCHES` | List Board Watches | List board watches owned by the connected Vaquill API-key account, including delivery destination, active state, and latest health metadata. Costs no credits. |
| `VAQUILL_LIST_SESSION_LAW_CHANGES` | List Session Law Changes | List one oldest-first page of changes to Vaquill's state session-law registry for incremental synchronization. Costs 1 credit per page, including an empty page; validation failures are not charged and provider failures are refunded. |
| `VAQUILL_LIST_SESSION_LAWS` | List Session Laws | List one page of a state's session laws with session, date, text-availability, and instrument filters. Costs 1 credit per page. Empty pages are refunded when coverage reports a wholly partial or not-held collection; complete and partly complete jurisdiction pages are charged. |
| `VAQUILL_LIST_STATUTE_CHANGES` | List Statute Changes | List capture-bounded observed change history for a statute section. This is not complete legislative history. Costs 1 credit per page. |
| `VAQUILL_LIST_WATCHABLE_BOARDS` | List Watchable Boards | List corpus sources that can be watched, including freshness, polling cadence, retrieval health, and supported scope filters. Costs no credits. |
| `VAQUILL_RESOLVE_STATUTE_CITATION` | Resolve Statute Citation | Resolve one Bluebook citation to an exact statute section. Costs 2 credits whether or not it resolves. |
| `VAQUILL_RESOLVE_STATUTE_CITATIONS_BATCH` | Resolve Statute Citations Batch | Resolve up to 50 unique Bluebook citations in one call from a raw list of up to 500 entries. Duplicates are collapsed, and each unique citation costs 2 credits. |
| `VAQUILL_SEARCH_US_STATUTES` | 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. Costs 4 credits, plus 6 credits for each full body returned. |
| `VAQUILL_TEST_BOARD_WATCH` | Test Board Watch | Send one synthetic delivery through a board watch's configured channel immediately. This external side effect is limited to one test per watch every 30 seconds, is not saved in delivery history, and does not change the watch's real last-notified state. |
| `VAQUILL_UPDATE_BOARD_WATCH` | Update Board Watch | Partially update a Vaquill board watch without changing its delivery channel. Omitted fields remain unchanged. Pause/resume and email updates are available on all plans; webhook destination, signing, and outbound-auth updates require Vaquill Business. This endpoint is free. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Vaquill
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["vaquill"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["vaquill"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Vaquill tools with your agent

Send a request, execute the Vaquill tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Search US statutes for the current federal requirements related to paid family leave"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search US statutes for the current federal requirements related to paid family leave" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Vaquill and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["vaquill"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["vaquill"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Vaquill request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Vaquill tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Search US statutes for the current federal requirements related to paid family leave")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search US statutes for the current federal requirements related to paid family leave",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Vaquill Integration

- Supports both Vaquill MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable statute searches and citation resolution
- Rich coverage for legal research, credit usage, and board-change watches

### 2. Managed Auth

- Securely stores your Vaquill API keys and uses them for tool requests
- Central place to manage, scope, and revoke Vaquill access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Vaquill
- Scoped, least privilege access to Vaquill legal data and monitoring tools
- Full audit trail of agent actions to support review and compliance

## Use Vaquill with any AI Agent Framework

Choose a framework you want to connect Vaquill with:

- [ChatGPT](https://composio.dev/toolkits/vaquill/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/vaquill/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/vaquill/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/vaquill/framework/atomic-agent)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Authyo](https://composio.dev/toolkits/authyo) - Authyo is a REST API service for passwordless authentication, OTP verification, session management, and transactional notifications. Use it to add secure login flows and user verification without building auth infrastructure from scratch.
- [AWS Marketplace MCP](https://composio.dev/toolkits/aws_marketplace_mcp) - AWS Marketplace MCP provides MCP access to AWS Marketplace's cloud software, data, and services catalog. Use it to discover, compare, and evaluate 30K+ AWS Marketplace listings faster.
- [Azure Monitor Activity Log](https://composio.dev/toolkits/azure_monitor_activity_log) - Azure Monitor Activity Log is Azure's service that records management and control-plane events for a subscription. Use it to audit changes, troubleshoot issues, and track resource operations across your Azure resources.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.

## Frequently Asked Questions

### Do I need my own developer credentials to use Vaquill with Composio?

Yes, Vaquill requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
