mcp-server-fetch-typescript MCP サーバー
ウェブコンテンツの取得と変換機能を提供するモデルコンテキストプロトコルサーバーです。このサーバーは、様々なフォーマットとレンダリング方式をサポートする包括的なウェブコンテンツ取得システムを実装しており、単純なデータ抽出から高度なウェブスクレイピングまで、幅広いタスクに最適です。
特徴
ツール
get_raw_text
- URL から直接生のテキストコンテンツを取得します- テキストベースのリソースを指す
url
必須パラメータとして受け取ります - ブラウザレンダリングなしで未処理のテキストコンテンツを返します
- JSON、XML、CSV、TSV、またはプレーンテキストファイルに最適
- ソースコンテンツへの高速かつ直接的なアクセスが必要な場合に最適です
- テキストベースのリソースを指す
get_rendered_html
- 完全にレンダリングされた HTML コンテンツを取得する- 必須パラメータとして
url
を受け取ります - JavaScript 実行後に完全な HTML コンテンツを返します
- ヘッドレスブラウザレンダリングにPlaywrightを使用する
- 最新のWebアプリケーションとSPAに必須
- 必須パラメータとして
get_markdown
- WebコンテンツをMarkdown形式に変換する- 必須パラメータとして
url
を受け取ります - 構造要素を保持したフォーマットされたMarkdownを返します
- テーブルと定義リストをサポート
- コンテンツのアーカイブとドキュメント化に推奨
- 必須パラメータとして
get_markdown_summary
- メインコンテンツを抽出して変換する- 必須パラメータとして
url
を受け取ります - メインコンテンツに焦点を合わせたクリーンなマークダウンを返します
- ナビゲーション、ヘッダー、フッターを自動的に削除します
- 記事やブログ投稿の抽出に最適
- 必須パラメータとして
インストール
グローバルパッケージとして
プロジェクトの依存関係として
使用法
Claude Desktopでの使用
Claude Desktop で使用するには、サーバー設定を追加します。
MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
または次の構成を追加します。
デバッグ
MCP サーバーをデバッグするには:
You must be authenticated.
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.
Web コンテンツの取得および変換機能を提供するモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -securityFlicense-qualityThis server enables running a Model Context Protocol in a web browser with functionalities including arithmetic operations and session-based key-value storage.Last updated -2TypeScript
- -securityAlicense-qualityA Model Context Protocol server that enables web search, scraping, crawling, and content extraction through multiple engines including SearXNG, Firecrawl, and Tavily.Last updated -3511TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that transforms text into structured JSON data using templates with placeholders.Last updated -21TypeScriptMIT License