Skip to main content
Glama
cartek99

MCP AI Docs

by cartek99

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 build

Usage 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 limiting

License

MIT

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

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