MCP server for converting technical documentation into llm.txt context files

MCP server for converting technical documentation into llm.txt context files

docs-to-llm.txt_generator•byrybens92

A FastMCP-based server that processes documentation pages into short and full llm.txt files for use as LLM context.

License: Not specified•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Exposes a process_documentation tool that takes a documentation URL, library name, and save path.
  • •Generates two output files per run: a short file with titles and links, and a full file with documentation content.
  • •Automatically detects documentation navigation sections, converts relative URLs to absolute, and strips unnecessary HTML elements.
  • •Uses a scoring system to find relevant documentation links with fallback mechanisms and progress reporting.

BEST FOR

  • •Preparing condensed or complete documentation context files for LLMs in editors like Cursor, Windsurf, Cline, or Roo Code.
  • •Generating library documentation snapshots with titles and links or full content for offline reference.

ABOUT DOCS-TO-LLM.TXT_GENERATOR

MCP server for converting technical documentation into llm.txt context files is cataloged as an MCP server attributed to rybens92. A FastMCP-based server that processes documentation pages into short and full llm.txt files for use as LLM context. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for converting technical documentation into llm.txt context files are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does the process_documentation tool return?

It returns a success status, a result message, and paths to the generated short and full files.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 73782b54297b · 采集于 2026-11-13 10:52:09 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server for Documentation Processing

MCP server that processes technical documentation into llm.txt format, which can be used as context for LLMs in environments like Cursor, Windsurf, Cline or Roo Code.

Requirements

  • Python 3.7+
  • uv (recommended) or pip

Download repository

Before using the MCP server, you need to clone the repository from GitHub:

git clone https://github.com/Rybens92/docs-to-llm.txt_generator /your/chosen/directory

Then update the path in mcp_settings.json configuration:

"args": [
  "/your/path/to/this/mcp/server/src/server.py"
]

Replace /your/path/to/this/mcp/server with the actual path where you cloned the repository.

Installation

Using uv (recommended):

uv pip install -r requirements.txt

Or using pip:

pip install -r requirements.txt

=======

Running

fastmcp dev src/server.py

Installation in Claude Desktop

fastmcp install src/server.py

Direct execution

python src/server.py

Usage in Roo Code or Cline

mcp_settings.json configuration

Add the following configuration to mcp_settings.json in Roo Code or Cline:

{
  "mcpServers": {
    "docs-to-llm": {
      "command": "python",
      "args": [
        "/your/path/to/this/mcp/server/src/server.py"
      ],
      "disabled": false
    }
  }
}

Remember to replace "/your/path/to/this/mcp/server" with the actual path to your project directory.

Example usage

After configuration, you can use the server like this:

<use_mcp_tool>
<server_name>docs-to-llm</server_name>
<tool_name>process_documentation</tool_name>
<arguments>
{
  "url": "https://example.com/docs",
  "library_name": "example_lib",
  "txt_save_path": "/path/to/save/directory"
}
</arguments>
</use_mcp_tool>

The server will generate two files:

  • llm_{library_name}_short.txt - contains only titles and links to documentation
  • llm_{library_name}_full.txt - contains full documentation content

Available Tools

process_documentation

Processes documentation from the given URL.

Parameters:

  • url (string) - URL to the documentation page
  • library_name (string) - Name of the library (used in output filenames)
  • txt_save_path (string) - Path where to save the output files

Returns:

  • success (boolean) - operation status
  • message (string) - result information
  • files (object) - paths to generated files with keys "short" and "full"

Features

  • Automatic detection of documentation navigation sections
  • Conversion of relative to absolute URLs
  • Removal of unnecessary HTML elements (scripts, styles, menus)
  • Progress reporting during processing
  • Detailed error logging
  • Smart scoring system to find relevant documentation links
  • Fallback mechanisms when automatic detection fails
  • Sanitized filenames based on library names

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for converting technical documentation into llm.txt context files from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/docs-to-llm.txt_generator)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation