WebScribe
Crawls and indexes Ant Design component documentation via the component-docs crawler, making component usage and API docs searchable by AI agents.
Crawls Chakra UI component documentation through the component library crawler, indexing component pages and sub-tabs for searchable retrieval.
Site profile for MkDocs Material sites, allowing Django documentation to be crawled and indexed into searchable heading-based chunks.
Site profile with Docusaurus-specific CSS extractors, enabling clean Markdown extraction and chunked indexing of Docusaurus v2/v3 documentation sites such as React's docs.
Site profile for MkDocs Material sites, so FastAPI documentation can be crawled, chunked by heading, and searched with BM25 ranking.
Works with MUI docs and component pages; the crawler can index MUI Button/API/loading docs so agents can search for props and examples instead of full-page dumps.
Crawls nextjs.org/docs (with version tagging and URL globs) so Next.js documentation can be indexed and searched per version.
Site profile with Nextra-specific extractors for crawling Nextra-based documentation sites and converting them into searchable Markdown chunks.
Crawls React documentation sites built with Docusaurus, indexing pages by heading breadcrumbs for full-text search.
ReadTheDocs/Sphinx site profile enabling crawling and indexing of Sphinx-generated documentation and ReadTheDocs.io content.
Dedicated site profile to extract and index stripe.com/docs content for searchable API documentation retrieval.
Covered by the Nextra profile, allowing SWR documentation to be crawled, chunked, and searched.
Covered by the Nextra profile so Vercel documentation sites can be crawled and indexed for agent search.
Covered by the VitePress profile, allowing Vite documentation to be crawled and indexed into heading-based chunks.
Site profile with VitePress-specific CSS extractors for clean Markdown extraction and semantic chunking of VitePress documentation sites.
Covered by the VitePress profile, so Vitest documentation can be crawled and made searchable via FTS5 BM25 search.
VitePress profile supports Vue.js documentation, indexing pages at heading boundaries for precise retrieval.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
What is WebScribe?
WebScribe is an MCP server that crawls any public documentation website and makes it instantly searchable by AI agents. Think of it as a scribe sitting between your copilot and the internet — reading docs, understanding their structure, and delivering precise, context-rich answers.
Agent asks: "How do I add a loading spinner to an MUI Button?"
↓
WebScribe searches its locally indexed chunks
↓
Returns: {
heading_path: ["Button", "Loading", "API"],
content: "Use the `loading` prop on LoadingButton from @mui/lab.
<LoadingButton loading variant='contained'>Submit</LoadingButton>",
score: 4.1
}No more hallucinations from outdated training data. No more full-page dumps. Just the right chunk of the right doc, every time.
Related MCP server: LocalDocs MCP
✨ Features
Feature | Description |
⚡ FTS5 Full-Text Search | SQLite FTS5 with BM25 relevance ranking — not |
🧠 Semantic Chunking | Splits pages at H1/H2/H3 boundaries with full breadcrumb |
🚀 Concurrent Crawling | 3 parallel Playwright pages via |
🗺️ Sitemap Discovery | Auto-fetches |
🤖 robots.txt Compliance | Respects allow/disallow + |
🔄 Smart Re-crawl | ETag / Last-Modified check — unchanged pages are skipped automatically |
🎯 Site Profiles | Bundled per-framework CSS extractors (Docusaurus, VitePress, MkDocs, Nextra…) |
💻 Code Language Detection | Detects |
📦 Structured JSON Output | Search returns |
🔒 MIT Only | Zero GPL / LGPL / copyleft dependencies |
🚀 Quick Start
Use via npx (recommended)
Add to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.):
{
"mcpServers": {
"webscribe": {
"command": "npx",
"args": ["-y", "webscribe-mcp@latest"]
}
}
}Run locally
git clone https://github.com/yourname/http-crawl-mcp
cd http-crawl-mcp
npm install
npm run devRequirements: Node.js ≥ 18, macOS / Linux / Windows (WSL recommended)
🛠️ MCP Tools
read_and_extract_page
Visits a single URL, strips navigation/sidebars, and returns clean Markdown with language-tagged code blocks.
// Input
{ "url": "https://cube.dev/docs/product/data-modeling/overview" }crawl_documentation_site
BFS crawl from a starting URL. Discovers pages via sitemap.xml first, then link-following.
Respects robots.txt. Skips unchanged pages. Expands sub-tabs automatically.
// Input
{
"start_url": "https://nextjs.org/docs",
"max_pages": 50,
"version": "v15",
"url_glob": "**/docs/**",
"expand_tabs": true
}
// Output
{ "crawled_count": 47, "urls": ["https://nextjs.org/docs/...", "..."] }search_crawled_docs
BM25-ranked full-text search over all indexed chunks. Returns structured JSON with heading breadcrumbs.
// Input
{ "query": "button aria label accessibility" }
// Output
{
"results": [
{
"url": "https://saltdesignsystem.com/salt/components/button/accessibility",
"title": "Button — Salt Design System",
"heading_path": ["Button", "Accessibility", "Keyboard Navigation"],
"content": "The button component supports Space and Enter key activation...",
"score": 3.82,
"version": "latest"
}
]
}
heading_pathis the key differentiator — agents get full breadcrumb context so they know exactly where in the docs the answer sits.
crawl_component_docs
Two-phase crawler for component library index pages.
Phase 1 discovers component links. Phase 2 crawls each component + sub-tabs (/usage, /examples, /api, /accessibility) concurrently.
{ "index_url": "https://saltdesignsystem.com/salt/components/", "max_pages": 200 }Works with Salt DS, MUI, Ant Design, Chakra UI, Radix, and any similar design system.
get_document
Retrieves the full cached Markdown for a specific URL. Use when a search chunk needs more surrounding context.
{ "url": "https://nextjs.org/docs/routing/introduction", "version": "v15" }get_index_stats
Returns the total pages and semantic chunks in the local index.
// Output
{ "total_pages": 142, "total_chunks": 891 }⚙️ Architecture
┌─────────────────────────────────────────────────────────┐
│ MCP Client (Cursor · Claude Desktop · Copilot) │
└────────────────────────┬────────────────────────────────┘
│ JSON-RPC / stdio
┌────────────────────────▼────────────────────────────────┐
│ WebScribe MCP Server │
│ src/index.ts │
└──────┬──────────────────────────┬───────────────────────┘
│ │
┌──────▼──────────┐ ┌──────────▼──────────────────────┐
│ crawler.ts │ │ db.ts (SQLite WAL) │
│ │ │ │
│ sitemap.ts │ │ documents_v2 url·version·etag │
│ robots.ts │ │ chunks heading_path·text │
│ profiles.ts │ │ chunks_fts FTS5 BM25 index │
│ chunker.ts │ └──────────────────────────────────┘
│ utils.ts │
└─────────────────┘Crawl pipeline
Step | What happens |
① Sitemap | Fetch |
② robots.txt | Parse once per domain, cache in-memory, skip disallowed URLs |
③ ETag check | HEAD request — skip pages whose |
④ Playwright | Full SPA render + reveal hidden content (show-code buttons, accordions) |
⑤ Profile match | Framework-specific CSS selectors (or generic |
⑥ Noise removal | Strip nav, sidebar, footer, cookie banners, ads |
⑦ Markdown | Turndown + GFM + explicit code language tags |
⑧ Chunking | Split at H1/H2/H3 → |
⑨ Persist | Full doc + chunks stored; FTS5 index updated via SQLite triggers |
🎯 Supported Frameworks
Profile | Matched Sites |
Docusaurus | React, any Docusaurus v2/v3 site |
VitePress | Vue.js docs, Vite, Vitest |
MkDocs Material | FastAPI, Django, Python ecosystem |
Nextra | Vercel docs, SWR, Next.js |
ReadTheDocs / Sphinx | Python, ReadTheDocs.io |
Cube.dev | cube.dev/docs |
Stripe | stripe.com/docs |
Generic | Everything else — semantic |
💾 Storage
Data is stored in ~/.universal-docs-mcp/documents.db — survives npx package updates.
~/.universal-docs-mcp/documents.db
├── documents_v2 — full page markdown per (url, version), with etag cache headers
├── chunks — heading-based sections with JSON heading_path breadcrumb
└── chunks_fts — FTS5 virtual table powering BM25 search Multiple doc versions coexist: crawl with version: "v14" and version: "v15" — they live side by side.
🧪 Tests
# Unit tests — no browser, ~5 seconds
npm run test:unit
# Live integration test — Playwright crawl of cube.dev
npm run test:integration
# Full suite
npm testTest file | Tests | What it covers |
| 5 | Heading splitting, breadcrumbs, preamble, stack reset, edge cases |
| 3 | Live allow/disallow (example.com, httpbin.org), cache re-use |
| 3 | Missing sitemap fallback, live parse (1044 URLs from cube.dev), path filter |
| 5 | FTS5 insert+search, BM25 ranking, ETag cache, empty result |
| 6 | End-to-end: crawl → chunk → FTS5 search (live against cube.dev) |
Smoke tests (manual/interactive):
npm run smoke:extraction # Single page extract on example.com
npm run smoke:crawler # BFS crawler on turndown.js.org
npm run smoke:card # Salt DS Card component extraction
npm run smoke:mcp-client # All 6 MCP tools via stdio
npm run smoke:mcp-crawl # Full crawl + search flow via MCP📦 Dependencies
All runtime dependencies are MIT licensed — no GPL, LGPL, or copyleft.
Package | Purpose | License |
| MCP server protocol | MIT |
| Headless Chromium SPA rendering | Apache-2.0 ¹ |
| SQLite + FTS5 storage | MIT |
| HTML DOM parsing | MIT |
| HTML → Markdown + GFM tables | MIT |
| Concurrency pool | MIT |
| robots.txt parsing & compliance | MIT |
¹ Apache-2.0 is permissive (not copyleft). The Chromium binary uses the BSD-style Chromium license.
📄 License
MIT © Rohit
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Crawls any documentation or SaaS site and compiles a standards-compliant /llms.txt manifest and J.
Turn any public website into an MCP server for agents to search, read and navigate.
Scrape, crawl and search the web for AI agents via MCP.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceIndex any documentation website and search it from AI coding assistants via the Model Context Protocol (MCP).7 npm11MIT
- FlicenseNot gradedqualityNot gradedmaintenanceCreates a local database of indexed technical documentation from web crawls and local files, enabling AI agents to efficiently search and retrieve documentation through MCP tools.1-
- AlicenseAqualityDmaintenanceScrapes, stores, and searches documentation locally, enabling AI assistants to access and query documentation via MCP.114MIT
- AlicenseNot gradedqualityBmaintenanceCrawl documentation sites, index them with hybrid search, and expose them as MCP tools so LLM agents can search and retrieve current docs.MIT