Agent integration

Use Savants from any AI agent.

Savants exposes 87 tools over MCP: code graph, callers, blast radius, dead-code candidates, runtime state, and Guard. Use the remote server with an API key, or run the local server with no key.

Remote MCP

One URL. Any MCP client that supports Streamable HTTP works.

https://api.savants.cloud/mcp
Authorization: Bearer sk_live_...

Create a key at savants.cloud/dashboard/keys. The machine-readable manifest is /.well-known/mcp.json.

Claude Code

claude mcp add --scope user --transport http savants \
  https://api.savants.cloud/mcp \
  --header "Authorization: Bearer sk_live_..."

Any MCP client

Use this JSON shape in Claude Desktop, Cursor, Windsurf, Codex, Gemini CLI, OpenCode, or your own agent runtime.

{
  "mcpServers": {
    "savants": {
      "type": "http",
      "url": "https://api.savants.cloud/mcp",
      "headers": { "Authorization": "Bearer sk_live_..." }
    }
  }
}

Local, no API key

curl -fsSL https://savants.dev/install.sh | sh
savants serve

Then point any stdio MCP client at savants serve. Index the repo once with savants reindex for cloud graph queries.

Discovery files