Skip to main content
The Kleros documentation site exposes an MCP (Model Context Protocol) server that lets AI coding assistants - Claude, Cursor, VS Code Copilot, and others - query these docs directly as context when you are building a Kleros integration. This means your AI assistant can answer questions like “what is the correct extraData encoding for V2?” or “show me the IArbitrableV2 interface” by reading the authoritative docs rather than relying on training data that may be outdated.

MCP Server URL

The MCP server exposes the full content of the Kleros documentation in a format that MCP clients can query with natural language.

Setup Instructions

Run this from any directory (installs globally):
Or add it manually to ~/.claude/settings.json:
Once connected, Claude Code can answer Kleros integration questions inline while you code.

What You Can Ask

Once connected, your AI assistant has access to the full Kleros documentation. Useful prompts when building integrations:

LLM-Friendly Endpoints

In addition to the MCP server, the docs site exposes two flat-file endpoints for LLM consumption: These are useful for one-shot context loading in systems that don’t support MCP, such as custom LLM pipelines or RAG systems.

Contextual AI on Every Page

Every documentation page includes a context-aware AI button in the top-right corner. Click the Ask AI button (or press the relevant keyboard shortcut) to open a chat that has the current page as context. The page-level AI understands the specific section you are reading and can answer follow-up questions without you needing to copy-paste content.
The MCP server content is rebuilt on every documentation deploy. You always get the latest version of the docs, including the most recent contract addresses, API changes, and integration patterns.
If you find the AI giving outdated answers (e.g., wrong contract addresses or deprecated patterns like arbitrumGoerliToChiadoDevnet), the most likely cause is that it is answering from training data rather than from the MCP server. Verify MCP is connected and ask the AI to re-check using the docs.