Skip to main content

LLMs

Mercur documentation is optimized for Large Language Models using the llms.txt standard. This gives AI tools a structured map of all documentation — so they can answer technical questions accurately instead of guessing. Think of it like a sitemap, but for AI: a machine-readable file that describes what documentation exists, how it’s organized, and where to find specific topics.
This page is for chat assistants and hosted tools (Claude, ChatGPT). If you’re using a coding agent inside a Mercur project, prefer the version-matched docs bundled in node_modules/@mercurjs/docs/ — see Building with AI.

Available files

llms.txt

A structured index of all Mercur documentation pages with descriptions and links.
Use this when your AI tool supports llms.txt natively or when you want to give it an overview of what’s available without sending the full content.

llms-full.txt

The entire Mercur documentation compiled into a single plain-text file.
Use this when you want to give an LLM the complete context in one shot — ideal for complex questions that span multiple topics.

How to use

  1. Open Claude and create a new Project
  2. In project knowledge, add a URL: https://docs.mercurjs.com/llms-full.txt
  3. Claude now has full Mercur documentation context in every conversation within that project
Both files are auto-generated and always reflect the latest documentation. No maintenance required.

When to use llms.txt vs MCP

For the best experience, use the MCP server if your tool supports it. Fall back to llms.txt when MCP isn’t available.