Search and read one or more public MkDocs sites through a single HTTP MCP endpoint using their published search indexes.
MkDocs MCP is a read-only Model Context Protocol server for public MkDocs documentation. Configure one or more sites with MKDOCS_MCP_SITES. The server fetches each site's published search/search_index.json, builds a BM25 index over document sections, and returns relevant results with source site names and links to the original pages. MCP clients can search, list pages, read indexed page text and sections, find runbooks or examples, and get page outlines for summaries. The server refreshes indexes periodically and keeps the last good content for a site if a refresh fails. It serves Streamable HTTP at /mcp without MCP client authentication, with optional rate limiting, health checks, and Prometheus metrics. Deployment examples include Docker and a Helm chart. Page content comes from the published search index, so original Markdown, Git authors, Git history, and pages excluded from the index are unavailable.