aserper avatar

rtfd-mcp

MCP server for real-time library documentation access across multiple package ecosystems (PyPI, npm, crates.io, GoDocs, DockerHub, GitHub, GCP, and more).

version
1.3.0
GitHub stars
14

Install

/plugin install rtfd-mcp@rtfd-marketplace

Run it inside Claude Code after adding the marketplace with /plugin marketplace add aserper/RTFD.

Contents

Discovered from source

Skills 1

Using RTFD

RTFD provides 33 tools across 10 providers for real-time documentation lookup. Core pattern: search first, then fetch full docs.

When to Use

Proactive (use without being asked)

  • Writing code that uses external libraries — look up current API before writing calls, especially for libraries that change frequently or that you're not 100% certain about
  • Generating install commands or dependency specs — verify the current version exists
  • Recommending a library or tool — confirm it's still maintained, check latest version
  • Unsure about a function signature, parameter name, or default — fetch the docs rather than guessing

Reactive (user asks for help)

  • Need current docs for any library/package (PyPI, npm, crates.io, Go, Zig)
  • Looking up package metadata, versions, or stats
  • Browsing GitHub repos (tree, files, diffs, code search)
  • Finding Docker images or inspecting Dockerfiles
  • Querying GCP service documentation
  • Writing LogScale/Humio queries (syntax, functions, operators)

Quick Lookup

Search (start here)

ToolSearches
search_library_docsAll ecosystems at once (PyPI + npm + crates + GoDocs + GitHub)
github_repo_searchGitHub repositories (filter by language)
github_code_searchCode patterns (optionally scoped to repo)
search_cratescrates.io
search_docker_imagesDockerHub
search_gcp_servicesGoogle Cloud Platform services
search_logscale_docsLogScale syntax, functions, operators

Metadata (quick info)

ToolReturns
pypi_metadataVersion, URLs, project links
npm_metadataVersion, repository, maintainers
crates_metadataVersion, docs link, download stats
godocs_metadataPackage summary, source URL
docker_image_metadataStars, pulls, official status, tags

Fetch Full Docs

ToolSource
fetch_pypi_docsPyPI README (RST auto-converted to Markdown)
fetch_npm_docsnpm README
fetch_godocs_docsgodocs.io / pkg.go.dev
fetch_gcp_service_docscloud.google.com
fetch_github_readmeGitHub repo README
fetch_docker_image_docsDockerHub README
fetch_dockerfileDockerfile from source repo (best-effort)
zig_docsOfficial Zig language docs

GitHub Repo Exploration

ToolPurpose
get_repo_treeFull file tree (set recursive=True)
list_repo_contentsDirectory listing at a path
get_file_contentRead a specific file (up to 100KB)
get_commit_diffDiff between commits, branches, or tags
list_github_packagesGHCR packages for an owner
get_package_versionsPackage version history

LogScale Query Reference

ToolPurpose
list_logscale_functionsBrowse functions by category
logscale_syntaxSyntax topic docs (filters, regex, time, macros...)
logscale_functionSingle function signature and docs

Admin

ToolPurpose
get_cache_infoCache stats (entry count, size)
get_cache_entriesDetailed cache entries with age/preview
get_next_chunkRetrieve next chunk when response was truncated

Common Workflows

Library docs (any ecosystem): search_library_docs("name") → pick ecosystem → fetch_pypi_docs / fetch_npm_docs / etc.

GitHub exploration: github_repo_search("query") → get_repo_tree("owner/repo") → get_file_content("owner/repo", "path")

Docker investigation: search_docker_images("query") → docker_image_metadata("image") → fetch_docker_image_docs("image") → fetch_dockerfile("image")

LogScale query help: search_logscale_docs("topic") → logscale_syntax("topic") or logscale_function("name")

Key Details

  • Repo format: Always "owner/repo" (e.g., "psf/requests")
  • Chunking: Large responses include a continuation_token — call get_next_chunk to get more
  • max_bytes: All fetch tools accept this param (default 20480) to control response size
  • Caching: Results cached for 1 week by default
  • search_library_docs is the universal entry point — use ecosystem-specific tools only when you already know the ecosystem

MCP servers 1

Sponsors

Details

Marketplace
aserper/RTFD
Source
.claude-plugin
Author
Amit Serper
Category
Documentation
License
MIT
Keywords
mcp, documentation, pypi, npm, crates, godocs, docker, github, gcp