Crawl4AI MCP server
66 operations1 webhook
Crawl4AI web crawling, both ways: a self-hosted Crawl4AI server (crawl to Markdown, HTML, screenshots and PDFs, JavaScript runs, crawl and LLM jobs, browser pool monitoring) and Crawl4AI Cloud (scrape, search, answer, Google SERP, extract, site scans and crawls, pricing pages, email verification, leads, page watches, 98 site tools, batch jobs, billing), plus job webhooks (66 operations).
Try Crawl4AI with your agent
Connect Crawl4AI, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Crawl4AI on my account, then run one read-only example and show me the result.
Crawl4AI tools and triggers
Tools are what your agent can do in Crawl4AI through Corsair's MCP server. Triggers are the Crawl4AI events a routine can start from.
Cloud
- AnswerRead-only
Answer a question directly from the web (optionally as JSON matching a schema), with the sources it drew on; experimental
cloud.answer
- BatchRead-only
Run one tool over many inputs: as a job (up to 10,000; follow with cloud.jobs.*) or streamed in the call (stream true, up to 50, returned as a list)
cloud.batch
- Billing.BalanceRead-only
Your account's credit balance and this month's plan allowance
cloud.billing.balance
- Billing.SubscribeDestructive
Start a monthly plan: returns a Stripe checkout page made for this account (a person pays there)
cloud.billing.subscribe
- Billing.TopupDestructive
Buy extra credits on a plan, charged to the account's saved card (10 to 1,000 dollars)
cloud.billing.topup
- Billing.TopupsRead-only
Your payments, newest first: top-ups, auto recharges and plan charges, with receipts
cloud.billing.topups
- ExtractRead-only
Extract typed records from a page (or your own content) by a plain-English instruction and/or a JSON schema
cloud.extract
- Jobs.CancelDestructive
Stop a job; it ends as paused and keeps what it fetched
cloud.jobs.cancel
- Jobs.GetRead-only
Get a job's state (pending, running, done, paused), counts and cost; free
cloud.jobs.get
- Jobs.ResultsRead-only
Read a job's rows (500 a page, each with seq); page with after = the last seq + 1; free
cloud.jobs.results
- Jobs.RetryRead-only
Run a job's failed pages again (billed like the first run)
cloud.jobs.retry
- LeadRead-only
Find people, companies or industries by filters, or enrich a person or company (email, phone)
cloud.lead
- Monitors.ChangesRead-only
The feed of new matched changes across your watches
cloud.monitors.changes
- Monitors.DeleteDestructive
Stop and delete a page watch
cloud.monitors.delete
- Monitors.EventsRead-only
List a watch's checks and matched changes
cloud.monitors.events
- Monitors.GetRead-only
Get one page watch
cloud.monitors.get
- Monitors.ListRead-only
List your page watches
cloud.monitors.list
- Monitors.UpdateWrite
Change a page watch (what to watch, how often, who to tell) or pause and resume it
cloud.monitors.update
- PriceRead-only
Read websites' pricing pages: every plan, tier, billing period, add-on, trial and discount, per country, each with the page text it came from
cloud.price
- Price HistoryRead-only
Every price read on a site, newest first (one point per change), up to 1,000; 1 credit
cloud.priceHistory
- PricesRead-only
The public price table: credits per tool, the free grants, the plans and their limits
cloud.prices
- ReportWrite
Send Crawl4AI's team a report about a failed, slow or wrong call (never include keys or personal data); at most 5 an hour
cloud.report
- ScanRead-only
List every URL of a site from its sitemaps and home page links (optionally Common Crawl and the Wayback Machine), without crawling
cloud.scan
- ScrapeRead-only
Fetch one page as clean Markdown and/or HTML (cache, then HTTP, then a browser), with optional links, media, metadata and tables
cloud.scrape
- SearchRead-only
Web search: ranked results (title, url, snippet), with rich blocks (follow-ups, entity card, news) or the top pages read in full (deep)
cloud.search
- SerpRead-only
Google's results page as data: organic ranks plus every block (AI overview, people also ask, local pack, ads ...), localised to a country or city; beta
cloud.serp
- SiteRead-only
Crawl a site level by level from a start URL into Markdown or HTML, as a job (follow it with cloud.jobs.get and cloud.jobs.results)
cloud.site
- Tools.EstimateRead-only
Price a run before it runs, with the same inputs; free
cloud.tools.estimate
- Tools.GetRead-only
Get one tool's full definition: inputs, output columns, cost, examples and status; free
cloud.tools.get
- Tools.ListRead-only
Find tools in the catalog (11 essentials for any site and site tools for named sites): search with q, or filter by category, source (site), kind, status or essential; free, no credits
cloud.tools.list
- Tools.RunRead-only
Run any tool by id with its inputs (site tools such as amazon-reviews, youtube-captions, linkedin-profile; read the inputs with cloud.tools.get first); costs credits
cloud.tools.run
- Tools.StatusRead-only
Get a tool's status from its daily check (verified, beta, failing); free
cloud.tools.status
- VerifyRead-only
Check whether an email address can receive mail (no mail is sent), a list of up to 1,000, or a domain's mail setup
cloud.verify
- WatchWrite
Watch a page and get told (email, webhook or the changes feed) when the change you describe happens; each check costs credits
cloud.watch
Server
- Artifacts.GetRead-only
Download an artifact a crawl stored (a screenshot, PDF or MHTML), as a file
server.artifacts.get
- AskRead-only
Search Crawl4AI's own library documentation and code context (for agents writing Crawl4AI code)
server.ask
- Config DumpRead-only
Check a config in its JSON form ({ type: CrawlerRunConfig or BrowserConfig, params }) and get it back with every default the server fills in
server.configDump
- CrawlRead-only
Crawl one or more URLs and wait for the results: Markdown, HTML, links, media, tables, metadata, extracted content, with browser and crawler configs
server.crawl
- Crawl Jobs.CreateRead-only
Queue a crawl of one or more URLs with browser and crawler configs; poll server.crawlJobs.get or pass webhook_config
server.crawlJobs.create
- Crawl Jobs.GetRead-only
Get the state and, once completed, the results of a crawl job
server.crawlJobs.get
- Crawl StreamRead-only
Crawl URLs and collect each result as the server streams it (NDJSON, returned as a list)
server.crawlStream
- Execute JsWrite
Run JavaScript snippets in a page (they can click, type and submit) and return the crawl result with each snippet's return value
server.executeJs
- HealthRead-only
Check the server is up and get its version
server.health
- HooksRead-only
List the declarative hook actions the server allows, with their parameters
server.hooks
- HtmlRead-only
Fetch a page as preprocessed HTML (scripts and styles removed), for schema building
server.html
- LlmRead-only
Answer a question about a page with the server's configured LLM
server.llm
- Llm Jobs.CreateRead-only
Queue an LLM extraction of a page: a question or instruction `q` (and optional JSON schema) answered from the page by the server's configured LLM; poll server.llmJobs.get or pass webhook_config
server.llmJobs.create
- Llm Jobs.GetRead-only
Get the state and, once completed, the result of an LLM extraction job
server.llmJobs.get
- MarkdownRead-only
Fetch a page as Markdown, raw or filtered (fit, bm25 with a query, llm with an instruction)
server.markdown
- Mcp SchemaRead-only
Get the server's MCP tools and resources as JSON
server.mcpSchema
- MetricsRead-only
Prometheus metrics of the server (returned as text)
server.metrics
- Monitor.BrowsersRead-only
List the browsers in the pool (hot, cold, permanent) with their age and use
server.monitor.browsers
- Monitor.CleanupWrite
Close idle browsers and free memory now
server.monitor.cleanup
- Monitor.Endpoint StatsRead-only
Get request counts, latency and errors per endpoint
server.monitor.endpointStats
- Monitor.Error LogRead-only
Read the server error log
server.monitor.errorLog
- Monitor.HealthRead-only
Get the server health: memory, CPU, uptime and the browser pool
server.monitor.health
- Monitor.Janitor LogRead-only
Read the browser-pool janitor log
server.monitor.janitorLog
- Monitor.Kill BrowserDestructive
Kill one browser of the pool by its signature (crawls running in it fail)
server.monitor.killBrowser
- Monitor.RequestsRead-only
List recent requests to the server, filtered by status
server.monitor.requests
- Monitor.Reset StatsDestructive
Reset the server's request statistics (they can't be restored)
server.monitor.resetStats
- Monitor.Restart BrowserWrite
Restart one browser of the pool by its signature
server.monitor.restartBrowser
- Monitor.TimelineRead-only
Get a metric (memory, requests, browsers) over a time window
server.monitor.timeline
- PdfRead-only
Render a page as a PDF (returned as a file)
server.pdf
- SchemaRead-only
Get the default BrowserConfig and CrawlerRunConfig as JSON, to start a config from
server.schema
- ScreenshotRead-only
Take a full-page screenshot of a page (returned as a PNG file)
server.screenshot
- TokenWrite
Get a JWT for an email address (servers with JWT auth on; api_token is the server secret when one is set)
server.token
Connect Crawl4AI to Claude, ChatGPT or Cursor
- 1
Connect Crawl4AI in Corsair
Add your Crawl4AI API key once in Corsair. Corsair stores the credential encrypted and makes the Crawl4AI API calls for your agent, so it never goes into a prompt or a config file. Connect Crawl4AI
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Crawl4AI. On a ChatGPT personal plan, connect Crawl4AI here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Crawl4AI's read and write operations run right away and its 6 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/crawl4ai, add the Crawl4AI plugin, and connect with an API key. Then call methods like corsair.crawl4ai.api.cloud.answer() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Crawl4AI requires an API key from your Crawl4AI account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Crawl4AI, GitHub, Notion, Stripe, and the rest. Trigger Crawl4AI from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for Crawl4AI web crawling, both ways: a self-hosted Crawl4AI server (crawl to Markdown, HTML, screenshots and PDFs, JavaScript runs, crawl and LLM jobs, browser pool monitoring) and Crawl4AI Cloud (scrape, search, answer, Google SERP, extract, site scans and crawls, pricing pages, email verification, leads, page watches, 98 site tools, batch jobs, billing), plus job webhooks (66 operations). Common builds include sync jobs, admin tooling, and agents that call Crawl4AI APIs from your backend. Webhook handlers react to Crawl4AI events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Crawl4AI API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/crawl4ai in the open repo. When Crawl4AI ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Crawl4AI data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Crawl4AI data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Crawl4AI on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 6 destructive Crawl4AI operations. You can change a link's mode at hub.corsair.dev/me.