# Agent Docs

> Agent Docs is a free MCP server for ai models and llm tooling. Search current Claude Code, Cursor, Codex and MCP documentation, refreshed daily. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, self-hosted, CLI
- **Repository:** https://github.com/konstantinstarovoytov/agent-docs
- **MCP Registry name:** io.github.KonstantinStarovoytov/agent-docs
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-18

## About

Agent Docs keeps about 600 pages of official documentation for Claude Code (including the Agent SDK and plugins), Cursor, OpenAI Codex and the Model Context Protocol in a search index, because these tools change faster than a model's training data. Pages are discovered from each vendor's llms.txt file, and a GitHub Actions job at 06:00 UTC re-embeds changed pages, deletes ones that vanished and holds suspicious new pages for the owner's approval.

Search blends embeddings with BM25 keyword matching, merges the lists by rank in a fixed order so repeat questions return the same results, then reranks with Cohere and keeps the best passage per page. A second tool reads a whole section when a passage is not enough. No language model runs on the server for these tools. A separate REST route writes cited answers and translates Russian and Polish questions.

Calling a tool needs either your own Cohere key, sent as a header with a limit of 30 requests a minute per IP, or a guest token from the owner. The free hosting plan means the first request after 15 idle minutes takes about a minute.

## Features

- **Hybrid search:** Combines meaning-based and exact-word matching with reranking.
- **Section reader:** Reads a full section up to 8,000 characters per call.
- **Four product sources:** Covers Claude Code, Cursor, Codex and MCP docs.
- **Daily refresh:** A scheduled job re-indexes changed pages every day.
- **REST answers:** An /ask route returns written answers with citations.

## Good for

- Check the current syntax for a Claude Code feature
- Look up how Cursor handles MCP servers
- Verify the latest MCP specification before building a server
- Give an agent grounded answers instead of stale training data

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agent-docs https://agent-docs-mcp.onrender.com/mcp/
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-docs-mcp.onrender.com/mcp/
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-docs": {
      "url": "https://agent-docs-mcp.onrender.com/mcp/"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-docs": {
      "type": "http",
      "url": "https://agent-docs-mcp.onrender.com/mcp/"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-docs": {
      "serverUrl": "https://agent-docs-mcp.onrender.com/mcp/"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-docs": {
      "type": "http",
      "url": "https://agent-docs-mcp.onrender.com/mcp/"
    }
  }
}
```

## Tools

- `search_docs`: Returns the best passage from each matching page, ranked.
- `read_section`: Reads a page outline or a whole section.

## FAQ

### Do I need a key?

Calling tools needs a Cohere key in a header or a guest token; listing tools needs neither.

### How current is it?

The index is refreshed every day at 06:00 UTC.

### Which products are covered?

Claude Code, Cursor, Codex and MCP.

### Can I run it locally?

Yes, over stdio with uv, with no token.

### Is Agent Docs free?

Yes. Agent Docs is free to use.

### How do I add Agent Docs to Claude Code?

Run this command in your terminal: claude mcp add --transport http agent-docs https://agent-docs-mcp.onrender.com/mcp/

### What are the best alternatives to Agent Docs?

The closest alternatives to Agent Docs are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/agent-docs
