Connects agents to real-time web data via Crawlbase, returning HTML, Markdown or screenshots with JavaScript rendering.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add crawlbase --env CRAWLBASE_TOKEN='<CRAWLBASE_TOKEN>' --env CRAWLBASE_JS_TOKEN='<CRAWLBASE_JS_TOKEN>' -- npx @crawlbase/mcp@latest~/.codex/config.toml
[mcp_servers.crawlbase]
command = "npx"
args = ["@crawlbase/mcp@latest"]
env = { CRAWLBASE_TOKEN = "<CRAWLBASE_TOKEN>", CRAWLBASE_JS_TOKEN = "<CRAWLBASE_JS_TOKEN>" }
# codex mcp add crawlbase --env CRAWLBASE_TOKEN='<CRAWLBASE_TOKEN>' --env CRAWLBASE_JS_TOKEN='<CRAWLBASE_JS_TOKEN>' -- npx @crawlbase/mcp@latest~/.cursor/mcp.json
{
"mcpServers": {
"crawlbase": {
"command": "npx",
"args": [
"@crawlbase/mcp@latest"
],
"env": {
"CRAWLBASE_TOKEN": "<CRAWLBASE_TOKEN>",
"CRAWLBASE_JS_TOKEN": "<CRAWLBASE_JS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"crawlbase": {
"type": "stdio",
"command": "npx",
"args": [
"@crawlbase/mcp@latest"
],
"env": {
"CRAWLBASE_TOKEN": "<CRAWLBASE_TOKEN>",
"CRAWLBASE_JS_TOKEN": "<CRAWLBASE_JS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"crawlbase": {
"command": "npx",
"args": [
"@crawlbase/mcp@latest"
],
"env": {
"CRAWLBASE_TOKEN": "<CRAWLBASE_TOKEN>",
"CRAWLBASE_JS_TOKEN": "<CRAWLBASE_JS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"crawlbase": {
"command": "npx",
"args": [
"@crawlbase/mcp@latest"
],
"env": {
"CRAWLBASE_TOKEN": "<CRAWLBASE_TOKEN>",
"CRAWLBASE_JS_TOKEN": "<CRAWLBASE_JS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"crawlbase": {
"command": "npx",
"args": [
"@crawlbase/mcp@latest"
],
"env": {
"CRAWLBASE_TOKEN": "<CRAWLBASE_TOKEN>",
"CRAWLBASE_JS_TOKEN": "<CRAWLBASE_JS_TOKEN>"
}
}
}
}Environment variables
CRAWLBASE_TOKENCRAWLBASE_JS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.