CC

crawlbase/crawlbase-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

60 stars 14 forks 质量 64 趋势 0

crawlbase/crawlbase-mcp 是从 https://github.com/crawlbase/crawlbase-mcp. 导入的 MCP 服务器候选

概览

crawlbase/crawlbase-mcp 是从 https://github.com/crawlbase/crawlbase-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

Crawlbase MCP 是一款模型上下文协议(MCP)服务器,连接了 AI 代理与实时网络。你的大型语言模型不再依赖过时的训练数据,而是能够获取新鲜、结构化、实时的内容——由 Crawlbase 经过验证的爬取基础设施驱动,该基础设施被全球 70,000+ 开发者信赖。

它帮你处理抓取的复杂性:

  • 现代网页应用的JavaScript渲染
  • 代理轮换与反机器人规避
  • 结构化输出(HTML、Markdown、截图)

工作原理

  • 免费获取Crawlbase代币→在Crawlbase ↗️注册,免费获得Normal和JavaScript代币。
  • 设置MCP配置 →通过更新MCP服务器设置,在你偏好的客户端(Claude、光标或Windsurf)中配置MCP服务器。
  • 开始爬行 → 使用诸如crawl、crawl_markdown或**crawl_screenshot****等命令,将实时网页数据导入你的AI代理。

设置与集成

克劳德桌面

  1. 打开Claude桌面→设置→开发者→编辑配置
  2. 将 claude_desktop_config.json 加:
  3. 用仪表盘中的代币替换your_token_here和your_js_token_here。

克劳德·科德

添加到你的claude.json配置中:

光标IDE

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

What is Crawlbase MCP?

Crawlbase MCP is a Model Context Protocol (MCP) server that bridges AI agents and the live web. Instead of relying on outdated training data, your LLMs can now fetch fresh, structured, real-time content — powered by Crawlbase’s proven crawling infrastructure trusted by 70,000+ developers worldwide.

It handles the complexity of scraping for you:

  • JavaScript rendering for modern web apps
  • Proxy rotation & anti-bot evasion
  • Structured outputs (HTML, Markdown, screenshots)

How It Works

  • Get Free Crawlbase Tokens → Sign up at Crawlbase ↗️, get free Normal, and JavaScript tokens.
  • Set Up MCP Configuration → Configure the MCP server in your preferred client (Claude, Cursor, or Windsurf) by updating the MCP Servers settings.
  • Start Crawling → Use commands like crawl, crawl_markdown, or crawl_screenshot to bring live web data into your AI agent.

Setup & Integration

Claude Desktop

  1. Open Claude Desktop → Settings → Developer → Edit Config
  2. Add to claude_desktop_config.json:
  3. Replace your_token_here and your_js_token_here with the tokens from your dashboard.
{
  "mcpServers": {
    "crawlbase": {
      "type": "stdio",
      "command": "npx",
      "args": ["@crawlbase/mcp@latest"],
      "env": {
        "CRAWLBASE_TOKEN": "your_token_here",
        "CRAWLBASE_JS_TOKEN": "your_js_token_here"
      }
    }
  }
}

Claude Code

Add to your claude.json configuration:

{
  "mcpServers": {
    "crawlbase": {
      "type": "stdio",
      "command": "npx",
      "args": ["@crawlbase/mcp@latest"],
      "env": {
        "CRAWLBASE_TOKEN": "your_token_here",
        "CRAWLBASE_JS_TOKEN": "your_js_token_here"
      }
    }
  }
}

Cursor IDE

  1. Open Cursor IDE → File → Preferences → Cursor Settings → Tools and Integrations → Add Custom MCP
  2. Add to mcp.json:
  3. Replace your_token_here and your_js_token_here with the tokens from your dashboard.
{
  "mcpServers": {
    "crawlbase": {
      "type": "stdio",
      "command": "npx",
      "args": ["@crawlbase/mcp@latest"],
      "env": {
        "CRAWLBASE_TOKEN": "your_token_here",
        "CRAWLBASE_JS_TOKEN": "your_js_token_here"
      }
    }
  }
}

Windsurf IDE

  1. Open WindSurf IDE → File → Preferences → WindSurf Settings → General → MCP Servers → Manage MCPs → View raw config
  2. Add to mcp_config.json:
  3. Replace your_token_here and your_js_token_here with the tokens from your dashboard.
{
  "mcpServers": {
    "crawlbase": {
      "type": "stdio",
      "command": "npx",
      "args": ["@crawlbase/mcp@latest"],
      "env": {
        "CRAWLBASE_TOKEN": "your_token_here",
        "CRAWLBASE_JS_TOKEN": "your_js_token_here"
      }
    }
  }
}

HTTP Transport Mode

在 GitHub 查看完整 README

安装

npx @crawlbase/mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "crawlbase": { "type": "stdio", "command": "npx", "args": ["@crawlbase/mcp@latest"], "env": { "CRAWLBASE_TOKEN": "your_token_here", "CRAWLBASE_JS_TOKEN": "your_js_token_here" } } } }