
llms.txt for agents
io.github.ux-xdPublished by GitHub account ux-xdv0.1.1Updated Oct 27, 2026
Any site's llms.txt: find the covering index, read its linked docs as markdown, search sections.
Overview
Remote MCP server that finds a site's llms.txt index, returns its linked docs pages as markdown, and searches parsed indexes.
- What you can do
- Find and parse the llms.txt covering a site or page URL, with every discovery step reported
- Read a linked docs page as markdown, paginated by character offset
- Search previously parsed llms.txt indexes by section heading, link title and notes, optionally limited to one site
- When to use it
- Use it when the user needs a product's or library's own documentation and the site may publish llms.txt: find the index first, then read the pages it links. Also useful when you already have a docs URL and want markdown instead of HTML.
- Requirements
- A remote Streamable HTTP endpoint; no account, API key or authentication. Every tool call requires a task_context sentence describing the user's goal. Network access to the target sites is needed.
Installation
In SourceWeft
- Open llms.txt for agents in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.ux-xd%2Fllms-txt/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"llms-txt-for-agents": {
"type": "http",
"url": "https://llmstxtmcp.dev/mcp"
}
}
}README
llms.txt for agents
Any site's llms.txt: find the covering index, read its linked docs as markdown, search sections. Remote MCP server over Streamable HTTP at
https://llmstxtmcp.dev/mcp. Free, no API key. Tools:llms_index,llms_page,llms_search. The tool list is fixed per version.
Given any site or page URL, llms_index discovers the llms.txt that covers it (root, redirects, Link: rel="describedby" advertisements, subpath files with most-specific-wins), parses it into the v2 structure (title, summary, H2 sections of title: notes links, the Optional section) and reports every rung it tried, so a miss is as informative as a hit. llms_page returns any linked page as markdown by content negotiation (Accept: text/markdown), rel="alternate" markdown mirrors, the .md / .html.md / index.md conventions, or a bounded HTML-to-markdown conversion, paginated by character offset. llms_search navigates every index this server has parsed so far by section heading, link title and notes. Free, keyless, no account; the server keeps only the parsed indexes it has seen.
Use when: The user needs a product's or library's own documentation and the site may publish llms.txt: call llms_index with the site first, then llms_page on the links it returns. Use llms_page directly when you already hold a docs URL and want it as markdown instead of HTML.
Not for: General web scraping or crawling (one fetch per rung, never link-following), pages behind logins, generating or auditing a site's own llms.txt, or searching the whole web for documentation.
Quick install (Claude Code): claude mcp add --transport http llms-txt https://llmstxtmcp.dev/mcp -s user
Live server: https://llmstxtmcp.dev
Docs
- Full reference: every tool with its JSON input schema and an example
- Install for any client: Claude Code, Cursor, VS Code, Claude Desktop, ChatGPT, Codex, Gemini CLI, Windsurf, Cline, Continue, Zed
- OpenAPI twin: the same tools as plain HTTP POST endpoints
- Registry server.json: machine-readable server record
- Server card: transport + tool card (also at https://llmstxtmcp.dev/.well-known/mcp.json, SEP-1960)
- ARD manifest: Agentic Resource Discovery entry (also at https://llmstxtmcp.dev/.well-known/ai-catalog.json)
Upstreams
- The /llms.txt file (v2 spec): keyless
- Markdown for Agents (Accept: text/markdown negotiation): keyless
Optional
Tools
Every tool takes task_context: one sentence on what the user is trying to do. It is required.
llms_index
Find and parse the llms.txt that covers a site or page URL: title, summary, H2 sections of title links with notes, the Optional section, and (HEAD-probed only) whether an llms-full.txt exists. Use first, before llms_page, whenever the user needs a product or library's own docs; every rung tried is returned so a miss is diagnosable.
Input schema:
Example arguments:
llms_page
Return one docs page as markdown, paginated: tries Accept: text/markdown negotiation, the page's rel="alternate" markdown mirror, the .md / .html.md / index.md conventions, then a bounded HTML-to-markdown conversion. Use on the URLs llms_index returns, or on any docs URL you already hold.
Input schema:
Example arguments:
llms_search
Search the llms.txt indexes this server has parsed (section headings ×3, link titles ×2, notes ×1) and get the matching docs links with their covering index; pass site to search one site (it is indexed on demand). Use to jump straight to the right page of a docs set instead of reading the whole index.
Input schema:
Example arguments:
Install
Endpoint: https://llmstxtmcp.dev/mcp (Streamable HTTP, MCP 2026-07-28 with 2025-era fallback). Authentication: none.
Claude Code
Cursor (~/.cursor/mcp.json)
VS Code / Copilot (user mcp.json)
or code --add-mcp '{"name":"llms-txt","type":"http","url":"https://llmstxtmcp.dev/mcp"}'
Claude Desktop / claude.ai
Settings → Connectors → Add custom connector → URL https://llmstxtmcp.dev/mcp, Authentication: None.
ChatGPT
Settings → Connectors → Add custom connector → https://llmstxtmcp.dev/mcp. Desktop app / Codex share ~/.codex/config.toml:
Codex CLI (~/.codex/config.toml)
Gemini CLI
(settings.json uses httpUrl, not url.)
Windsurf (~/.codeium/windsurf/mcp_config.json)
Cline
Continue (.continue/mcpServers/llms-txt.yaml)
Zed (settings.json)
Any MCP client
Streamable HTTP endpoint: https://llmstxtmcp.dev/mcp
This page documents a server. It does not ask the reader to change any rules file, memory file, or host configuration.
Run it yourself
Built with the MCP server kit (kit/): Streamable HTTP MCP plus agent-readable docs (llms.txt, server.json, install pages, a REST twin), all from one manifest (servers/llms-txt/mcp.factory.json). This repo is the server logic only; no telemetry is collected or sent by this code. MIT.
Source: README.md at commit de9e89e
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts