Logo von Rtfmbro

Rtfmbro

Community
marckrenn

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

Herausgebermarckrenn
Repositoryrtfmbro-mcp
Forks
10
Sterne
92
Verfügbare Tools
4
Transporttypstreamable-http
Kategorien
LizenzMIT
Links
  • Tools mit KI-Workflows verbinden

    Rtfmbro stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 4 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    92 Sterne und 10 Forks im verlinkten Repository.

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

EcosystemRegistryStatus
PythonPyPI✅ Full Support
Node.jsnpm✅ Full Support
SwiftSPM🚧 Alpha
GitHubDirect⚠️ 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:

ToolPurposeParametersReturns
get_readmeFetches and returns the README file for a specific package versionpackage, version, ecosystemREADME content as string
get_documentation_treeGenerates a comprehensive folder structure of all documentation filespackage, version, ecosystemTree structure as string
read_filesReads specific documentation files with optional line range slicingpackage, version, ecosystem, requests[]Dictionary mapping paths to content
search_github_repositoriesSearches for GitHub repositories using the GitHub Search APIquery, sort, order, per_pageFormatted repository search results

Installation & Setup

Quick Start

Claude Code

bash
claude mcp add-json rtfmbro '{ "type": "http",  "url": "https://rtfmbro.smolosoft.dev/mcp/" }'

Claude Desktop / VS Code / etc.

Add the remote server to your MCP configuration:

json
{
  "rtfmbro": {
    "type": "http", 
    "url": "https://rtfmbro.smolosoft.dev/mcp/"
  }
}

Cursor

Install MCP Server

Agent Integration

To truly integrate rtfmbro with your AI coding agent of choice, copy the appropriate meta-instruction file to your project:

How It Works

Documentation Workflow

  1. Registry Lookup: Queries the package registry (PyPI, npm, etc.) for metadata
  2. GitHub Discovery: Extracts the GitHub repository URL from package metadata
  3. Version Resolution: Fetches available git tags and matches them against your semantic version
  4. Smart Fetching: Clones the repository at the exact matched tag/commit
  5. Content Filtering: Extracts only documentation files, removing source code and build artifacts
  6. Caching & Currency: Stores results with SHA-based currency checking for efficient re-access

Caching Strategy

  • SHA-Based Validation: Compares current repository commit SHA with cached version
  • Automatic Invalidation: Re-fetches documentation when new commits are detected
  • Persistent Storage: Maintains local cache to avoid redundant GitHub API calls
  • Metadata Preservation: Stores documentation tree structure for fast browsing

Prerequisites

  • Package must be published to a supported registry (PyPI, npm)
  • Package metadata must contain a valid GitHub repository link
  • Repository must use git tags for version management
  • Documentation files must be present in the repository (not just generated sites)

Roadmap

Near Term

  • Ecosystem independent fallback: Implement a fallback mechanism for unsupported ecosystems
  • Provide rtfmbro source code: Open source the server codebase
  • Public docker image: Create a public Docker image for easy deployment
  • Private repo support: Allow authenticated access to private repositories
  • Add Tests: Implement unit and integration tests for core functionality
  • Enhanced Python Support: Include pydocs and docstring extraction
  • Search Capabilities: Search across documentation corpus

Future Ecosystems / Languages / Registries

Source code hosting and repository support:

  • GitHub: Support for GitHub repositories
  • Gitlab: Support for GitLab repositories
  • Bitbucket: Support for Bitbucket repositories
  • Launchpad: Support for Launchpad repositories

Known Issues

  • Some packages may have documentation in separate standalone repos
  • Large repositories may take a bit of time to clone and process initially

Similar / Additive Projects

  • mcp-package-docs: Another MCP server for package documentation, focusing on documentation extraction, LSP servers, etc. May be a great supplement to rtfmbro.
  • rust-docs-mcp-server: MCP server for Rust documentation, focused on Rust-specific features and documentation formats.
  • mcp-ragdocs: MCP server for RAG (Retrieval-Augmented Generation) documentation, aimed at improving the documentation experience for AI models.
  • godoc-mcp: MCP server for Go documentation, providing access to Go package documentation via the Model Context Protocol.
  • context7: Alternative to rtfmbro

