langchain-ai/mcpdoc
An MCP server that exposes llms.txt documentation to AI coding assistants for context-aware development assistance.

This repository provides a Model Context Protocol (MCP) server that allows AI coding tools like Claude Code, Cursor, and Windsurf to retrieve and process documentation from llms.txt files. The server exposes a fetch_docs tool that reads URLs listed in llms.txt indexes, giving users full visibility and control over which documentation context is provided to AI assistants. It integrates with LangGraph and LangChain documentation to demonstrate the retrieval workflow.