MrScraper MCP server for AI agents

Live

API KEY

WEB SCRAPING

AI

MrScraper gives your agent web data extraction in your MrScraper account: scrape pages to HTML, Markdown, or JSON, take screenshots, map sites, and create, rerun, and bulk run AI scrapers.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
MrScraper
agent · Acme Q3
Run
Pull the product names and prices from this catalog page as JSON.
S
mrscraper_scrape_json
1840ms
Web data agent
Extracted 24 products with names and prices from the page and returned them as a JSON list.
Sources: MrScraper scrape, 1 page
mrscraper
24 products
18:29
Message Claude...

Tools your web scraping agent reaches for on MrScraper, scoped per user.

CALL ANY TOOL
19 tools for web scraping in MrScraper: scrape pages as HTML, Markdown, or JSON, capture screenshots, map sites, run AI and manual scrapers in bulk, and read results and usage analytics.
mrscraper_bulk_rerun_ai_scraper
Bulk rerun ai scraper
Run an existing AI scraper across many URLs in one asynchronous bulk job. The vendor reference says reruns reuse cached results, which can reduce token usage and improve execution time; no saving was observed in testing. Returns data.bulkResultId, the id of the bulk job, with the message 'Bulk scraping is Running'; no extraction results come back in this response. Poll that id with mrscraper_get_result: status is Running while URLs are processed and becomes Finished (or Cancelled or Failed). The polled record's data holds mergedData (extraction output per page), urlDetails (status and error for each URL) and a summary of totalUrls, successfulUrls, failedUrls, scrapedCount, totalTokenUsage and estimatedFinishAt. Rely on status, not on mergedData or urlDetails, to know the job is done (the vendor reference says they fill in as URLs finish). estimatedFinishAt was null in every summary seen in testing. Finished means the job ended, not that every URL succeeded: read summary.failedUrls and each urlDetails status. Use this for many URLs and mrscraper_rerun_ai_scraper for a single URL. Stop a running job with mrscraper_cancel_bulk_result using the bulkResultId. Successful URLs consume plan tokens (10 per URL in the AI-scraper jobs seen in testing; URLs that failed added 0), so check tokenLimit and tokenUsage with mrscraper_verify_api_token before submitting a long list. Requires the scraperId of an AI scraper: read it from the scraperId field of the newest type-AI record in mrscraper_list_results, because mrscraper_create_ai_scraper normally times out in Scalekit before returning data.scraperId (that record appears only once creation finishes, 19 to 39 s after the call started). The vendor reference suggests a scraper built for item detail pages.
Parameters
Name
Type
Required
Description
scraperId
string
Required
ID (UUID) of the AI scraper to run on every URL: the scraperId field of its type-AI record in mrscraper_list_results (mrscraper_create_ai_scraper returns it as data.scraperId when it answers in time). Example: 4f6a04d6-7dc9-4676-bddf-edd19497b1dd
urls
array
Required
List of full URLs to scrape, each including the https:// prefix. Successful URLs consume tokens, so check your token balance before submitting a large list. Example: ["https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html", "https://books.toscrape.com/catalogue/tipping-the-velvet_999/index.html"]
mrscraper_bulk_rerun_manual_scraper
Bulk rerun manual scraper
mrscraper_cancel_bulk_result
Cancel bulk result
mrscraper_cancel_bulk_results_by_scraper
Cancel bulk results by scraper
mrscraper_create_ai_scraper
Create ai scraper
mrscraper_get_analytic_statuses
Get analytic statuses
mrscraper_get_proxy_bandwidth
Get proxy bandwidth
mrscraper_get_result
Get result
mrscraper_get_screenshot
Get screenshot
mrscraper_heal_manual_scraper
Heal manual scraper
mrscraper_list_results
List results
mrscraper_rerun_ai_scraper
Rerun ai scraper
mrscraper_rerun_manual_scraper
Rerun manual scraper
mrscraper_scrape_html
Scrape html
mrscraper_scrape_json
Scrape json
mrscraper_scrape_listing_page
Scrape listing page
mrscraper_scrape_markdown
Scrape markdown
mrscraper_scrape_sitemap
Scrape sitemap
mrscraper_verify_api_token
Verify api token
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// MrScraper tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mrscraper"], toolNames: [
    "mrscraper_scrape_json",
    "mrscraper_scrape_markdown",
    "mrscraper_scrape_sitemap"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Map the URLs on this site, convert the pricing page to Markdown, and extract the plan names and prices as JSON" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mrscraper"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Map the URLs on this site, convert the pricing page to Markdown, and extract the plan names and prices as JSON" }],
  tools,
});

// Execute the tool call with the user's vaulted MrScraper API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mrscraper"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Map the URLs on this site, convert the pricing page to Markdown, and extract the plan names and prices as JSON" }],
  tools,
});

// Tool call runs with the user's vaulted MrScraper API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mrscraper"] }, pageSize: 100,
});

const agent = new Agent({
  name: "web_data_agent",
  model: "gemini-2.5-pro",
  instruction: "MrScraper tools scoped to this user",
  tools,
});

await agent.run("Map the URLs on this site, convert the pricing page to Markdown, and extract the plan names and prices as JSON");
Try these prompts
Copy any prompt into your agent. Each maps directly to a MrScraper tool. Click to copy, paste into your agent, done.
Scrape pages
Copy the prompt
Copied
Convert this page to Markdown.
Copy the prompt
Copied
Extract the product names and prices from this page as JSON.
Copy the prompt
Copied
Take a full-page screenshot of this URL.
Scrapers and bulk jobs
Copy the prompt
Copied
Map the URLs on this site so I can use them as seeds.
Copy the prompt
Copied
Rerun my AI scraper across these 50 URLs in one bulk job.
Copy the prompt
Copied
Cancel the running bulk job I just started.
Results and usage
Copy the prompt
Copied
List my recent scraping results.
Copy the prompt
Copied
Show scrape status counts for example.com over the last 7 days.
Copy the prompt
Copied
Verify my MrScraper API key and show my token usage.
SEE HOW AUTH WORKS
Each user connects their own MrScraper API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
MrScraper
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
MrScraper
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
MrScraper
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
MrScraper
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and automation connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other AI and automation connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared MrScraper API key looks fine in a demo. In production every bulk scraping job looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
MrScraper today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access MrScraper as the user or through a shared key?
As the user. Each user connects their own MrScraper API key once, and Scalekit sends it with every call. Audit logs attribute every scrape and bulk job to that user, not a shared service account.
Where is the MrScraper API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in MrScraper?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the result and analytics tools without mrscraper_bulk_rerun_ai_scraper, which runs a scraper across many URLs in one job. None of the 19 tools is destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes MrScraper access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent follow a bulk scraping job?
The bulk tools return a bulk job id, and mrscraper_get_result reports the job's status. mrscraper_cancel_bulk_result stops a running job by that id.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""mrscraper"": {
""url"": ""https://mcp.scalekit.com/mrscraper"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.mrscraper]
url = ""https://mcp.scalekit.com/mrscraper""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""mrscraper"": {
""url"": ""https://mcp.scalekit.com/mrscraper"",
""type"": ""http""
}
}
}