crawler-mcp
Click on "Install 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-mcpFetch 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).
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.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shadab15github/crawler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server