MR

marckrenn/rtfmbro-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

93 stars 10 forks 质量 56 趋势 0MIT

Marckrenn/RTFMBRO-MCP 是从 https://github.com/marckrenn/rtfmbro-mcp. 导入的 MCP 服务器候选

概览

Marckrenn/RTFMBRO-MCP 是从 https://github.com/marckrenn/rtfmbro-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

rtfmbro 提供始终最新的、版本特定的包文档,作为编码代理的上下文。上下文的替代方案7.

https://github.com/user-attachments/assets/dbe0b3b4-a42c-4e91-8bcd-a94d430ef0b8

rtfmbro 的使用演示,获取 Flask 说明文件和文档的特定版本(3.1.1)。

概述

rtfmbro 是一个模型上下文协议(MCP)服务器,提供跨多个生态系统的软件包实时、版本感知文档获取。它通过直接从 GitHub 仓库获取与项目相同版本的文档,弥合了 AI 代理与准确、最新软件包文档之间的差距。

支持的生态系统

生态系统 登记处 状态
Python PyPI ✅全力支持
Node.js NPM ✅全力支持
斯威夫特 SPM 🚧阿尔法
GitHub 直接 ⚠️备选

为什么是rtfmbro?

问题

  • 陈旧的文档:AI模型常依赖过时的软件包训练数据
  • 缺少上下文:node_modules 等源代码缺乏高级文档,浏览通常耗费令牌且效率低下

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

rtfmbro-mcp

rtfmbro provides always-up-to-date, version-specific package documentation as context for coding agents. An alternative to context7.

https://github.com/user-attachments/assets/dbe0b3b4-a42c-4e91-8bcd-a94d430ef0b8

Demonstration of rtfmbro in use, fetching a specific version (3.1.1) of Flask’s readme and docs.

Overview

rtfmbro is a Model Context Protocol (MCP) server that provides real-time, version-aware documentation fetching for packages across multiple ecosystems. It bridges the gap between AI agents and accurate, up-to-date package documentation by fetching docs directly from GitHub repositories at the exact version your project uses.

Supported Ecosystems

Ecosystem Registry Status
Python PyPI ✅ Full Support
Node.js npm ✅ Full Support
Swift SPM 🚧 Alpha
GitHub Direct ⚠️ Fallback

Why rtfmbro?

The Problem

  • Stale Documentation: AI models often rely on outdated training data about packages
  • Missing Context: Source code in node_modules etc. lacks high-level documentation, browsing it is usually token-consuming and inefficient
  • Version Mismatches: Generic documentation doesn’t match your specific package version, especially for legacy projects or brand new packages

The Solution

rtfmbro tries to solve these issues by:

  1. Version-Precise Fetching: Retrieves documentation from the exact git tag/commit that matches your lockfile
  2. Comprehensive Coverage: Extracts all documentation files (.md, .mdx, .txt, .rst, .html) from the repository
  3. Intelligent Caching: SHA-based currency checking ensures docs stay fresh without unnecessary re-fetching
  4. Agent Integration: Seamlessly integrates with AI coding assistants via the Model Context Protocol
  5. Great DX: Zero seting up for developers, just add the server to your MCP configuration, instructions and start fetching docs

MCP Tools

The server exposes four primary tools to AI agents:

Tool Purpose Parameters Returns
get_readme Fetches and returns the README file for a specific package version package, version, ecosystem README content as string
get_documentation_tree Generates a comprehensive folder structure of all documentation files package, version, ecosystem Tree structure as string
read_files Reads specific documentation files with optional line range slicing package, version, ecosystem, requests[] Dictionary mapping paths to content
search_github_repositories Searches for GitHub repositories using the GitHub Search API query, sort, order, per_page Formatted repository search results

Installation & Setup

Quick Start

Claude Code

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →