doc-scraper MCP Server
Crawl documentation sites into local corpora agents can search, read, and diff fully offline.
doc-scraper scores 48 (Fair), licensed Apache-2.0 and written in Go. It installs as a local process. It does not declare tools yet. Filed under Web scraping. GitHub shows 110 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
48 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is gradedMaintenance: Grade B
Last commit or release 4 days ago. Down one letter for 37 open issues against 110 stars.
How maintenance is graded
Where the 48 comes from
0 + 20 + 7 + 10 + 4 + 7 = 48. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sriram-pr-doc-scraper": { "command": "npx", "args": [ "-y", "https://github.com/Sriram-PR/doc-scraper/releases/download/v2.29.0/doc-scraper.mcpb" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
LLM Documentation Scraper (doc-scraper)
A configurable, concurrent, and resumable web crawler written in Go. Specifically designed to scrape technical documentation websites, extract core content, convert it cleanly to Markdown format suitable for ingestion by Large Language Models (LLMs), and save the results locally.

doc-scraper crawls documentation sites into clean Markdown and serves them to coding agents over MCP. Your agent searches and reads the docs you chose, offline, instead of guessing from training data or a live web search. Point doc-scraper add at any docs page and it detects the framework (30+ docs generators, including Docusaurus, Starlight, Sphinx, VitePress, Material for MkDocs, and mdBook), validates the content selector, and drafts the config for you.
Documentation: https://sriram-pr.github.io/doc-scraper/
Features
- Offline search for agents: BM25 full-text search (
search_docs) and page reads (read_page) over the stored corpus, with no network access - Framework detection: 30+ docs generators recognized, each selector validated on the page, Readability fallback, JavaScript-only shells reported instead of crawled empty
- Clean output: GitHub-Flavored Markdown per page with frontmatter, plus
pages.jsonl,llms.txt, andllms-full.txt - Polite and resumable: robots.txt and sitemaps, per-host rate limits, retries with backoff, resumable crawls, and staged output that never clobbers the last good copy
- Stays fresh: incremental re-crawls, watch mode, and crawl history (
get_freshness,diff_crawl) - Many sites at once: parallel crawls with shared limits
Install
Download a release binary (Linux, macOS, Windows; amd64 and arm64) from the Releases page, or:
go install github.com/Sriram-PR/doc-scraper/v2/cmd/doc-scraper@latest
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD":/data ghcr.io/sriram-pr/doc-scraper:latest crawl -site rust_cli_book
Claude Desktop users can install doc-scraper.mcpb from the latest release instead. Details: Install.
Quick start
doc-scraper add -site rust_cli_book https://rust-cli.github.io/book/index.html # detect, preview, confirm
doc-scraper crawl -site rust_cli_book # Markdown lands in ./crawled_docs/rust_cli_book/
doc-scraper search -site rust_cli_book "error handling"
Then give it to Claude Code:
claude mcp add --transport stdio doc-scraper -- /path/to/doc-scraper mcp-server -config /path/to/config.yaml
See Claude Code setup for scopes and a first prompt.
Docs
- Getting started: install, quick start, adding a site
- Use with agents (MCP): Claude Code, Claude Desktop, any stdio client, and the 13 tools
- Docs frameworks: how detection works, with guides for Docusaurus, Starlight, Sphinx, VitePress, Material for MkDocs, and mdBook
- Configuration and CLI reference
- Detection benchmark
Contributing
Contributions are welcome. Read CONTRIBUTING.md before starting: it covers setup, the testing rules CI enforces, how to claim an issue, and the policy on AI-assisted contributions. Issues labeled good first issue are a good place to begin.
Report security problems privately as described in SECURITY.md. Everyone taking part follows the Code of Conduct.
Privacy Policy
doc-scraper collects nothing: no telemetry, no analytics, no accounts. All output and state stays on your machine, and the only network requests it makes are the crawls and fetches you explicitly ask for. Full policy: PRIVACY.md.
License
This project is licensed under the Apache-2.0 License.
Acknowledgements
- GoQuery for HTML parsing
- html-to-markdown for conversion
- BadgerDB for state persistence
- mcp-go for MCP server implementation
- go-readability for content extraction fallback
- modernc.org/sqlite for the pure-Go crawl-history index
- robotstxt for
robots.txtparsing - yaml.v3 for configuration parsing
- google/uuid for crawl job IDs
- x/sync for the weighted semaphores that cap concurrency
Frequently asked questions
What is doc-scraper MCP Server?
Crawl documentation sites into local corpora agents can search, read, and diff fully offline.
How do I install doc-scraper MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. doc-scraper MCP Server runs locally from the MCP bundle https://github.com/Sriram-PR/doc-scraper/releases/download/v2.29.0/doc-scraper.mcpb with the command npx -y https://github.com/Sriram-PR/doc-scraper/releases/download/v2.29.0/doc-scraper.mcpb.
Is doc-scraper MCP Server free and open source?
Yes. doc-scraper MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does doc-scraper MCP Server support remote (HTTP) connections?
No remote endpoint is listed for doc-scraper MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is doc-scraper MCP Server's trust score calculated?
doc-scraper MCP Server scores 48 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
