MCP ノードフェッチ
Node.js undiciライブラリを使用して Web コンテンツを取得できる MCP サーバー。
特徴
- さまざまな HTTP メソッドを使用して任意の URL からコンテンツを取得します
- ヘッダーとリクエストボディのサポート
- さまざまな形式(テキスト、JSON、バイナリ、HTML フラグメント)でコンテンツを返します
- エラーを適切に処理する
- タイムアウトとリダイレクト動作を構成する
MCPツール
このサーバーは、次の MCP ツールを提供します。
fetch-url
URL からコンテンツを取得して返します。
パラメータ:
url
(文字列、必須): 取得するURLmethod
(文字列、オプション):HTTPメソッド(デフォルト:"GET")headers
(オブジェクト、オプション): 含めるHTTPヘッダーbody
(文字列、オプション): POST/PUTリクエストのリクエストボディtimeout
(数値、オプション): リクエストのタイムアウト(ミリ秒)responseType
(文字列、オプション): レスポンスの解析方法 ("text"、"json"、"binary"、"html-fragment")fragmentSelector
(文字列、オプション):特定のHTMLフラグメントを抽出するためのCSSセレクタ(responseTypeが「html-fragment」の場合)followRedirects
(ブール値、オプション):リダイレクトに従うかどうか(デフォルト:true)
extract-html-fragment
CSS セレクターを使用して Web ページから特定の HTML コンテンツを抽出し、オプションでアンカー ポイントに移動します。
パラメータ:
url
(文字列、必須): 取得するURLselector
(文字列、必須): 抽出する HTML フラグメントの CSS セレクターanchorId
(文字列、オプション): 特定のフラグメントを見つけるためのオプションのアンカーIDmethod
(文字列、オプション):HTTPメソッド(デフォルト:"GET")headers
(オブジェクト、オプション): 含めるHTTPヘッダーbody
(文字列、オプション): POSTリクエストのリクエストボディtimeout
(数値、オプション): リクエストのタイムアウト(ミリ秒)followRedirects
(ブール値、オプション):リダイレクトに従うかどうか(デフォルト:true)
check-status
完全なコンテンツをダウンロードせずに URL にアクセスできるかどうかを確認します。
パラメータ:
url
(文字列、必須): 確認するURLtimeout
(数値、オプション): リクエストのタイムアウト(ミリ秒)
デスクトップ構成のクロード
Claude for Desktop で使用するには、 claude_desktop_config.json
に以下を追加します。
ライセンス
マサチューセッツ工科大学
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.
Node.js undici ライブラリを使用して Web コンテンツを取得できる MCP サーバー。さまざまな HTTP メソッド、コンテンツ形式、および要求構成をサポートします。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.Last updated -41,71634TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server for fetching and transforming web content into various formats.Last updated -46PythonMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3933
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that enables Claude or other LLMs to fetch content from URLs, supporting HTML, JSON, text, and images with configurable request parameters.Last updated -31PythonMIT License