The Anansi MCP Server
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., "@The Anansi MCP Serverscrape the top 10 headlines from https://news.ycombinator.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.
The spider that learns.
A self-healing web scraper for hostile sites — and it's driveable by any LLM.
Every scraper starts working. The question is how long before it breaks. Anansi is built on a different assumption: the web is adversarial and unstable, and your scraper should handle that without your involvement.
When a site changes its layout, Anansi finds the data anyway and remembers the fix. When a page needs a browser to render, it switches to one silently. When bot detection gets in the way, it presents a coherent identity — matched TLS fingerprint, persona, and headers — that works to slip past detection instead of tripping it. And when you re-crawl, unchanged pages are skipped before a request is even made. The result is a crawler that survives redesigns, handles hostile sites, and gets better the longer it runs.
Ships with an MCP server so any LLM can drive a full crawl through conversation.
Highlights
Selectors that repair themselves — CSS selectors carry confidence scores; when one breaks, four healing strategies compete and the winner is persisted. How it works →
A browser only when you need one — every response is checked for JS shells and silently retried in a stealth Playwright browser, cached per domain. How it works →
A coherent anti-bot identity — matched TLS/HTTP-2 fingerprint, persona, and headers, with vendor-aware handling of Cloudflare, Akamai, and DataDome, plus an opt-in Patchright engine for CDP-level stealth. Anti-bot & identity →
Re-crawls that skip the unchanged — ETag, Last-Modified, content hashing, and sitemap
<lastmod>filtering skip pages before the request goes out. Capabilities →Data you can trust — attach a Pydantic
item_schemaand every scraped item is validated and coerced before it hits your database. Getting started →Driveable by any LLM — a FastMCP server exposes 17 tools so an agent can fetch, extract, crawl, and screenshot through conversation. MCP server →
See the full capability reference for everything else — proxy rotation, adaptive rate limiting, URL canonicalization, JS interaction, network capture, and more.
Related MCP server: crw-mcp
Install
# Core install
pip install "git+https://github.com/mdowis/anansi"
# For browser-based fetching (Cloudflare bypass, JS rendering):
playwright install chromium
# For TLS-fingerprint mimicry (curl-cffi impersonation):
pip install "anansi-scraper[tls] @ git+https://github.com/mdowis/anansi"
# Optional: the Patchright stealth browser engine (opt-in via ANANSI_BROWSER_ENGINE=patchright):
pip install "anansi-scraper[patchright] @ git+https://github.com/mdowis/anansi"
patchright install chromiumFull install matrix, extras, and Windows notes are in Getting started.
Quickstart
from pydantic import BaseModel
from anansi import Crawler
from anansi.core import Item, Request, Response
from anansi.spider.spider import Spider
class ProductItem(BaseModel):
title: str
price: float # "49.99" strings are auto-coerced
sku: str | None = None
class ShopSpider(Spider):
name = "shop"
start_urls = ["https://shop.example.com/products"]
item_schema = ProductItem # validate every yielded item against this model
async def parse(self, response: Response):
for link in response.css("a.product-link"):
yield Request(response.urljoin(link["href"]), callback="parse_product")
async def parse_product(self, response: Response):
yield Item({"title": response.css("h1")[0].get_text(), "url": response.url})
# Self-healing, browser auto-upgrade, adaptive rate limiting, and incremental
# re-crawls are all on by default.
crawler = Crawler(ShopSpider, concurrency=10, max_pages=1000)
async for item in crawler.run():
print(item.data)More examples — structured-data extraction, pausing and resuming, proxies, exporting — in Getting started.
Drive it from any LLM
Anansi ships a FastMCP server exposing 17 scraping tools over stdio or SSE, so an LLM agent can run a full crawl through conversation:
# Register with Claude Code
claude mcp add anansi -- anansi-mcpWorks with Claude Code, Claude Desktop, Cursor, Windsurf, ChatGPT, LangChain, and the OpenAI Agents SDK. Setup for each is in the MCP server guide.
Documentation
Getting started — install, first fetch and crawl, the CLI.
Capabilities — the full feature reference.
How it works — self-healing extraction, browser auto-upgrade, and adaptive rate limiting internals.
Anti-bot & identity — TLS fingerprint mimicry, coherent personas, crawler impersonation, vendor-aware escalation, sticky sessions, proxy scoring, CAPTCHA, operator controls.
MCP server — run the server and drive Anansi from any LLM (all client configs).
Architecture — package layout at a glance.
Legal / Acceptable Use
Anansi is a powerful scraping tool. You are solely responsible for how you use it. Before
scraping any site, ensure you have the right to access and use the data and that you comply with
the site's Terms of Service, its robots.txt, applicable rate limits, and all relevant laws
(including computer-misuse statutes such as the CFAA and data-protection law such as GDPR/CCPA).
The anti-bot, TLS-fingerprint-impersonation, and Cloudflare-handling features are intended for
authorized testing, research, and scraping of content you have the right to access — not for
circumventing access controls without permission. See DISCLAIMER.md for the
full statement and Anti-bot & identity for operator
controls.
License
Licensed under the Apache License, Version 2.0 — see LICENSE and
NOTICE. Use of this software is additionally subject to the acceptable-use terms in
DISCLAIMER.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud scraping & crawling API for AI agents. Turn any URL into clean, LLM-ready markdown.
Web scraping for AI agents: scrape, search, crawl, map any website to markdown + JSON. No browser.
Web scraping for agents. Point it at a URL and it returns the page as clean markdown, JavaScript-rendered pages included. Point it at a site and it maps the URLs or crawls the section you need in the background, a few pages at a time so results fit in the conversation. Search the web and read full pages, extract fields with a JSON schema you define (validated, never invented), read a store's catalogue or a blog's posts from the platform's own feed, and check whether a page has changed. Failed requests cost nothing. The free plan includes 1,500 credits a month.
Related MCP Servers
- AlicenseAqualityAmaintenanceWeb content extraction for AI agents. 10 tools: scrape, crawl, map, batch, extract, summarize, diff, brand, search, research. Uses TLS fingerprinting to bypass anti-bot without a headless browser. Outputs LLM-optimized markdown with 67% fewer tokens than raw HTML.102,381AGPL 3.0
- AlicenseAqualityAmaintenanceWeb scraping, crawling, and structured data extraction for AI agents. 5 tools: scrape (clean markdown from any URL), crawl (entire sites), map (discover URLs), extract (structured JSON), and search. 833ms avg latency, single binary, self-hostable.81,136AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables autonomous web agents to prune raw HTML into accessibility-friendly semantic trees with 80%+ token reduction, auto-map form input schemas, convert HTML/Markdown tables into type-inferred JSON records, and score agent execution trajectories. Runs as a zero-dependency, stdlib-only MCP stdio server for Claude Desktop, Cursor, and Windsurf.7MIT

Spicrawl MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI agents in Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI and Codex to scrape web pages into Markdown, text, HTML, JSON or PDF, extract structured data with selectors or autoparse, capture screenshots and PDFs the model can see, drive pages with typed browser actions, keep logged-in persistent browser sessions, and batch-scrape thousands of URLs as async jobs. It also exposes usage, request-log and documentation tools so agents can check costs, diagnose failures and look up parameters without leaving the chat.25Apache 2.0