by any4ai
AnyCrawl offers advanced web scraping and internet scraping with flexible depth limits. Scrape any website and extract s
Scrapes web pages and crawls entire websites using the AnyCrawl API, extracting content in multiple formats with configurable depth limits.
AnyCrawl is an official MCP server published by any4ai that provides AI assistants with tools and capabilities via the Model Context Protocol. AnyCrawl offers advanced web scraping and internet scraping with flexible depth limits. Scrape any website and extract s It is categorized under search web.
You can install AnyCrawl in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
AnyCrawl is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Fetch and extract information from websites automatically
Example
Research competitor pricing, scrape product reviews, monitor news mentions
Automate 5-10 hours/week of manual web research
Track website changes, new content, price updates
Example
Monitor competitor blog for new posts, track stock availability, watch for pricing changes
Stay informed without manual checking, never miss important updates
Extract structured data from multiple websites
Example
Compile product listings from 10 e-commerce sites, aggregate job postings, collect real estate data
Build datasets 100x faster than manual copying
Share your MCP server with the developer community
AnyCrawl reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
AnyCrawl has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
We evaluated AnyCrawl against two servers with overlapping tools; this profile had the clearer scope statement.
AnyCrawl is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
I recommend AnyCrawl for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
AnyCrawl is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
We wired AnyCrawl into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Strong directory entry: AnyCrawl surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Strong directory entry: AnyCrawl surfaces stars and publisher context so we could sanity-check maintenance before adopting.
AnyCrawl reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 45
🚀 AnyCrawl MCP Server — Powerful web scraping and crawling for Cursor, Claude, and other LLM clients via the Model Context Protocol (MCP).
ANYCRAWL_API_KEY=YOUR-API-KEY npx -y anycrawl-mcp
npm install -g anycrawl-mcp-server
ANYCRAWL_API_KEY=YOUR-API-KEY anycrawl-mcp
AnyCrawl MCP Server supports two deployment modes: Cloud Service (recommended) and Self-Hosted.
Use the AnyCrawl cloud service at mcp.anycrawl.dev. No server setup required.
# Only need your API key
export ANYCRAWL_API_KEY="your-api-key-here"
Cloud endpoints:
https://mcp.anycrawl.dev/{API_KEY}/mcphttps://mcp.anycrawl.dev/{API_KEY}/sseFor self-hosted deployments, configure the base URL to point to your own AnyCrawl API instance:
export ANYCRAWL_API_KEY="your-api-key-here"
export ANYCRAWL_BASE_URL="https://your-api-server.com" # Your self-hosted API URL
For local development with custom host/port:
export ANYCRAWL_HOST="127.0.0.1" # Default: mcp.anycrawl.dev (cloud)
export ANYCRAWL_PORT="3000" # Default: 3000
ANYCRAWL_API_KEY environment variable (see above).AnyCrawl MCP Server supports the following deployment modes:
Default mode is STDIO (no env needed). Set ANYCRAWL_MODE to switch.
| Mode | Description | Best For | Transport |
|---|---|---|---|
STDIO | Standard MCP over stdio (default) | Command-type MCP clients, local tooling | stdio |
MCP | Streamable HTTP (JSON, stateful) | Cursor (streamable_http), API integration | HTTP + JSON |
SSE | Server-Sent Events | Web apps, browser integrations | HTTP + SSE |
# Development (local)
npm run dev # STDIO (default)
npm run dev:mcp # MCP mode (JSON /mcp)
npm run dev:sse # SSE mode (/sse)
# Production (built output)
npm start # STDIO (default)
npm run start:mcp
npm run start:sse
# Env examples
ANYCRAWL_MODE=MCP ANYCRAWL_API_KEY=YOUR-KEY npm run dev:mcp
ANYCRAWL_MODE=SSE ANYCRAWL_API_KEY=YOUR-KEY npm run dev:sse
This repo ships a production-ready image that runs MCP (JSON) on port 3000 and SSE on port 3001 in the same container, fronted by Nginx. Nginx also supports API-key-prefixed paths /{API_KEY}/mcp and /{API_KEY}/sse and forwards the key via x-anycrawl-api-key header.
docker compose build
docker compose up -d
Environment variables used in Docker image:
ANYCRAWL_MODE: MCP_AND_SSE (default in compose), or MCP, SSEANYCRAWL_MCP_PORT: default 3000ANYCRAWL_SSE_PORT: default 3001CLOUD_SERVICE: true to extract API key from /{API_KEY}/... or headersANYCRAWL_BASE_URL: default https://api.anycrawl.devConfiguring Cursor. Note: Requires Cursor v0.45.6+.
For Cursor v0.48.6 and newer, add this to your MCP Servers settings:
{
"mcpServers": {
"anycrawl-mcp": {
"command": "npx",
"args": ["-y", "anycrawl-mcp"],
"env": {
"ANYCRAWL_API_KEY": "YOUR-API-KEY"
}
}
}
}
For Cursor v0.45.6:
env ANYCRAWL_API_KEY=YOUR-API-KEY npx -y anycrawl-mcp
On Windows, if you encounter issues:
cmd /c "set ANYCRAWL_API_KEY=YOUR-API-KEY && npx -y anycrawl-mcp"
For manual installation, add this JSON to your User Settings (JSON) in VS Code (Command Palette → Preferences: Open User Settings (JSON)):
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "AnyCrawl API Key",
"password": true
}
],
"servers": {
"anycrawl": {
"command": "npx",
"args": ["-y", "anycrawl-mcp"],
"env": {
"ANYCRAWL_API_KEY": "${input:apiKey}"
}
}
}
}
}
Optionally, place the following in .vscode/mcp.json in your workspace to share config:
{
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "AnyCrawl API Key",
"password": true
}
],
"servers": {
"anycrawl": {
"command": "npx",
"args": ["-y", "anycrawl-mcp"],
"env": {
"ANYCRAWL_API_KEY": "${input:apiKey}"
}
}
}
}
Add this to ~/.codeium/windsurf/model_config.json:
{
"mcpServers": {
"mcp-server-anycrawl": {
"command": "npx",
"args": ["-y", "anycrawl-mcp"],
"env": {
"ANYCRAWL_API_KEY": "YOUR_API_KEY"
}
}
}
}
Add AnyCrawl MCP server using the claude mcp add command:
claude mcp add --transport stdio anycrawl -e ANYCRAWL_API_KEY=your-api-key -- npx -y anycrawl-mcp
Add this to your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"anycrawl": {
"command": "npx",
"args": ["-y", "anycrawl-mcp"],
"env": {
"ANYCRAWL_API_KEY": "YOUR_API_KEY"
}
}
}
}
The SSE (Server-Sent Events) mode provides a web-based interface for MCP communication, ideal for web applications, testing, and integration with web-based LLM clients.
ANYCRAWL_MODE=SSE ANYCRAWL_API_KEY=YOUR-API-KEY npx -y anycrawl-mcp
# Or using npm scripts
ANYCRAWL_API_KEY=YOUR-API-KEY npm run dev:sse
Optional server settings for local/self-hosted deployments:
export ANYCRAWL_PORT=3000 # Default: 3000
export ANYCRAWL_HOST=127.0.0.1 # Set to override cloud default (mcp.anycrawl.dev)
curl -s http://localhost:${ANYCRAWL_PORT:-3000}/health
# Response: ok
For other MCP/SSE clients that support SSE transport, use this configuration:
{
"mcpServers": {
"anycrawl": {
"type": "sse",
"url": "https://mcp.anycrawl.dev/{API_KEY}/sse",
"name": "AnyCrawl MCP Server",
"description": "Web scraping and crawling tools"
}
}
}
or
{
"mcpServers": {
"AnyCrawl": {
"type": "streamable_http",
"url": "https://mcp.anycrawl.dev/{API_KEY}/mcp"
}
}
}
Environment Setup:
# Start SSE server with API key
ANYCRAWL_API_KEY=your-api-key-here npm run dev:sse
Configure Cursor to connect to your HTTP MCP server.
Local HTTP Streamable Server:
{
"mcpServers": {
"anycrawl-http-local": {
"type": "streamable_http",
"url": "http://127.0.0.1:3000/mcp"
}
}
}
Cloud HTTP Streamable Server:
{
"mcpServers": {
"anycrawl-http-cloud": {
"type": "streamable_http",
"url": "https://mcp.anycrawl.dev/{API_KEY}/mcp"
}
}
}
Note: For HTTP modes, set ANYCRAWL_API_KEY (and optional host/port) in the server process environment or in the URL. Cursor does not need your API key when using streamable_http.
anycrawl_scrape)Scrape a single URL and extract content in various formats.
Best for:
Parameters:
url (required): The URL to scrapeengine (required): Scraping engine (playwright, cheerio, puppeteer)formats (optional): Output formats (markdown, html, text, screenshot, screenshot@fullPage, rawHtml, json)proxy (optional): Proxy URLtimeout (optional): Timeout in milliseconds (default: 300000)retry (optional): Whether to retry on failure (default: false)wait_for (optional): Wait time for page to loadinclude_tags (optional): HTML tags to includeexclude_tags (optional): HTML tags to excludejson_options (optional): Options for JSON extractionExample:
{
"name": "anycrawl_scrape",
"arguments": {
"url": "https://example.com",
"engine": "cheerio",
"formats": ["markdown", "html"],
"timeout": 30000
}
}
anycrawl_crawl)Start a crawl job to scrape multiple pages from a website. By default this waits for completion and returns aggregated results using the SDK's client.crawl (defaults: poll every 3 seconds, timeout after 60 seconds).
**B
Interact with services that don't offer APIs
Example
Check form submissions, validate website functionality, test user flows
Automate interactions with any website, even without API
Prerequisites
Time Estimate
20-40 minutes including configuration and testing
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
MCP server handles HTTP requests, HTML parsing, JavaScript rendering (if headless browser), and returns structured data to Claude.
Protocols
Compatibility
✓ Use when
Use for research automation, content monitoring, data aggregation from multiple sources, and when official APIs don't exist. Best for read-only information gathering.
✗ Avoid when
Avoid for sites with APIs (use API instead), sites that explicitly forbid scraping, when data is copyrighted, or for login-required content without proper authorization.