Integrations/MCP Server
Model Context Protocol

Web scraping for AI agents

Give Claude, Cursor, Windsurf, and any MCP-compatible AI agent real-time access to the web. Connect by URL, approve in the browser, and start scraping, extracting, and searching. Anti-bot handling built in.

Connect by URL in under a minute

Add the hosted AlterLab MCP endpoint to your client. The first time it connects, a browser window opens: sign in to AlterLab, approve access, and the tools are ready. No install, no API key in a config file.

https://mcp.alterlab.io/mcp

Claude Desktop

Settings → Connectors → Add custom connector, name it AlterLab and paste the URL, then approve access in the browser.

Claude Code

Add the server from your terminal, then run /mcp inside Claude Code to sign in.

claude mcp add --transport http alterlab https://mcp.alterlab.io/mcp

Cursor

Add the URL to your Cursor MCP config. Cursor opens the sign-in window on first use.

// ~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
  "mcpServers": {
    "alterlab": {
      "url": "https://mcp.alterlab.io/mcp"
    }
  }
}

Windsurf

Add the URL to your Windsurf MCP config, then refresh MCP servers in Cascade to sign in.

// ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "alterlab": {
      "serverUrl": "https://mcp.alterlab.io/mcp"
    }
  }
}

The hosted endpoint exposes the 73 core tools listed below. Requests are billed to the account you approve.

Run locally with npx

For local development, self-hosting, and air-gapped setups.

The open-source alterlab-mcp-server npm package runs as a local process and includes all 25 tools. It authenticates with an API key from your dashboard, read from the ALTERLAB_API_KEY environment variable. Example for Claude Desktop:

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "alterlab": {
      "command": "npx",
      "args": ["alterlab-mcp-server"],
      "env": {
        "ALTERLAB_API_KEY": "your-api-key-here"
      }
    }
  }
}

Restart Claude Desktop. AlterLab tools appear automatically in the tools panel.

Supported AI clients

Works with any client that implements the Model Context Protocol spec.

Claude Desktop (Anthropic)
Claude Code
Cursor
Windsurf
GitHub Copilot
Custom MCP clients

73 core tools on the hosted endpoint

Each tool is callable by AI agents during conversations. AlterLab handles anti-bot challenges automatically. The npm package adds -48 more tools for session management and beta-feature toggles — see the full tool reference on GitHub.

alterlab_scrape

Fetch any URL and return clean markdown, text, HTML, or JSON, with automatic website compatibility through 5-tier escalation

alterlab_extract

Extract structured data (prices, product info, custom fields) from HTML, text, or markdown you already have

alterlab_screenshot

Capture a full-page PNG screenshot of any URL, including anti-bot-protected sites

alterlab_crawl

Crawl an entire website for RAG or indexing — discovers and scrapes every page on a domain

alterlab_search

Search the web and read the results in one call: a unified, vendor-neutral result list with each page as concise markdown

alterlab_research

Run a budgeted deep-research job that searches, reads sources and returns a cited answer, using your own model key

alterlab_map

Discover every URL on a site via sitemap parsing and link extraction — no content scraping

alterlab_batch_scrape

Scrape 2-20 URLs in parallel and get all results back in one call, no polling required

alterlab_batch

Scrape large URL sets (20+) asynchronously with batch-ID polling

alterlab_estimate_cost

Estimate the credit cost of a scrape before running it (price list: GET /api/v1/pricing)

alterlab_approval

Poll a pending_approval batch or crawl until your human approves it

alterlab_batch_resume

Re-enqueue batch items paused by the paused_low_success stop

alterlab_pricing

Read AlterLab's public price list (no API key needed)

alterlab_news

Search AlterLab's free cached news headline feed (no API key needed)

alterlab_site_profile

See how a domain behaves before scraping it: measured success rate, typical tier and cost, common failures (free, no API key needed)

alterlab_keyword_ideas

Get question and long-tail keyword ideas for a seed from autocomplete, People Also Ask and related searches

alterlab_geocode

Turn an informal address or landmark description into coordinates with provenance

alterlab_ai_visibility

Check whether and how a brand appears in AI answers (Google AI Overviews and AI Mode, ChatGPT, Perplexity, Gemini, Copilot)

alterlab_feedback

Report friction or a suggestion to the AlterLab team: a block, a wrong result, a confusing step or an idea (works without an API key)

alterlab_support_ticket

Open a support ticket for your user about a billing, account or data problem, or read and reply to one you opened (requires an API key)

alterlab_create_account

Create an AlterLab account on behalf of your user; the human approves by email and you receive a scoped, spend-capped API key

alterlab_create_api_key