Differences between context7 and rtfmbro

Aspectcontext7rtfmbro
ActualityScrapes documentation ahead-of-time at intransparent intervals or upon user trigger. As of writing, the "latest" Next.js docs are already 2 days old.Fetches documentation just-in-time, ensuring it's always up-to-date.
Version-specific docsTheoretically allows scraping older versions (useful for legacy or longtime projects), but the process is complicated, limiting practical availability effectively to latest versions.Fetches older documentation just-in-time, and always remains current, identical to latest docs.
Search strategyUses either A) optionally token-limited RAG search to filter/preprocess docs which can be hit-or-miss, or B) dumps all content into LLM's context, resulting in excessive token-use.Employs agentic discovery (as used by Claude Code itself)
Developer ExperienceRequires explicitly mention of context7 in every prompt.Operates via defined rules/instructions, auto-selecting appropriate package name/version from lock file ("set and forget").
SupportLanguage/ecosystem independent.Currently language/ecosystem-specific; planned additional languages/ecosystems and language-independent fallback mechanism soon.

Installation

TypingMind
{
  "mcpServers": {
    "rtfmbro-mcp": {
      "url": "https://rtfmbro.smolosoft.dev/mcp/"
    }
  }
}

Verfügbare Tools

  • get_readme
    Download and return the README for a package at a specific semantic version (PEP 440) and ecosystem.
    
    Args:
        package: Name of the package (e.g., `flask`, `lodash`)
        version: The version of the package (e.g., `==1.0.0`). If provided use PEP 440 version specifiers. 
                Don't resolve the version yourself, use a literal. If no version is specified, use '*'
        ecosystem: The ecosystem of the package, e.g.:
            - `pypi`: Python Package Index
            - `npm`: Node Package Manager
            - `spm`: Swift Package Manager
            - `gh`: GitHub (fallback for unsupported languages, package name must be in 'owner/repo' format)
    
    Returns:
        The README content as a string
    
  • get_documentation_tree
    List the documentation folder tree for a package at a specific semantic version (PEP 440) and ecosystem.
    
    Args:
        package: Name of the package (e.g., `flask`, `lodash`)
        version: The version of the package (e.g., `==1.0.0`). Use PEP 440 version specifier or leave blank to list all versions.
        ecosystem: The ecosystem of the package, e.g.:
            - `pypi`: Python Package Index
            - `npm`: Node Package Manager
            - `spm`: Swift Package Manager
            - `gh`: GitHub (fallback for unsupported languages, package name must be in 'owner/repo' format)
    
    Returns:
        A textual representation of the documentation folder structure and available files
    
  • read_files
    Read content of multiple files from the documentation directory for a given package, version, and ecosystem. 
    Use this after fetching the docs with `get_documentation_tree`.
    
    Args:
        package: Name of the package (e.g., `flask`, `lodash`)
        version: Version specifier (e.g., `==1.0.0`), or '*' to use latest available.
        ecosystem: The ecosystem of the package (e.g., `pypi: Python`, `npm: Node.js`, `spm: Swift Package Manager`, `gh: GitHub fallback for unsupported languages`).
        requests: List of dicts, each with:
            - `relative_path`: Path to the file relative to the docs root, as provided in the documentation tree.
            - `line_from` (optional): Starting line number (1-indexed, defaults to 1).
            - `line_to` (optional): Ending line number (inclusive, defaults to last line).
    
    Returns:
        Dictionary mapping relative paths to file contents or error messages
    
  • search_github_repositories
    Search for GitHub repositories using the GitHub Search API.
    
    Args:
        query: Search query string. Can include qualifiers like 'language:python', 'topic:web', 'user:octocat', etc.
               Examples:
               - "machine learning language:python"
               - "web framework topic:javascript"
               - "user:microsoft azure"
               - "org:openai gpt"
        sort: Sort repositories by 'stars', 'forks', 'help-wanted-issues', 'updated'. Default: 'stars'
        order: Sort order 'asc' or 'desc'. Default: 'desc'
        per_page: Number of results to return (1-100). Default: 10
    
    Returns:
        Formatted search results with repository information including name, description, 
        stars, forks, language, and URL for each repository.
    

