Llmstxt Doc Search logo

Llmstxt Doc Search

Searches live llms.txt documentation with BM25, fetches matching pages, and lets agents add or refresh sources at runtime.

Install Llmstxt Doc Search

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "llmstxt-doc-search": {
      "command": "npx",
      "args": [
        "-y",
        "@praveenc/llmstxt-doc-search"
      ],
      "env": {
        "LLMSTXT_REGISTRY_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env LLMSTXT_REGISTRY_PATH=YOUR_VALUE_HERE --transport stdio llmstxt-doc-search -- npx -y @praveenc/llmstxt-doc-search

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @praveenc/llmstxt-doc-search

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

llmstxt-doc-search MCP server provides ranked search across documentation sites that publish an llms.txt index. It builds a lightweight title index, uses BM25 with stemming, bigrams, and markdown-aware weighting, then fetches full page content only for selected results. Seeded sources cover Strands, Kiro, AWS documentation, and MCP, while additional sources can be registered and persisted at runtime. Use it when an agent needs current reference material across multiple fast-changing documentation sites without downloading every page locally.

Use cases

  • Search AWS and agent-framework documentation from one MCP connection
  • Fetch current pages after ranking documentation results
  • Register a team's llms.txt site for persistent agent searches
  • Refresh an index after documentation changes

Key features

  • BM25 ranking with Porter stemming and bigrams
  • Markdown-aware weighting for technical documentation
  • Live document fetching after search
  • Runtime source registration and persistence
  • Source-specific or cross-source search
  • Lazy, title-only indexing

Tools7

What Llmstxt Doc Search lets your agent do. Expand a tool for its parameters.

Verified live~644 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 89d

What it can do

From the 7 tools this server returned when we ran it; 7 declare their own safety hints.

Can delete or modify data · 1Makes network requests · 6Read-only tools · 6
Network at startup3 connections
Files written at startup1
Install scriptsNone
npm provenanceNot published
Package age111 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @praveenc/llmstxt-doc-search (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads281Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed7Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Llmstxt Doc Search works

What llmstxt-doc-search does

llmstxt-doc-search turns documentation sites' llms.txt indexes into MCP tools for discovery, ranked search, and page retrieval. It starts with sources for Strands, Kiro, AWS Bedrock User Guide, AWS Agentic AI Lens, AWS Bedrock AgentCore Developer Guide, and MCP. You can add other documentation sites when they expose a compatible llms.txt file.

The server is suited to broad, frequently changing technical references. Rather than copying every document into a local store, it keeps a small index of page titles and retrieves selected documents when needed. Search results include the source, URL, title, score, and a snippet.

How it works

Call docs_home first to see registered sources and the intended search and fetch flow. list_doc_sources reports each source's name, index URL, and index status. search_docs searches all sources by default or limits the query to one source. Its default result count is five, with a maximum of 50, and scores are comparable across sources.

The search index uses BM25 ranking with Porter stemming, bigrams, and markdown-sensitive weighting. Headers, code, and links receive additional weight, while technical terms such as mcp, json, and stdio are preserved. On the first search for a source, the server builds the title index lazily. fetch_doc then retrieves the full Markdown or HTML for a selected result from the live source.

Setup and configuration

The package requires Node.js 20 or later and runs over stdio. A typical client configuration starts it on demand with npx:

config.json
{
  "mcpServers": {
    "llmstxt-doc-search": {
      "command": "npx",
      "args": ["-y", "@praveenc/llmstxt-doc-search"]
    }
  }
}

It can also be installed globally with npm install -g @praveenc/llmstxt-doc-search, then launched through the llmstxt-doc-search binary. The persisted source registry is stored at ~/.config/llmstxt-doc-search/sources.json; set LLMSTXT_REGISTRY_PATH to use another location.

The project can be installed as a Kiro Power from its repository or a local clone. It also exposes its skills through the MCP Skills extension for clients that support io.modelcontextprotocol/skills and SEP-2640.

Tools and capabilities

  • docs_home: Provides orientation about sources and the search/fetch workflow.
  • list_doc_sources: Lists registered sources and index status.
  • search_docs: Runs BM25 search across all sources or a selected source.
  • fetch_doc: Retrieves a complete document from an allowed result URL.
  • add_doc_source: Registers and indexes a new llms.txt source, saving it for later runs.
  • remove_doc_source: Deletes a registered source from the saved registry.
  • refresh_doc_source: Re-indexes a source to detect new or changed documents.

Adding and removing sources modify the persisted registry. These operations may require confirmation; clients without form support require confirm: true for removal, and headless Kiro CLI usage requires that flag when prompts are cancelled.

Limitations and notes

fetch_doc accepts URLs under a registered source's llms.txt directory or URLs discovered from an indexed source. A search should therefore precede retrieval unless the URL is already within the permitted source scope. Full content is fetched live, so results depend on the availability and current contents of the documentation site.

The server indexes titles first rather than storing complete documentation locally. A source that fails to index is skipped for five minutes before a normal retry; refresh_doc_source retries it immediately. The fixed tool list is advertised as cacheable for one hour.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Llmstxt Doc Search

llmstxt-doc-search is an MCP server that connects agents to documentation sites publishing llms.txt indexes. Its main tools orient agents with docs_home, search pages with search_docs, retrieve full pages with fetch_doc, and manage sources with add_doc_source, remove_doc_source, and refresh_doc_source.

Install it by adding an npx stdio entry using @praveenc/llmstxt-doc-search to your MCP client configuration. The server requires Node.js 20 or later. You can alternatively install the package globally with npm and launch the llmstxt-doc-search binary.

It includes Strands, Kiro, AWS Bedrock User Guide, AWS Agentic AI Lens, AWS Bedrock AgentCore Developer Guide, and MCP as initial sources. Additional sites can be registered at runtime when they publish an llms.txt index.

Call add_doc_source with a source name and its llms.txt URL. The source is indexed and saved for future runs, subject to duplicate and link checks. The operation may request confirmation, depending on the MCP client and whether it can display a form.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLlmstxt Doc Search AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/llmstxt-doc-search?style=directory)](https://allmcps.com/mcp/llmstxt-doc-search)
HTML Embed
<a href="https://allmcps.com/mcp/llmstxt-doc-search"><img src="https://allmcps.com/api/badge/llmstxt-doc-search?style=directory" alt="Llmstxt Doc Search on AllMCPs" /></a>