Spider MCP server
Connect an AI agent to Spider over the Model Context Protocol. Crawl, scrape, search and extract web data from Claude, Cursor, Windsurf or any MCP client.
Connect
Point your MCP client at https://mcp.spider.cloud/mcp. The first tool call opens an OAuth approval that mints a scoped key, so leave the key out of the command. Clients that cannot open a browser send an API key as a Bearer token. Nothing to install. To run it locally instead, use npx spider-cloud-mcp.
Hosted server (recommended)
# OAuth: run /mcp in Claude Code and approve in the browser claude mcp add --transport http spider https://mcp.spider.cloud/mcp # Or with an API key, for CI and servers claude mcp add --transport http spider https://mcp.spider.cloud/mcp \ --header "Authorization: Bearer $SPIDER_API_KEY"
Available tools
The hosted server registers 27 tools in four groups. ChatGPT lists seven of them: crawl, scrape, search, links, screenshot, transform and credits. The local npx package leaves out the Unlimited plan tools and spider_unblocker.
Core tools
| Tool | What it does |
|---|---|
| spider_crawl | Crawl a site and return content from many pages. |
| spider_scrape | Scrape one page and return its content. |
| spider_search | Search the web, with an option to crawl the results. |
| spider_links | Return every link on a page. |
| spider_screenshot | Capture a screenshot of a page. |
| spider_transform | Turn HTML into markdown or text. |
| spider_get_credits | Read the credit balance on the key. |
| spider_unblocker | Deprecated. Use spider_scrape. |
Unlimited plan tools
These need an Unlimited plan and use no credits.
| Tool | What it does |
|---|---|
| spider_unlimited_scrape | Same as spider_scrape, billed by seat instead of credits. |
| spider_unlimited_crawl | Same as spider_crawl, billed by seat instead of credits. |
| spider_unlimited_links | Same as spider_links, billed by seat instead of credits. |
| spider_unlimited_status | Seats, requests in flight and plan status. |
| spider_subscription_status | Credit balance, AI Studio tier and Unlimited seats in one call. |
AI tools
These need an AI Studio subscription.
| Tool | What it does |
|---|---|
| spider_ai_crawl | Crawl guided by a natural language prompt. |
| spider_ai_scrape | Extract structured data from a page. |
| spider_ai_search | Semantic web search. |
| spider_ai_browser | Drive a browser from a prompt. |
| spider_ai_links | Pick the links on a page that match a prompt. |
Browser tools
| Tool | What it does |
|---|---|
| spider_browser_open | Open a remote session in the native Spider browser. |
| spider_browser_navigate | Go to a URL and wait for the load. |
| spider_browser_click | Click an element by CSS selector. |
| spider_browser_fill | Type text into a form field. |
| spider_browser_screenshot | Capture the current page. |
| spider_browser_content | Return the page HTML or its visible text. |
| spider_browser_evaluate | Run JavaScript in the page. |
| spider_browser_wait_for | Wait for a selector, a navigation or network idle. |
| spider_browser_close | Close the session and release its resources. |
Usage examples
Once connected, the agent calls Spider tools on its own. Two common runs, as the agent sees them.
Scraping and crawling
User: "Scrape spider.cloud and give me the pricing details" Agent uses spider_scrape with: url: "https://spider.cloud" return_format: "markdown" User: "Crawl the docs and find all API endpoints" Agent uses spider_crawl with: url: "https://spider.cloud/docs" limit: 25 return_format: "markdown"
Browser automation workflow
User: "Log into my dashboard and screenshot the analytics page" Agent uses spider_browser_open → returns session_id: "abc-123" Agent uses spider_browser_navigate with: session_id: "abc-123" url: "https://app.example.com/login" Agent uses spider_browser_fill with: session_id: "abc-123" selector: "input[name='email']" value: "user@example.com" Agent uses spider_browser_click with: session_id: "abc-123" selector: "button[type='submit']" Agent uses spider_browser_wait_for with: session_id: "abc-123" selector: ".dashboard-loaded" Agent uses spider_browser_navigate with: session_id: "abc-123" url: "https://app.example.com/analytics" Agent uses spider_browser_screenshot with: session_id: "abc-123" → returns base64 PNG image Agent uses spider_browser_close with: session_id: "abc-123"
Browser session lifecycle
The browser tools drive a remote browser. Each session is isolated per user and comes with the native browser engine, proxy rotation and cross-browser support.
How it works
- 01Call
spider_browser_opento start a session. It returns asession_id. - 02Pass that
session_idto any browser tool: navigate, click, fill, screenshot, evaluate, wait or content. - 03Call
spider_browser_closewhen you are done. Billing stops there.
Key parameters
| Parameter | Tools | Description |
|---|---|---|
| session_id | all but open | Which session to drive. |
| selector | click, fill, wait_for | CSS selector for the target element, such as "button.submit" or "#login-btn". |
| timeout | click, fill, wait_for | Longest wait in ms before the call fails. Default 10,000ms for click and fill, 30,000ms for wait_for. |
| expression | evaluate | JavaScript to run in the page, such as "document.title". |
| format | content | "html" for the full DOM or "text" for visible text only. |
| stealth | open | 0 auto, 1 to 3 for higher stealth levels. |
Limits
- Up to 5 concurrent sessions per MCP connection.
- A session closes on its own after 5 minutes of inactivity.
- Close a session as soon as you are done with it. An open session keeps billing.
Parameters
Core and AI tools take the same parameters as the matching Spider API endpoint. The common ones are url, return_format, limit, depth and request. The API reference has the full list.
Hosted server
Nothing runs on your machine. Point any MCP client at https://mcp.spider.cloud/mcp over Streamable HTTP. Approve the OAuth prompt on first connect, or send an API key as a Bearer token. The Connect page sets it up in one click. No Node.js. It registers 27 tools, the Unlimited plan tools included, at the same prices.
Add hosted Spider MCP server to Claude Code
# OAuth: run /mcp in Claude Code and approve in the browser claude mcp add --transport http spider https://mcp.spider.cloud/mcp # Or with an API key, for CI and servers claude mcp add --transport http spider https://mcp.spider.cloud/mcp \ --header "Authorization: Bearer $SPIDER_API_KEY"
npm package
The server ships as spider-cloud-mcp on npm. The source is on GitHub.