Create the AlterLab API key for this machine, if the user ticked 'Also create an API key' when approving the MCP connection

search_alterlab

Search everything AlterLab publishes (docs, blog, guides, comparisons, changelog); free, no API key

read_alterlab_page

Read one AlterLab docs, blog or guide page as markdown; free, no API key

alterlab_serp

Run a structured search-engine results query (organic results and ads) or read your SERP history

alterlab_job

Check the status and result of a job, or get its per-stage timing breakdown

alterlab_balance

Read your credit balance or your usage statistics

alterlab_monitor

Create, list or delete monitors that watch a page for changes

alterlab_schedule

Create, list or delete recurring scrape schedules

alterlab_workflow_run

Run a saved workflow and get back a run id to follow with alterlab_job or the dashboard

alterlab_store_search

Search the AlterLab data store of callable data products (no API key needed)

alterlab_store_get

Read a data store listing: input schema, price per 1k results and 7-day success rate

alterlab_store_quote

Exact price and hard cap for a listing run (never debits, no API key needed)

alterlab_store_run

Run a data store listing and get typed results, or a run id to poll

alterlab_listing_draft_create

Create a data store listing draft from a manifest (fetch, parse, filter, transform steps)

alterlab_listing_draft_test

Run every test input of a listing draft on live fetches

alterlab_listing_publish

Publish a tested listing draft as a version pending review

alterlab_run_create

Submit a multi-step plan and get one estimate before anything runs

alterlab_run_approve

Approve a run so it reserves its budget and starts executing

alterlab_run_stream

Collect typed progress events for a run, resumable by sequence number

alterlab_run_result

Fetch a run's state, spend and step summaries

alterlab_run_cancel

Cancel a run and refund its unused budget

alterlab_hands_pending

List questions and approval requests your browser tasks are waiting on

alterlab_hands_answer

Answer a question or approve or deny an action a browser task is waiting on

alterlab_connect

Ask the user to connect a site, or check whether they approved it

alterlab_sessions

List connected site sessions with health and scopes, or revoke one

alterlab_task_start

Open a persistent browser task on a connected site

alterlab_task_act

Run a batch of browser actions in an open task

alterlab_task_observe

Get a redacted snapshot and URL of an open task's page

alterlab_task_schema

List the inputs, actions and structures the task's current page asks for

alterlab_task_vision_capture

Screenshot a canvas or custom widget the page schema lists as an opaque region

alterlab_task_vision_act

Click coordinates you chose from a region screenshot, then read the page back

alterlab_task_answer

Answer a task's question or approve or deny its pending action

alterlab_task_status

Check a browser task's state, budgets and pending requests

alterlab_request_credential

Ask the user to enter a credential in their browser for a task to fill

alterlab_task_control

Pause, resume, stop or steer a running browser task

alterlab_facts

Read or record the user's facts with sources, confidence and freshness

alterlab_hands_triggers

Create, list, pause, resume or revoke triggers that start Hands runs, and read their firing audit

alterlab_hands_conversations

Run a goal-directed conversation with a counterparty by email, web chat, ticket thread or form reply, within limits you set up front

alterlab_requirements

Plan what facts a delegated goal needs and where each one lives

alterlab_policy_evaluate

Dry-run the user's approval policy for a plan of browser actions

alterlab_content_check

Check that every claim in text written for the user rests on a verified fact

alterlab_hands_run

Delegate one goal to Hands: it plans the facts needed, verifies what you find, pauses for the user where policy asks, executes and returns a receipt

alterlab_hands_share

Share a completed Hands run as a public replay page, preview it first, or unpublish it

alterlab_routes

Find and rank the sanctioned routes to get a goal done with an entity

alterlab_hands_access

Request Hands access for the user while access is capacity-gated, then check the queue and resume once admitted

alterlab_feed_create

Subscribe to a data store listing on a cron and receive only new, changed and removed entities

alterlab_feed_list

List your feeds for a listing

alterlab_feed_update

Change a feed's input, cron, cap, webhook or pause it

alterlab_feed_delete

Stop and remove a feed

alterlab_feed_deltas

Read a feed's per-run new, changed and removed entities

alterlab_alert_rule

Create, list, update, test or delete alert rules and read alert history

alterlab_webhook

Create, list, update, test or delete account webhooks and read deliveries

Anti-bot handling, automatically

When an AI agent calls alterlab_scrape, AlterLab automatically tries the cheapest method first, then escalates through 5 tiers (browser rendering, challenge resolution, residential proxies) until the page is fetched. JavaScript challenges, CAPTCHA systems, and advanced bot protections — all handled transparently.

Frequently asked questions

Ready to give your AI agent web access?

Free credits on signup. No subscription required.

Create free account