mcpField
W
WebforAI Text Extractor - MCP Server

WebforAI Text Extractor - MCP Server

Local
github.com/yutakobayashidevBrowser Automation3Updated 78w ago

About WebforAI Text Extractor - MCP Server

A Cloudflare Workers-based MCP server that extracts webpage text through WebforAI. It returns clean Markdown for MCP clients that need web content in a text-based form.

Key features

  1. 01Extract text from webpage URLs
  2. 02Return clean Markdown
  3. 03Convert links and tables to text
  4. 04Hide images in output
  5. 05Deploy on Cloudflare Workers

Use cases

  1. 01Prepare webpage content for AI models
  2. 02Read page text through an MCP client

MCP support

Exposes the `extractWebPageText` tool, which accepts a webpage URL and returns extracted content in Markdown to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"webforai": {
"command": "npx",
"args": [
"-y",
"mcp-remote"
]
}
}
}
Run commandnpx -y mcp-remote

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-remote

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

WebforAI Text Extractor - MCP Server

A Cloudflare Workers-based Model Context Protocol (MCP) server that extracts plain text from web pages using WebforAI.

🌟 What is WebforAI?

WebforAI is a powerful library designed to make web content accessible to AI models. It provides tools to:

  • Convert HTML to clean, structured Markdown
  • Extract meaningful content from web pages
  • Process tables, links, and images intelligently
  • Prepare web content for AI consumption

This MCP server leverages WebforAI's capabilities to extract plain text from any web page URL, making it easy to feed web content into AI models through the Model Context Protocol.

📋 Features

  • Simple API: Extract text from any web page with a single API call
  • Clean Output: Receive well-formatted Markdown text without HTML noise
  • Error Handling: Robust error handling for failed requests
  • Cloudflare Workers: Serverless deployment with global distribution
  • MCP Compatible: Works with any MCP client like Claude Desktop or Cloudflare AI Playground

🚀 Getting Started

Deploy to Cloudflare Workers

Deploy to Workers

This will deploy your MCP server to a URL like: webforai-mcp-server.<your-account>.workers.dev/sse

Local Development
  1. Clone this repository:

    git clone https://github.com/yutakobayashidev/webforai-mcp-server.git
    cd webforai-mcp-server
    
  2. Install dependencies:

    pnpm install
    
  3. Start the development server:

    pnpm dev
    
  4. Your server will be available at http://localhost:8787

🔧 Using the Text Extraction Tool

The extractWebPageText tool accepts a URL to a web page and returns the extracted text content in markdown format:

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

The response will contain the extracted text in Markdown format, with:

  • Links converted to plain text
  • Tables converted to plain text
  • Images hidden

🔌 Connecting to MCP Clients

Cloudflare AI Playground
  1. Go to Cloudflare AI Playground
  2. Enter your deployed MCP server URL (webforai-mcp-server.<your-account>.workers.dev/sse)
  3. You can now use your text extraction tool directly from the playground!
Claude Desktop

To connect to your MCP server from Claude Desktop:

  1. Follow Anthropic's Quickstart
  2. In Claude Desktop go to Settings > Developer > Edit Config
  3. Update with this configuration:
{
  "mcpServers": {
    "webforaiExtractor": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"  // or webforai-mcp-server.your-account.workers.dev/sse
      ]
    }
  }
}
  1. Restart Claude and you should see the text extraction tool become available

📚 Learn More

📄 License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.