MCP Server Fetch TypeScript
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を受け取りますメインコンテンツに焦点を合わせたクリーンなマークダウンを返します
ナビゲーション、ヘッダー、フッターを自動的に削除します
記事やブログ投稿の抽出に最適
Related MCP server: MCP Server for Google Search
インストール
グローバルパッケージとして
npm install -g mcp-server-fetch-typescriptプロジェクトの依存関係として
npm install mcp-server-fetch-typescript使用法
Claude Desktopでの使用
Claude Desktop で使用するには、サーバー設定を追加します。
MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"mcp-server-fetch-typescript": {
"command": "npx",
"args": [
"-y",
"mcp-server-fetch-typescript"
]
}
}または次の構成を追加します。
git clone https://github.com/tatn/mcp-server-fetch-typescript.git
cd mcp-server-fetch-typescript
npm install
npm run build"mcpServers": {
"mcp-server-fetch-typescript": {
"command": "node",
"args": [
"/path/to/mcp-server-fetch-typescript/build/index.js"
]
}
}デバッグ
MCP サーバーをデバッグするには:
npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescriptnpx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.jsAvailable Tools
4 toolsget_markdownA
Converts web page content to well-formatted Markdown, preserving structural elements like tables and definition lists. Recommended as the default tool for web content extraction when a clean, readable text format is needed while maintaining document structure.
Inputs: url (required).
get_markdown_summaryA
Extracts and converts the main content area of a web page to Markdown format, automatically removing navigation menus, headers, footers, and other peripheral content. Perfect for capturing the core content of articles, blog posts, or documentation pages.
Inputs: url (required).
get_raw_textA
Retrieves raw text content directly from a URL without browser rendering. Ideal for structured data formats like JSON, XML, CSV, TSV, or plain text files. Best used when fast, direct access to the source content is needed without processing dynamic elements.
Inputs: url (required).
get_rendered_htmlA
Fetches fully rendered HTML content using a headless browser, including JavaScript-generated content. Essential for modern web applications, single-page applications (SPAs), or any content that requires client-side rendering to be complete.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: get_markdown preserves full structure, get_markdown_summary focuses on core content, get_raw_text handles raw data formats, and get_rendered_html captures JavaScript-rendered content. The descriptions explicitly differentiate use cases, leaving no ambiguity for agent selection.
All tool names follow a consistent 'get_*' verb_noun pattern with snake_case, making them predictable and easy to parse. The naming convention is uniform across all four tools, enhancing readability and coherence.
With 4 tools, the set is well-scoped for a web content fetching server, covering key extraction methods (Markdown, raw text, rendered HTML) and a specialized summary variant. Each tool earns its place without redundancy or excessive complexity.
The tool surface comprehensively covers the domain of web content fetching: it includes raw extraction, rendered content, and two Markdown variants for different needs. There are no obvious gaps, as the tools handle static, dynamic, and structured content effectively.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for Studex tools, notifications, and profile integrations
A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots
MCP server for web extraction and rendering via AceDataCloud WebExtrator
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that converts Markdown content to HTML format.14,207 npm2MIT
- FlicenseAqualityCmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.26 npm2-
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.2MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server providing web search capabilities using Google Custom Search API and webpage content extraction functionality.2MIT