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 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.
Turn any URL into clean Markdown and structured data. Scrape, crawl, search and extract.
Web scraping to clean Markdown with JS rendering, multi-page crawl, structured extract, sitemaps.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceScrapes 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.8 npm48Apache 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.26 npmMIT
- AlicenseNot gradedqualityBmaintenanceConverts web pages to Markdown for MCP clients like Claude, with support for single and batch reads, caching, fallback rendering, and SSRF protection.13 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables scraping single pages or crawling entire websites, converting content to markdown and optionally extracting structured data with Claude.-