WebforAI Text Extractor
Deploys an MCP server on Cloudflare Workers that extracts plain text content from web pages and converts HTML to clean Markdown format using the WebforAI library.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP server: blowsh-mcp
π 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
This will deploy your MCP server to a URL like: webforai-mcp-server.<your-account>.workers.dev/sse
Local Development
Clone this repository:
git clone https://github.com/yutakobayashidev/webforai-mcp-server.git cd webforai-mcp-serverInstall dependencies:
pnpm installStart the development server:
pnpm devYour 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
Go to Cloudflare AI Playground
Enter your deployed MCP server URL (
webforai-mcp-server.<your-account>.workers.dev/sse)You can now use your text extraction tool directly from the playground!
Claude Desktop
To connect to your MCP server from Claude Desktop:
Follow Anthropic's Quickstart
In Claude Desktop go to Settings > Developer > Edit Config
Update with this configuration:
{
"mcpServers": {
"webforaiExtractor": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or webforai-mcp-server.your-account.workers.dev/sse
]
}
}
}Restart Claude and you should see the text extraction tool become available
π Learn More
π License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Web pages as Markdown, site maps and crawls, AI data extraction and screenshots.
Convert any web page into clean, LLM-ready Markdown. Strips ads, navigation and clutter; keeps headings, tables, code and links.
Turn public web pages into clean Markdown for LLMs, RAG and AI agents
Web pages, JavaScript sites and PDFs to clean Markdown for AI agents, prompt injection removed.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceScrapes webpages and converts them to markdown using AI-powered interaction to automatically handle cookie banners, CAPTCHAs, paywalls, and other blocking elements before extracting clean content.49Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to browse and extract content from JavaScript-rendered web pages via the Model Context Protocol, returning plain text, HTML, or Markdown.13MIT
- AlicenseAqualityDmaintenanceConverts URLs and raw HTML to clean Markdown, enabling AI assistants to read web pages for summarization, analysis, or ingestion.28 npm1MIT
- AlicenseNot gradedqualityDmaintenanceConverts any webpage into clean, LLM-ready Markdown, removing noise and supporting JavaScript rendering.MIT