Crawl4AI MCP 服务器

Crawl4AI MCP 服务器

crawl4ai-middleware•byfrankieli123

An MCP server that integrates crawl4ai web scraping into MCP-enabled applications such as Cursor IDE, offering tools to create crawl tasks, fetch results, and manage saved files.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides a create_crawl_task tool that creates a web-scraping task and returns a task ID.
  • •Provides a get_crawl_result tool that fetches results by task ID and saves them to a local file.
  • •Saves scraped content to a url folder next to the server script, named with domain, task ID, and timestamp.
  • •Includes tools to list and read previously saved crawl result files.

BEST FOR

  • •Scraping a webpage from an AI assistant in Cursor by requesting a crawl task.
  • •Retrieving and reading previously saved crawl results by file or task ID.

ABOUT CRAWL4AI-MIDDLEWARE

Crawl4AI MCP 服务器 is cataloged as an MCP server attributed to frankieli123. An MCP server that integrates crawl4ai web scraping into MCP-enabled applications such as Cursor IDE, offering tools to create crawl tasks, fetch results, and manage saved files. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Crawl4AI MCP 服务器 are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Where are scraped webpages stored?

Scraped content is stored in a url folder beside the server script, in files named extracted_domain_taskID_timestamp.txt.

How is the crawl4ai API configured?

The API base, API key, output directory, and log level can be set through a .env file or system environment variables.

上游原版 README

在 GitHub 查看同一版本原文

README.md · aee01b7e4597 · 采集于 2026-11-13 11:26:38 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Crawl4AI MCP 服务器

这是一个MCP(模型上下文协议)服务器,用于将crawl4ai的网页抓取功能集成到支持MCP的应用程序中,如Cursor IDE。

功能

该服务器提供以下工具:

  1. create_crawl_task - 创建网页抓取任务并获取任务ID
  2. get_crawl_result - 根据任务ID获取抓取结果并保存到本地文件
  3. list_saved_results - 列出已保存的抓取结果文件
  4. read_saved_result - 读取已保存的抓取结果文件内容。

文件存储

所有抓取的网页内容会保存在服务器脚本同级目录下的 url 文件夹中,文件命名格式为: extracted_域名_任务ID_时间戳.txt

这样可以避免因内容过大导致的显示问题,并可随时查看完整抓取结果。

安装依赖

pip install mcp[cli] httpx python-dotenv

配置

默认配置

服务器默认配置为:

环境变量配置

你可以通过以下两种方式配置环境变量:

  1. 创建.env文件

    在与crawl4ai_server.py同一目录下创建一个名为.env的文件,内容如下:

    CRAWL4AI_API_BASE=http://192.168.31.12:11235
    CRAWL4AI_API_KEY=sk-3180623
    OUTPUT_DIR=
    LOG_LEVEL=INFO
    

    注意:确保.env文件使用UTF-8编码保存,不要包含BOM头。

  2. 设置系统环境变量

    你也可以直接在操作系统中设置以下环境变量:

    • CRAWL4AI_API_BASE - API服务器地址
    • CRAWL4AI_API_KEY - API密钥
    • OUTPUT_DIR - 自定义输出目录(可选)
    • LOG_LEVEL - 日志级别(可选,默认INFO)

在Cursor中使用

  1. 确保已安装所需依赖项

  2. 修改Cursor的配置文件,路径通常为:

    • Windows: %APPDATA%\Cursor\User\settings.json
  3. 在配置文件中添加以下内容:

{
  "mcpServers": {
    "crawl4ai": {
      "command": "python",
      "args": [
        "E:/APP/craw14ai-middleware/crawl4ai_server.py"
      ]
    }
  }
}
  1. 重启Cursor以加载MCP服务器

使用示例

在Cursor中,你可以让AI助手使用这些工具:

  1. "请帮我抓取网页 https://example.com"
  2. "请获取任务ID为 abc123 的抓取结果"
  3. "请列出已保存的抓取结果文件"
  4. "请读取文件 extracted_example_com_abc123.txt 的内容"

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Crawl4AI MCP 服务器 from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/crawl4ai-middleware)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research