Crawlbase MCP server for AI agents

Live

API KEY

WEB CRAWLING

Developer Tools

Crawlbase gives your agent web crawling in your Crawlbase account: fetch pages through the proxy network with anti-bot handling, convert pages to Markdown, extract structured JSON with built-in scrapers, queue async crawls, and manage Cloud Storage.

  • 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.
Crawlbase
agent · Acme Q3
Run
Convert the pricing page at example.com/pricing to Markdown.
S
crawlbase_page_markdown_get
1650ms
Web crawling agent
Fetched example.com/pricing through Crawlbase and converted it to Markdown. The page lists 3 plans with monthly prices.
Sources: Crawlbase example.com, 1 page
crawlbase
1 page
18:29
Message Claude...

Tools your web crawling agent reaches for on Crawlbase, scoped per user.

CALL ANY TOOL
14 tools for web crawling in Crawlbase: fetch pages through the proxy network, convert pages to Markdown, scrape structured JSON, queue async crawls, and read, bulk read, and delete Cloud Storage pages.
crawlbase_account_usage_get
Get account usage
Get this month's usage statistics for one Crawlbase product. Returns totalSuccess, totalFailed, totalDue, remainingCredits (subscription products) and domainStats per domain. Use this to monitor credit consumption. Rate limited to 1 request every 5 minutes, so cache the result.
Parameters
Name
Type
Required
Description
product
string
Required
Product whose usage to return. Example: crawling-api. One of: `crawling-api`, `crawler`, `smartproxy`, `scraper-api`, `leads-api`, `screenshot-api`.
previous_month
boolean
Optional
Set to true to include the previous month's statistics too. Example: true.
crawlbase_crawler_url_push
Crawler url push
crawlbase_page_crawl
Page crawl
crawlbase_page_crawl_async
Page crawl async
crawlbase_page_markdown_get
Get page markdown
crawlbase_page_post
Post page
crawlbase_page_scrape
Page scrape
crawlbase_storage_bulk_delete
Delete storage bulk
crawlbase_storage_bulk_get
Get storage bulk
crawlbase_storage_delete
Delete storage
crawlbase_storage_get
Get storage
crawlbase_storage_rids_list
List storage rids
crawlbase_storage_total_count_get
Get storage total count
crawlbase_user_agents_get
Get user agents
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);

// Crawlbase tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["crawlbase"], toolNames: [
    "crawlbase_page_crawl",
    "crawlbase_page_markdown_get",
    "crawlbase_page_scrape"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Fetch the competitor pricing page, convert it to Markdown, and scrape 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: ["crawlbase"] }, pageSize: 100,
});

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

// Execute the tool call with the user's vaulted Crawlbase 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: ["crawlbase"] }, pageSize: 100,
});

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

// Tool call runs with the user's vaulted Crawlbase 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: ["crawlbase"] }, pageSize: 100,
});

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

await agent.run("Fetch the competitor pricing page, convert it to Markdown, and scrape the plan names and prices as JSON");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Crawlbase tool. Click to copy, paste into your agent, done.
Fetch pages
Copy the prompt
Copied
Fetch this page through Crawlbase with JavaScript rendering.
Copy the prompt
Copied
Convert this page to Markdown.
Copy the prompt
Copied
Send a JSON POST request to this URL through Crawlbase.
Scrape and queue
Copy the prompt
Copied
Scrape this product page into structured JSON.
Copy the prompt
Copied
Queue an async crawl of this URL and give me the request id.
Copy the prompt
Copied
Add this URL to my Enterprise Crawler queue.
Storage and usage
Copy the prompt
Copied
How many pages are in my Cloud Storage?
Copy the prompt
Copied
Get the stored page for this request id.
Copy the prompt
Copied
Show this month's usage for the Crawling API.
SEE HOW AUTH WORKS
Each user connects their own Crawlbase API key once; Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Crawlbase
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Crawlbase
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Crawlbase
tool, we fetch the right credential 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
Crawlbase
tool call is logged: who triggered it, which tool ran, 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 developer tools 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 developer tools 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 Crawlbase API key looks fine in a demo. In production every crawl and storage deletion 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.
Crawlbase 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 Crawlbase as the user or through a shared key?
As the user. Each user connects their own Crawlbase API key once, and Scalekit sends it with every call. Audit logs attribute every crawl and storage deletion to that user, not a shared service account.
Where is the Crawlbase 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 Crawlbase?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the page fetch and storage read tools without crawlbase_storage_delete and crawlbase_storage_bulk_delete, which permanently delete stored pages. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Crawlbase 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 run a crawl in the background?
crawlbase_page_crawl_async queues a page crawl and returns a request id right away. The agent can then read the result with crawlbase_storage_get using that request id, and crawlbase_crawler_url_push adds a URL to an Enterprise Crawler queue.
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"": {
""crawlbase"": {
""url"": ""https://mcp.scalekit.com/crawlbase"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.crawlbase]
url = ""https://mcp.scalekit.com/crawlbase""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""crawlbase"": {
""url"": ""https://mcp.scalekit.com/crawlbase"",
""type"": ""http""
}
}
}