Doc Scraper logo

Doc Scraper

Crawls technical documentation into local Markdown corpora that agents can search, read, monitor, and compare offline.

Install Doc Scraper

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://sriram-pr.github.io/doc-scraper/mcp/claude-code/

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http doc-scraper https://sriram-pr.github.io/doc-scraper/mcp/claude-code/

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

doc-scraper is an MCP server for turning technical documentation websites into local Markdown corpora for agent use. It supports site discovery and configuration, background crawls, live page fetching, offline full-text search, stored-page reads, freshness checks, and crawl diffs. Reach for it when an agent needs reliable access to selected documentation without depending on training data or repeated web searches. The Go-based crawler detects more than 30 documentation frameworks and can resume interrupted work.

Use cases

  • Index selected framework documentation for offline agent search
  • Refresh local documentation corpora on a schedule
  • Compare documentation versions through crawl diffs
  • Read stored reference pages without network access
  • Inspect crawl freshness across multiple documentation sites

Key features

  • Framework detection for more than 30 documentation generators
  • BM25 search with stemming and snippets
  • Resumable background crawls with job control
  • Local Markdown output with page metadata and LLM indexes
  • Freshness reporting and timestamp-based crawl diffs
  • Robots.txt, sitemap, rate-limit, and retry handling

Tools11

What Doc Scraper lets your agent do. Expand a tool for its parameters.

Self-reported~221 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars110Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Doc Scraper works

What doc-scraper does

doc-scraper collects technical documentation from configured websites, converts pages to clean GitHub-Flavored Markdown, and exposes the resulting corpus through MCP. Agents can search stored pages with BM25 full-text search, retrieve page content without making a network request, and inspect changes between crawls. The local output also includes page metadata and generated llms.txt and llms-full.txt files.

The crawler is intended for documentation sites rather than general-purpose web extraction. It recognizes more than 30 documentation generators, including Docusaurus, Starlight, Sphinx, VitePress, Material for MkDocs, and mdBook. Framework detection helps select the main content area, while a Readability fallback handles pages outside the known framework patterns.

How it works

A site is added by giving the command-line tool a documentation URL and a site key. The tool detects the site framework, previews the extraction configuration, validates the content selector, and lets the operator confirm it. Crawling then runs in the background and returns a job ID through MCP. Status can be checked separately, and an active or queued crawl can be cancelled.

Crawls follow robots.txt and sitemaps, apply per-host rate limits, retry with backoff, and can resume after interruption. Staged output protects the last successful copy while new content is being collected. Multiple sites can be crawled in parallel while shared limits control concurrency. Incremental recrawls, watch mode, and crawl history support ongoing documentation maintenance.

Setup and configuration

Install a release binary for Linux, macOS, or Windows, or install the command-line program with Go using the package's @latest target. A Docker image is also available and can mount a local directory for crawl data. Claude Desktop users can install the packaged doc-scraper.mcpb file from a release.

The command-line workflow uses commands such as add, crawl, and search. For MCP access, launch the binary with mcp-server and provide a configuration file. Claude Code can register it over the stdio transport; other MCP clients that support stdio can use the same server process.

Tools and capabilities

  • describe_server returns the server identity, configured sites, and recent crawl jobs for initial orientation.
  • list_sites reports site keys, domains, path prefixes, crawl depth, last-crawl times, and running state.
  • get_page fetches one URL live and returns its Markdown representation.
  • crawl_site, get_job_status, and cancel_crawl manage asynchronous crawl jobs.
  • list_pages enumerates stored page metadata with pagination, while read_page reads saved Markdown without network access.
  • search_docs searches the local corpus using BM25, stemming, and snippets.
  • get_freshness reports staleness from crawl history, and diff_crawl identifies pages added, removed, or changed since a timestamp.

Limitations and notes

Live network access is used only for explicitly requested crawls and page fetches; searches and reads against stored output work offline. JavaScript-only shells are reported rather than saved as empty pages. The crawler follows site rules and rate limits, so collection behavior depends on the target site's accessible structure and content. Local output, state, and crawl history remain on the machine, and the project reports no telemetry, analytics, or account requirement.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Doc Scraper

doc-scraper is an MCP server that connects AI agents to selected technical documentation websites and local crawled copies. Its main tools start and monitor crawls, fetch live pages, search stored Markdown with BM25, read pages offline, list sites and pages, report freshness, and compare crawl changes.

Install a platform binary, use Go's package installation with the `@latest` target, run the published Docker image, or install the `doc-scraper.mcpb` package in Claude Desktop. For MCP, start the binary with `mcp-server` and point it to a configuration file.

Yes, doc-scraper can work with Cursor when configured as a standard stdio MCP server. Start the `mcp-server` command with its configuration file and register that process through the client's MCP settings.

Yes, `search_docs` searches the locally stored corpus without network access, and `read_page` returns saved Markdown the same way. Crawling and `get_page` are the operations that retrieve content from websites.

Use `get_freshness` to report how stale the latest crawl is, and use `diff_crawl` to identify pages added, removed, or changed since a selected timestamp. Both rely on the crawl-history index.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDoc Scraper AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/doc-scraper?style=directory)](https://allmcps.com/mcp/doc-scraper)
HTML Embed
<a href="https://allmcps.com/mcp/doc-scraper"><img src="https://allmcps.com/api/badge/doc-scraper?style=directory" alt="Doc Scraper on AllMCPs" /></a>