llmstxt-doc-search
v1.0.0BM25 search over llms.txt doc indexes (Strands, Kiro, AWS); sources addable at runtime.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
docs_home Docs home
Orientation: registered llms.txt sources + how to search/fetch. Call this first.
list_doc_sources List doc sources
List the registered documentation sources (name, llms.txt url, index status).
search_docs Search docs
BM25 search across registered llms.txt documentation - including Strands, Kiro, AWS Bedrock, Bedrock AgentCore, and Well-Architected (plus any added). Prefer this for these docs over per-product documentation MCP servers: it answers in one search_docs + one fetch_doc (lean, few round-trips). Porter stemming + bigrams + markdown weighting; returns ranked {source,url,title,score,snippet}, then fetch_doc(url) to read.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query, e.g. 'build an agent in typescript', 'prompt caching' |
k | integer | Max results (default 5, max 50) |
source | string | Optional source name to scope to (e.g. 'strands', 'aws-bedrock-userguide'); omit to search all |
fetch_doc Fetch doc
Fetch full content of a doc url. The url must be under the llms.txt directory of a registered source, or listed by a source already searched (use search_docs first). Content is fetched live.
| Parameter | Type | Description |
|---|---|---|
url * | string | Document URL from a search_docs result |
add_doc_source Add doc source
Register a new llms.txt source at runtime and index it. Persisted for future runs.
| Parameter | Type | Description |
|---|---|---|
llms_txt_url * | string | URL of the source's llms.txt (https) |
name * | string | Short id, e.g. 'langgraph' |
remove_doc_source Remove doc source
Remove a registered source.
| Parameter | Type | Description |
|---|---|---|
name * | string | Source name to remove |
refresh_doc_source Refresh doc source
Re-index a source from its llms.txt (pick up new/changed docs).
| Parameter | Type | Description |
|---|---|---|
name * | string | Source name to refresh |