mcp-agentdocs
Fresh, source-verified docs for building MCP servers and Claude agents, served to your AI coding agent over MCP. Each document is stamped with its source URL and last-verified date.
README
agentdocs
Fresh, source-verified docs for building MCP servers and Claude agents — served straight to your AI coding agent over MCP.
Coding agents hallucinate on fast-moving APIs like the Model Context Protocol and the Claude Agent SDK: training data lags the spec, so you get plausible-but-wrong imports, deprecated patterns, and invented options. agentdocs is a local MCP server that gives your agent a curated, source-verified corpus to search instead of guessing.
- 🔎 Three tools:
list_topics,search_docs,get_doc - 📎 Every answer is attributed to its upstream source URL
- 🏠 Runs locally over stdio — no account, no hosting, no data leaves your machine
- ✅ Each doc carries a
verifiedflag set only after human review against the source
Install & connect
Requires Node.js 18+.
Claude Code
claude mcp add agentdocs -- npx -y mcp-agentdocs@latest
Cursor / other MCP clients (mcp.json)
{
"mcpServers": {
"agentdocs": {
"command": "npx",
"args": ["-y", "mcp-agentdocs@latest"]
}
}
}
Then ask your agent things like "check agentdocs for how MCP stdio handles logging" or "search agentdocs for the Streamable HTTP session header" — it will call the tools and answer from the verified corpus.
Tools
| Tool | Use it to |
|---|---|
list_topics |
See every curated doc, its topic, source URL, and verified status |
search_docs(query, topic?) |
Get ranked, source-attributed snippets for a question |
get_doc(id) |
Read the full verified markdown of one document |
What's covered (v1)
The Model Context Protocol (spec 2025-11-25) and building MCP servers / Claude agents.
Corpus grows over time; run list_topics for the current set.
Freshness
Every document records the date it was last verified against its primary source. Sources
are diffed on a regular cadence; when one drifts, the affected doc is re-verified and a new
version is published. Using mcp-agentdocs@latest (as above) keeps you on the current corpus.
See CHANGELOG.md for what changed and when.
Development
npm install
npm run build # tsc -> dist/
npm test # vitest: retrieval, manifest integrity, unicode safety
npm run ingest # refresh sources into corpus/_staging/ for human review
Curation is the point: npm run ingest fetches upstream sources for review but never
silently overwrites a curated doc — a human diffs, promotes, and sets verified: true
in corpus/manifest.json only after checking the content against its source. Run
npm run check-freshness to flag docs that have drifted or are due for re-verification.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.