LabscoMCP early access ↗
langchain-aiMCP SERVER · OFFICIAL PROJECT

mcpdoc — llms.txt Documentation Server

Points an assistant at a project's llms.txt so it reads today's docs instead of what it remembers.

by langchain-ai ↗Framework & SDK Documentation Lookup✓ Official

No longer maintained. The GitHub repository for this server is archived — no fixes or security updates are expected.

View project ↗

LABSCO SUMMARY

The source list is the whole configuration.

What the assistant can look up is exactly the set of llms.txt URLs you pass at launch, which makes it predictable: add the libraries your project depends on and it will read their current pages, and it will not wander further. Adding a library later means editing the client entry rather than anything inside the server.

What it is

LangChain's MCP server for documentation published through llms.txt. An llms.txt file is published by a site the way robots.txt is, listing its URLs with descriptions — this reads those lists so an agent can pull the current page rather than answering from training data.

What you get

  • Documentation sources named at launch, each as a label and an llms.txt URL — the README's example pairs LangGraph:https://langchain-ai.github.io/langgraph/llms.txt with LangChain:https://python.langchain.com/llms.txt
  • Several sources in one server, so an assistant can reach across the libraries a project actually uses
  • The URL breakdown and descriptions that llms.txt carries, which is what lets the right page be chosen before it is fetched
  • Two tools used in order — list_doc_sources names the llms.txt files you passed, and fetch_docs reads one and then the pages it links to, only on those files' domains unless --allowed-domains adds more

Requirements

uv installed, so uvx can fetch and run the mcpdoc package from PyPI — no clone is needed. The client entry runs uvx --from mcpdoc mcpdoc with a --urls list of name:URL pairs. No key is involved. A local llms.txt file works too, but it allows no domain until you name one with --allowed-domains.

Setup effort

Add the configuration to your client