WebforAI テキスト抽出ツール - MCP サーバー
WebforAIを使用して Web ページからプレーンテキストを抽出する Cloudflare Workers ベースの Model Context Protocol (MCP) サーバー。
🌟 WebforAIとは何ですか?
WebforAIは、WebコンテンツをAIモデルで利用できるように設計された強力なライブラリです。以下のツールを提供します。
- HTML をクリーンで構造化された Markdown に変換する
- ウェブページから意味のあるコンテンツを抽出する
- 表、リンク、画像をインテリジェントに処理する
- AIによる消費向けにWebコンテンツを準備する
この MCP サーバーは、WebforAI の機能を活用して任意の Web ページ URL からプレーン テキストを抽出し、モデル コンテキスト プロトコルを通じて Web コンテンツを AI モデルに簡単に取り込めるようにします。
📋 機能
- シンプルなAPI : 1回のAPI呼び出しで任意のWebページからテキストを抽出します
- クリーンな出力: HTMLノイズのない、適切にフォーマットされたMarkdownテキストを受け取ります
- エラー処理: 失敗したリクエストに対する堅牢なエラー処理
- Cloudflare Workers : グローバル分散によるサーバーレスデプロイメント
- MCP 互換: Claude Desktop や Cloudflare AI Playground などのあらゆる MCP クライアントで動作します
🚀 はじめに
Cloudflare Workersへのデプロイ
これにより、MCP サーバーが次のような URL にデプロイされます: webforai-mcp-server.<your-account>.workers.dev/sse
地域開発
- このリポジトリをクローンします:
- 依存関係をインストールします:
- 開発サーバーを起動します。
- サーバーは
http://localhost:8787
で利用できます。
🔧 テキスト抽出ツールの使用
extractWebPageText
ツールは、Web ページへの URL を受け入れ、抽出したテキスト コンテンツをマークダウン形式で返します。
応答には、次の内容を含む、Markdown 形式で抽出されたテキストが含まれます。
- リンクをプレーンテキストに変換
- 表をプレーンテキストに変換
- 画像は非表示です
🔌 MCP クライアントへの接続
Cloudflare AIプレイグラウンド
- Cloudflare AI Playgroundへアクセス
- デプロイされた MCP サーバーの URL を入力します (
webforai-mcp-server.<your-account>.workers.dev/sse
) - プレイグラウンドから直接テキスト抽出ツールを使用できるようになりました。
クロードデスクトップ
Claude Desktop から MCP サーバーに接続するには:
- Anthropicのクイックスタートに従う
- Claude Desktopで設定 > 開発者 > 設定の編集に進みます
- 次の構成で更新します。
- Claudeを再起動すると、テキスト抽出ツールが利用可能になります。
📚詳細はこちら
📄 ライセンス
マサチューセッツ工科大学
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
WebforAI を使用して Web ページからクリーンでフォーマットされたテキストを抽出し、モデル コンテキスト プロトコルを通じて AI モデルがアクセスできるようにする Cloudflare Workers ベースのサーバー。
Related MCP Servers
- -securityFlicense-qualityA Cloudflare Workers-based Model Context Protocol server that can be deployed without authentication requirements, allowing users to create custom AI tools accessible from Cloudflare AI Playground or Claude Desktop.Last updated -TypeScript
- -securityFlicense-qualityAn authless Cloudflare Workers server that provides tools to scrape, analyze, and answer questions about websites using Cloudflare's Browser Rendering and AI capabilities.Last updated -6TypeScript
- -security-license-qualityA Cloudflare Workers-based Model Context Protocol server without authentication requirements, allowing users to deploy and customize AI tools that can be accessed from Claude Desktop or Cloudflare AI Playground.Last updated -TypeScript
- -securityFlicense-qualityA 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.Last updated -TypeScript