Back to Home
aserper icon

doc-mcp-server

by aserper

Overview

Provides real-time access to up-to-date documentation from various package ecosystems (PyPI, npm, GitHub, etc.) for LLM-powered coding agents, mitigating hallucination and outdated information.

Installation

Run Command
rtfd

Environment Variables

  • GITHUB_AUTH
  • GITHUB_TOKEN
  • RTFD_FETCH
  • RTFD_CACHE_ENABLED
  • RTFD_CACHE_TTL
  • RTFD_TRACK_TOKENS
  • RTFD_CHUNK_TOKENS
  • VERIFIED_BY_PYPI

Security Notes

The server is designed to fetch and process potentially unverified content from external sources (PyPI, npm, GitHub, web scraping), which inherently introduces risks of indirect prompt injection and malicious code execution, as explicitly warned by the project itself. While it uses httpx and subprocess.run (for 'gh' CLI) in a controlled manner, the core function involves ingesting untrusted data. Mitigations like 'RTFD_FETCH=false' (disables all content fetching) and 'VERIFIED_BY_PYPI=true' (restricts Python packages to verified sources) are available but require explicit configuration by the user.

Similar Servers

Stats

Interest Score42
Security Score5
Cost ClassMedium
Avg Tokens2000
Stars11
Forks1
Last Update2026-01-16

Tags

documentationLLMcoding agentPyPInpmcrates.ioGoDocsDockerHubGitHubGCPAPIsearchpackage managerreal-time datacode assistant