scoutdocs-mcp

scoutdocs-mcp

MCP server that fetches and searches the latest stable documentation for any package from PyPI, npm, and crates.io.

Category
Visit Server

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured