
Rtfmbro
OfficialFetches exact version-specific documentation for packages directly from GitHub repositories. Ensures AI assistants and developers get accurate, up-to-date docs that match the exact package versions being used.
What it does
- Download README files for specific package versions
- Browse documentation folder structures
- Read multiple documentation files at once
- Search GitHub repositories for packages
Best for
Tools (4)
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
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 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 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.