Rtfmbro MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Rtfmbro verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration verbindet sich in TypingMind über die URL eines extern gehosteten MCP-Servers.

Eine MCP-Server-URL hinzufügen

Nutzen Sie diese Option, wenn Rtfmbro bereits auf einem Remote-Server gehostet wird oder Ihr Team einen gemeinsamen Konnektor für mehrere Benutzer benötigt.

1

MCP-Konnektoren öffnen

Gehen Sie in TypingMind zu „Plugins“, öffnen Sie „MCP-Konnektoren“ und wählen Sie dann „URL hinzufügen“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Gehen Sie zu „Plugins“.
  3. Öffnen Sie „MCP-Konnektoren“.
  4. Klicken Sie auf „Neue URL“.
TypingMind-Formular zum Hinzufügen einer benutzerdefinierten MCP-Server-URL
2

Server-URL einfügen

Geben Sie https://rtfmbro.smolosoft.dev/mcp/ in das Feld „Server-URL“ ein. Fügen Sie einen Verbindungsnamen, eine Beschreibung, ein Symbol, benutzerdefinierte HTTP-Header oder OAuth-Client-Einstellungen hinzu, falls der Server diese erfordert.

  1. Fügen Sie https://rtfmbro.smolosoft.dev/mcp/ in das Feld „Server-URL“ ein.
  2. Geben Sie einen Verbindungsnamen für Rtfmbro ein.
  3. Fügen Sie bei Bedarf eine Beschreibung und ein Symbol hinzu, um die Verbindung leichter zu erkennen.
  4. Fügen Sie benutzerdefinierte HTTP-Header oder OAuth-Client-Daten hinzu, falls der Server eine Authentifizierung erfordert.
3

Verbindung erstellen

Klicken Sie auf „Verbindung erstellen“, kehren Sie dann zur Plugin-Liste zurück und prüfen Sie, ob die neue MCP-Verbindung aktiv ist.

  1. Klicken Sie auf „Verbindung erstellen“.
  2. Kehren Sie zur Liste der MCP-Konnektoren zurück.
  3. Prüfen Sie, ob die Verbindung zu Rtfmbro als aktiv angezeigt wird.
  4. Aktualisieren Sie die Plugin-Liste, falls die Verbindung nicht sofort angezeigt wird.
4

Modelle ohne erneuten Verbindungsaufbau wechseln

Starten Sie einen Chat mit Ihrem bevorzugten Modell, aktivieren Sie unter „Plugins“ die Tools von Rtfmbro und wechseln Sie bei Bedarf zu einem anderen Modell. Die MCP-Verbindung bleibt im TypingMind-Arbeitsbereich verfügbar.

  1. Starten Sie einen neuen Chat in TypingMind.
  2. Wählen Sie das KI-Modell, das Sie verwenden möchten.
  3. Aktivieren Sie die Tools von Rtfmbro unter „Plugins“.
  4. Bitten Sie das Modell, das Tool bei Bedarf zu verwenden.
  5. Wechseln Sie zu einem anderen KI-Modell und verwenden Sie dieselbe MCP-Verbindung weiter.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Rtfmbro bei dieser Aufgabe helfen?
Rtfmbro
Gerne. Ich habe es gelesen.
Das habe ich mit Rtfmbro gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Rtfmbro verwendet?

Rtfmbro ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Rtfmbro MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Rtfmbro mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Rtfmbro MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Rtfmbro verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Rtfmbro MCP mit TypingMind?

Sie können Rtfmbro in TypingMind verbinden, indem Sie die URL des gehosteten MCP-Servers hinzufügen. Das ist sinnvoll, wenn Sie eine entfernte MCP-Verbindung benötigen, die in Ihrem TypingMind-Arbeitsbereich verfügbar ist.

Welche Tools stellt Rtfmbro MCP in TypingMind bereit?

Rtfmbro stellt 4 MCP-Tools bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Rtfmbro MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Rtfmbro eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