webforai 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.
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.
A Cloudflare Workers-based Model Context Protocol (MCP) server that extracts plain text from web pages using WebforAI.
WebforAI is a powerful library designed to make web content accessible to AI models. It provides tools to:
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.
This will deploy your MCP server to a URL like: webforai-mcp-server.<your-account>.workers.dev/sse
Clone this repository:
git clone https://github.com/yutakobayashidev/webforai-mcp-server.git
cd webforai-mcp-server
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Your server will be available at http://localhost:8787
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
webforai-mcp-server.<your-account>.workers.dev/sse
)To connect to your MCP server from Claude Desktop:
{
"mcpServers": {
"webforaiExtractor": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or webforai-mcp-server.your-account.workers.dev/sse
]
}
}
}
MIT