scoutdocs-mcp
MCP server that fetches and searches the latest stable documentation for any package from PyPI, npm, and crates.io.
README
scoutdocs-mcp
MCP server that fetches and searches the latest stable documentation for any package. Keeps AI coding agents in sync with current APIs instead of relying on stale training data.
Two ways to run it:
- Local stdio (Python) — installs into Claude Code / Claude Desktop / Cursor, can read your project's manifests.
- Hosted Worker (Cloudflare) — public HTTPS endpoint at
/mcp, no install required.
Why
LLMs are trained on a snapshot — the docs they "know" may be months or years old. scoutdocs-mcp gives any MCP client live access to the latest stable version info, READMEs, and search results across docs sites for packages on PyPI, npm, and crates.io.
How it works
<p align="center"> <img src="docs/flowchart.svg" alt="scoutdocs-mcp workflow" width="600"> </p>
Tools
| Tool | Where | What it does |
|---|---|---|
get_package_info |
local + hosted | Latest stable version, docs URL, repo, license |
get_package_docs |
local + hosted | README / long-description content |
search_package_docs |
local + hosted | Bounded discovery: docs URL, llms.txt / llms-full.txt, sitemap, same-host links — ranks pages by query match |
detect_project_dependencies |
local only | Reads pyproject/requirements/uv.lock, package.json/package-lock, Cargo.toml/Cargo.lock |
cache_stats |
local only | Local SQLite cache stats |
Quickstart
Local (Python stdio)
scoutdocs-mcp is currently a beta release (0.2.0b3), so pip and uv need to be told it's OK to install a pre-release:
pip install --pre scoutdocs-mcp # or
uv tool install --prerelease=allow scoutdocs-mcp
Add to Claude Code's MCP config (~/.claude/claude_code_config.json):
{
"mcpServers": {
"scoutdocs": {
"command": "uvx",
"args": ["--from", "scoutdocs-mcp==0.2.0b3", "scoutdocs-mcp"]
}
}
}
Once scoutdocs-mcp reaches 0.2.0 stable, the --pre / version-pin requirement goes away — you'll be able to run uvx --from scoutdocs-mcp scoutdocs-mcp directly. For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS), use the same JSON shape.
Hosted (Cloudflare Worker)
Point any MCP client at the public Streamable HTTP endpoint:
https://scoutdocs-mcp.solmonger.workers.dev/mcp
The hosted endpoint is unauthenticated and rate-limited (60 MCP req/min, 10 search req/min per client IP). Search results are capped tighter than local (8 discovered pages × 18k chars / 200k total backstop) but well within Cloudflare free-tier headroom.
Example prompts
> What's the latest version of flask?
> Show me the docs for the serde crate
> Search the httpx docs for "transport"
> What dependencies does this project declare?
Configuration
GitHub token (optional, local only)
Unauthenticated GitHub API allows 60 req/hr. A token (any scope) raises that to 5,000/hr — useful when fetching READMEs in bulk:
export GITHUB_TOKEN=ghp_your_token_here
Cache
- Local stdio: SQLite at
~/.cache/scoutdocs-mcp/cache.db, 24h TTL. - Hosted Worker: Cloudflare KV, same 24h TTL, scoped per binding.
Search caps
The README is always included as a free first page. The max_pages cap
governs how many discovered pages we add on top of it.
| Hosted | Local default | |
|---|---|---|
| Discovered pages | 8 (max 20 via max_pages arg) |
15 (max 30 via max_pages arg) |
| Chars/page | 18,000 | 24,000 |
| Total backstop | 200,000 | 500,000 |
Supported ecosystems
| Ecosystem | Registry | Aliases |
|---|---|---|
| Python | PyPI | python, pypi, pip |
| JavaScript / TypeScript | npm | javascript, typescript, npm, js, ts |
| Rust | crates.io | rust, cargo, crate |
If no ecosystem is specified, registries are tried in order.
Repository layout
src/scoutdocs_mcp/ Python stdio server (published as scoutdocs-mcp)
worker/ Cloudflare Worker (TypeScript) for the hosted endpoint
tests/ pytest suite (mocked HTTP)
worker/test/ Vitest suite (Cloudflare workers pool)
docs/RELEASE.md Release & deployment runbook
Status
Beta (0.2.0b3). API stable; some discovery sources may evolve. Filed issues welcome at https://github.com/eshaanmathakari/scoutdocs-mcp/issues.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。