WebforAI Text Extractor MCP Server

WebforAI Text Extractor MCP Server

A Cloudflare Workers-based server that extracts clean, formatted text from web pages using WebforAI and makes it accessible to AI models through the Model Context Protocol.

Category
Visit Server

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured