GUIDES
Build an AI agent
LegalData is built to be called by an LLM. Drop it into Claude with the MCP server, or describe each tool to your own agent loop.
Option 1 — Claude (recommended)
The fastest path. One Bearer token gets you 10 tools wired in — search, full text, translation, coverage, changes. See the MCP install guide.
Option 2 — Your own agent
Describe each /v2/* endpoint as a tool to your LLM. The SDK ships typed signatures you can pipe directly into function-calling.
Patterns: hybrid search first, then get_document for the top hits; translate before searching when the source language is non-Latin; surface advisory_disclaimer verbatim on customs / compliance answers.
More patterns and prompt templates coming soon.