DocsQuick start

Connect an agent to the law

One MCP server and one HTTP API over every jurisdiction we hold. Six read-only tools answer with the official wording and where it came from. No key is needed to try it.

1. Connect

The server speaks streamable HTTP at https://api.pandex.io/mcp. Paste one of these and ask your agent a question about the law.

claude mcp add --transport http pandex https://api.pandex.io/mcp

In Claude on the web or the desktop: Settings, Connectors, Add custom connector, and the address above.

2. Get a key when you need more

Without a key one address may ask 50 times a day. A key is free and allows 1,000 requests a day and 60 a minute. Send it as Authorization: Bearer YOUR_KEY; X-API-Key and ?key= work too.

claude mcp add --transport http pandex https://api.pandex.io/mcp \
  --header "Authorization: Bearer YOUR_KEY"

3. The tools

Over MCP they are tools; over HTTP the same six are operations under /v1 with the same arguments. Each has a page with its arguments and a request to copy.

How a text is named

Every result carries an id in square brackets, written id#element: eu.legislation:32016R0679#art_17 is article 17 of the GDPR. Pass it to the other tools as it is.

  • Where a tool takes an id, a citation works too: an ECLI, a CELEX number, BGB, art. 6:162 BW.
  • An element is an article, a paragraph of a judgment or a chapter. Name it by its id (art_823) or by its number as written (823).
  • at reads a law as it stood on a day; lang picks the language of a text that exists in several.
  • An answer is cut to max_tokens (200 to 8,000, 1,500 unless you say otherwise) and says how to read on.

Next