Skip to main content
Glama
yutakobayashidev

WebforAI Text Extractor MCP Server

WebforAI 文本提取器 - MCP 服务器

基于 Cloudflare Workers 的模型上下文协议 (MCP) 服务器,使用WebforAI从网页中提取纯文本。

🌟 WebforAI 是什么?

WebforAI是一个功能强大的库,旨在使 AI 模型能够访问 Web 内容。它提供的工具可以:

  • 将 HTML 转换为干净、结构化的 Markdown

  • 从网页中提取有意义的内容

  • 智能处理表格、链接和图像

  • 准备用于 AI 消费的 Web 内容

该 MCP 服务器利用 WebforAI 的功能从任何网页 URL 中提取纯文本,从而可以轻松地通过模型上下文协议将网页内容输入 AI 模型。

Related MCP server: Remote MCP Server

📋 功能

  • 简单的 API :通过一次 API 调用从任何网页中提取文本

  • 干净的输出:接收格式良好的 Markdown 文本,没有 HTML 噪音

  • 错误处理:对失败的请求进行强大的错误处理

  • Cloudflare Workers :全球分布的无服务器部署

  • MCP 兼容:可与任何 MCP 客户端(如 Claude Desktop 或 Cloudflare AI Playground)配合使用

🚀 入门

部署到 Cloudflare Workers

部署至 Workers

这会将您的 MCP 服务器部署到类似这样的 URL: webforai-mcp-server.<your-account>.workers.dev/sse

本地开发

  1. 克隆此存储库:

    git clone https://github.com/yutakobayashidev/webforai-mcp-server.git
    cd webforai-mcp-server
  2. 安装依赖项:

    pnpm install
  3. 启动开发服务器:

    pnpm dev
  4. 您的服务器将通过http://localhost:8787访问

🔧 使用文本提取工具

extractWebPageText工具接受网页的 URL 并以 markdown 格式返回提取的文本内容:

{
  "url": "https://example.com/page"
}

响应将包含 Markdown 格式的提取文本,其中包括:

  • 链接转换为纯文本

  • 表格转换为纯文本

  • 隐藏图片

🔌 连接到 MCP 客户端

Cloudflare AI 游乐场

  1. 前往Cloudflare AI Playground

  2. 输入您部署的 MCP 服务器 URL ( webforai-mcp-server.<your-account>.workers.dev/sse )

  3. 您现在可以直接从操场使用文本提取工具!

克劳德桌面

要从 Claude Desktop 连接到您的 MCP 服务器:

  1. 遵循Anthropic 的快速入门

  2. 在 Claude Desktop 中,转到“设置”>“开发者”>“编辑配置”

  3. 使用此配置进行更新:

{
  "mcpServers": {
    "webforaiExtractor": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"  // or webforai-mcp-server.your-account.workers.dev/sse
      ]
    }
  }
}
  1. 重新启动 Claude,你就会看到文本提取工具可用

📚 了解更多

📄 许可证

麻省理工学院

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    A deployable server that implements the Model Context Protocol on Cloudflare Workers, enabling AI tools to be accessed from clients like Claude Desktop and Cloudflare AI Playground.

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yutakobayashidev/webforai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server