crawler-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., "@crawler-mcp Fetch the text content of https://example.com"
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.
crawler-mcp
A web-crawler MCP server, built in the same style as weather-mcp
(TypeScript + @modelcontextprotocol/sdk + Express + Zod).
It fetches pages with a fast axios + cheerio path and automatically falls back to a Playwright headless browser when a page needs JavaScript to render. Designed to be used as a Claude connector (local stdio or remote HTTP).
Tools
Tool | What it does |
| Fetch one URL and return its content as Markdown, text, or raw HTML. |
| List all hyperlinks on a page (absolute URLs, optional same-domain filter). |
| Recursively crawl from a start URL up to a max depth/page count. |
| Pull specific data via a CSS selector (text or an attribute). |
Each tool accepts a render option: auto (default — static first, browser if
needed), static (never use a browser), or browser (always render with
Playwright).
Related MCP server: turbowebfetch
Setup
cd crawler-mcp
npm install
# Optional — only needed for JavaScript-heavy / SPA sites:
npx playwright install chromium
cp .env.example .env # then edit if you wantRun
# Local (stdio) — for Claude Desktop:
npm start
# Remote (HTTP) — for a custom/remote connector:
npm run start:http # serves http://localhost:3001/mcpUse it as a Claude connector
Claude Desktop (local, stdio)
Add to your claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"crawler": {
"command": "npx",
"args": ["tsx", "D:\\MCP\\crawler-mcp\\server.ts"]
}
}
}Restart Claude Desktop. The four crawler tools appear under the connectors menu.
Remote HTTP connector (claude.ai / Desktop "Add custom connector")
Start the server in HTTP mode and expose it over HTTPS (e.g. behind a reverse proxy or a tunnel such as
cloudflared/ngrok):npm run start:httpIn Claude → Settings → Connectors → Add custom connector, enter the URL:
https://your-host/mcp
Remote connectors on claude.ai generally require a public HTTPS URL.
http://localhost:3001/mcpworks for local testing tools but not for the hosted claude.ai web app.
Configuration (.env)
Variable | Default | Purpose |
|
|
|
|
| Port for HTTP mode. |
|
| User-Agent for all requests. |
|
| Per-request timeout. |
|
| Default cap on returned page content. |
Notes
Fetched pages are cached in memory for 5 minutes to avoid refetching during a crawl.
crawl_siteis bounded (max_depth ≤ 3,max_pages ≤ 50) and adds a politeness delay between requests.Playwright is an optional dependency — if it isn't installed,
render: autostill works for static sites andrender: browserreturns a clear error.This server does not currently parse
robots.txt; crawl responsibibly and only sites you are authorized to crawl.
Available Tools
4 toolscrawl_siteA
Recursively crawl a website starting from a URL, following links up to a maximum depth and page count. Returns a short content summary for each page visited. Stays on the same domain by default.
Inputs: start_url (required), max_depth, max_pages, same_domain, +4 more.
extract_by_selectorB
Extract specific data from a page using a CSS selector. Returns each matching element's text, or an attribute value when attribute is given (e.g. selector='a.product', attribute='href').
Inputs: url (required), selector (required), attribute, limit, +1 more.
extract_linksB
Extract all hyperlinks from a web page, resolved to absolute URLs. Optionally restrict to links on the same domain.
Inputs: url (required), same_domain, limit, render.
fetch_pageA
Fetch a single web page and return its readable content as Markdown, plain text, or raw HTML. Automatically renders JavaScript-heavy pages with a headless browser when needed.
Inputs: url (required), format, render, max_chars.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: crawl_site handles multi-page crawling with summaries, fetch_page retrieves single-page content in various formats, extract_links focuses on hyperlinks, and extract_by_selector targets specific elements via CSS selectors. There is no overlap or ambiguity between them.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., crawl_site, extract_links). The naming is predictable and intuitive, making it easy for an agent to infer functionality from the name.
With 4 tools, the server covers the core operations of web crawling and extraction without being overly large. The count is slightly on the lower side but still well-scoped for its purpose, and each tool earns its place.
The tool set covers the essential workflow: fetching pages, crawling sites, extracting links, and extracting specific elements. Minor gaps exist, such as the absence of tools for setting request headers or handling authentication, but the core functionality is solid.
Maintenance
Related MCP Connectors
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Turn any public website into an MCP server for agents to search, read and navigate.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA lightweight web scraping server that allows Claude Desktop users to extract various types of data from websites, including text, links, images, tables, headlines, and metadata using CSS selectors.4-
- AlicenseAqualityBmaintenanceMCP server that lets Claude Code fetch web content using real Chrome browsers. Renders JavaScript-heavy pages, handles bot mitigation, and runs up to 14 parallel browsers locally with zero API keys. Makes outbound HTTP requests only to URLs the user explicitly asks Claude to fetch.214 npm91MIT
- AlicenseNot gradedqualityDmaintenanceAn open-source web retrieval MCP server that fetches, crawls, and searches the web, returning clean markdown for AI agents. It integrates with Claude MCP, LangChain, and other frameworks for agentic web access.2MIT
- AlicenseNot gradedqualityDmaintenanceA high-performance MCP server for web fetching in Claude Code using Firecrawl backend with automatic fallback.2MIT