MCP AI Docs
Provides indexed, searchable access to Google Gemini documentation, including full-text search and page fetching.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP AI Docs search for streaming in Anthropic docs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP AI Docs
An MCP (Model Context Protocol) server that provides indexed, searchable access to Anthropic Claude and Google Gemini documentation.
Features
Full-text search across both documentation sources with fuzzy matching
Playwright-powered crawling for JavaScript-rendered pages (Anthropic)
TTL-based caching with memory and file layers
4 MCP tools: search_docs, fetch_page, list_sections, refresh_index
Related MCP server: Whoosh RAG MCP
Installation
npm install
npx playwright install chromium
npm run buildUsage with Claude Desktop
Add to your Claude Desktop config (~/.config/claude-desktop/claude_desktop_config.json):
{
"mcpServers": {
"ai-docs": {
"command": "node",
"args": ["/path/to/mcp-ai-docs/dist/index.js"]
}
}
}MCP Tools
search_docs
Search across all indexed documentation.
{
"query": "streaming",
"platform": "all",
"limit": 10,
"fuzzy": true
}fetch_page
Fetch full content of a specific documentation page.
{
"url": "https://ai.google.dev/gemini-api/docs/function-calling",
"format": "markdown"
}list_sections
List available documentation sections by platform.
{
"platform": "all"
}refresh_index
Rebuild the documentation index.
{
"platform": "all",
"force": false
}Documentation Sources
Platform | Pages | Method | Speed |
Anthropic | 532 | Playwright (JS-rendered) | ~2.5s/page |
Gemini | 70 | HTTP (server-rendered) | ~0.6s/page |
Project Structure
src/
├── index.ts # Entry point
├── server.ts # MCP server setup
├── config.ts # Configuration
├── cache/ # TTL caching (memory + file)
├── crawlers/ # Sitemap parsing, page fetching
├── indexer/ # MiniSearch wrapper
├── tools/ # MCP tool implementations
└── utils/ # HTML parsing, rate limitingLicense
MIT
Available Tools
4 toolsfetch_pageA
Fetch the full content of a specific documentation page from Anthropic or Gemini docs. Returns content in the requested format.
Inputs: url (required), format.
list_sectionsA
List available documentation sections organized by platform. Shows section names, page counts, and subsections.
Inputs: platform.
refresh_indexA
Refresh the documentation search index by re-crawling documentation sites. Use force=true to bypass cache.
Inputs: force, platform.
search_docsA
Search across Anthropic Claude and Google Gemini documentation with fuzzy matching. Returns ranked results with snippets.
Inputs: query (required), fuzzy, limit, platform.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool serves a clearly distinct purpose: searching, fetching, browsing structure, and maintaining the index. There is no overlap or ambiguity between the tools.
All tools follow a consistent verb_noun snake_case pattern: search_docs, fetch_page, list_sections, refresh_index. The naming style is uniform and predictable.
Four tools is a well-scoped set for a documentation assistant. Each tool covers a necessary function without redundancy or bloat.
The tool set covers the full documentation workflow: discover sections, search for relevant content, retrieve full pages, and refresh the index. There are no obvious dead ends or missing core operations for its stated purpose.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for agentverse documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides full-text search over documentation using Whoosh, enabling AI assistants to find up-to-date, authoritative answers.MIT
- AlicenseAqualityDmaintenanceAn MCP server that serves documentation and enables AI-powered search, Q\&A, and document analysis for developer tools and guides.54MIT
- AlicenseNot gradedqualityBmaintenanceA multi-tenant MCP server that indexes documentation from websites, git repositories, and local folders, and exposes them to AI clients via search and fetch tools.2MIT