scrape-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@scrape-mcpconvert https://example.com to clean markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Scrape CLI
Standalone web scraper that converts pages to markdown. No Docker, Redis, or API server needed.
Install
npm install
npm link # makes `scrape` available globallyQuick Start
scrape https://example.com # markdown to stdout
scrape https://example.com -o out.md # save to file
scrape url1 url2 url3 -o ./pages/ # multiple URLs to directory
cat urls.txt | scrape -o ./output/ # pipe URLs from stdin
scrape map https://example.com # discover all URLs on domain
scrape crawl https://example.com --depth 2 # crawl and scrape pages (BFS)Features
Multiple output formats — markdown (default), html, json (
-f html,-f json)Smart content extraction — expanded selector list with scoring heuristic fallback
Map — sitemap + HTML link discovery, filtering, dedup
Crawl — BFS traversal, depth control, robots.txt respect, delay, include/exclude filters
Metadata — title, description, author via
--metadatacurl fallback — handles bot-blocking sites (e.g. StackOverflow)
Full page mode —
--fullto skip content extraction
File Structure
src/scrape.mjs CLI entry point, subcommand routing
lib/
constants.mjs Headers, selectors, blocked extensions
html.mjs HTML cleanup, markdown conversion, content scoring
scraper.mjs HTTP fetch + curl fallback, scrape orchestrator
markdown-twin.mjs Fetches the site's own .md version of a page
twitter.mjs Twitter/X handler via FxTwitter API + oEmbed
links.mjs Link extraction, URL filtering, normalization
sitemap.mjs Sitemap/robots.txt parsing
output.mjs File/directory output helpers
worker/ Cloudflare Workers MCP server
docs/ DocumentationTech Stack
Node.js ESM, cheerio, turndown + GFM plugin, native fetch with curl fallback.
See docs/ for detailed usage, architecture, and contributing guides.
This server cannot be deployed
Maintenance
Related MCP Connectors
Web pages and whole sites to clean Markdown for RAG and AI agents. Crawls links and sitemaps.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Cloud scraping & crawling API for AI agents. Turn any URL into clean, LLM-ready markdown.
Web pages and PDFs to clean, LLM-ready Markdown with token counts, small crawls and RAG chunks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceScrapes webpages and converts them to markdown using AI-powered interaction to automatically handle cookie banners, CAPTCHAs, paywalls, and other blocking elements before extracting clean content.25 npm47Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables conversion of webpages to clean markdown with content quality scoring and multi-page crawling for documentation sites. Supports Claude Code, Cursor, and Windsurf with native LangChain and LlamaIndex export formats.28 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables scraping single pages or crawling entire websites, converting content to markdown and optionally extracting structured data with Claude.-
- AlicenseNot gradedqualityDmaintenanceConverts any webpage into clean, LLM-ready Markdown, removing noise and supporting JavaScript rendering.MIT