MCP AI Docs
Provides indexed, searchable access to Google Gemini documentation, including full-text search and page fetching.
Click on "Install 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 Docssearch 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: mcp-docs
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cartek99/mcp-ai-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server