LLMS.txt Documentation

LLMS.txt Documentation

langchain-ai

Fetches and parses llms.txt documentation files from URLs, giving AI systems structured access to project documentation during coding sessions.

942564 views110Local (stdio)

What it does

  • List available llms.txt documentation sources
  • Fetch documentation content from URLs or local files
  • Parse llms.txt files into structured format
  • Retrieve specific documentation sections on demand

Best for

Developers using AI coding assistants like Cursor or ClaudeTeams wanting auditable documentation retrievalProjects with llms.txt standardized documentation
Full control over documentation tool callsAuditable context retrieval process

Tools (2)

list_doc_sources

List all available documentation sources. This is the first tool you should call in the documentation workflow. It provides URLs to llms.txt files or local file paths that the user has made available. Returns: A string containing a formatted list of documentation sources with their URLs or file paths

fetch_docs

Fetch and parse documentation from a given URL or local file. Use this tool after list_doc_sources to: 1. First fetch the llms.txt file from a documentation source 2. Analyze the URLs listed in the llms.txt file 3. Then fetch specific documentation pages relevant to the user's question Args: url: The URL to fetch documentation from. Returns: The fetched documentation content converted to markdown, or an error message if the request fails or the URL is not from an allowed domain.

Alternatives