Skip to content

Use These Docs

There are three practical ways to let an AI agent use these docs. Pick one based on whether you want a one-time read, reusable MCP tools, or local memtomem search.

NeedUseSuccess check
Give an agent one page or the full corpusllms.txt URLthe client fetches the requested text
Let an agent search docs through MCPlocal mcpdoc serverlist_doc_sources then fetch_docs returns a page
Search the docs from your local memory indexmm indexmem_search returns a memtomem.com source

LLM-friendly documentation indexes, generated statically at build time.

FilePurpose
/llms.txtIndex — lists the available doc sets
/llms-full.txtThe entire documentation in one file
/llms-small.txtAbridged version for small context windows

Most tools — Claude, ChatGPT, Cursor — can fetch these URLs directly.

mcpdoc is an open-source MCP server that exposes llms.txt as MCP tools. It runs on your machine — no hosting required — and your agent searches the memtomem docs through its list_doc_sources and fetch_docs tools.

Terminal window
# install uv (skip if you already have it)
curl -LsSf https://astral.sh/uv/install.sh | sh
Terminal window
uvx --from mcpdoc mcpdoc --urls "memtomem:https://memtomem.com/llms.txt" --transport stdio
Terminal window
claude mcp add memtomem-docs -s user -- \
uvx --from mcpdoc mcpdoc --urls "memtomem:https://memtomem.com/llms.txt" --transport stdio

Cursor · Windsurf · Antigravity · other MCP clients

Section titled “Cursor · Windsurf · Antigravity · other MCP clients”

Add it to your MCP config file.

{
"mcpServers": {
"memtomem-docs": {
"command": "uvx",
"args": ["--from", "mcpdoc", "mcpdoc", "--urls", "memtomem:https://memtomem.com/llms.txt", "--transport", "stdio"]
}
}
}

Codex CLI and other stdio MCP clients register the same command / args.

If your agent doesn’t reach for the tools automatically, add a line to its rules / system prompt:

For memtomem questions, use the memtomem-docs MCP server — call list_doc_sources first, then fetch_docs to read the relevant pages.

The connection is verified only after both tools succeed. Seeing memtomem-docs in a client list without fetching a page is not an end-to-end check.

memtomem is itself a memory MCP server, so you can index the docs and run hybrid search over them:

Terminal window
curl -sL https://memtomem.com/llms-full.txt -o memtomem-docs.md
mm index ./memtomem-docs.md

Your agent then finds answers with mem_search. See Hybrid Search.