Skip to main content
Glama

MCP Fetch

by JeremyNixon

MCPフェッチ

ウェブコンテンツの取得と画像処理のためのモデルコンテキストプロトコル(MCP)サーバー。これにより、Claude Desktop(または任意のMCPクライアント)はウェブコンテンツを取得し、画像を適切に処理できるようになります。

クイックスタート(ユーザー向け)

このツールを Claude Desktop で使用するには、Claude Desktop の構成 ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に以下を追加するだけです。

{ "tools": { "fetch": { "command": "npx", "args": ["-y", "@kazuph/mcp-fetch"] } } }

これにより、必要に応じてツールの最新バージョンが自動的にダウンロードされ、実行されます。

必要な設定

  1. クロードのアクセシビリティを有効にする:
    • システム設定を開く
    • 「プライバシーとセキュリティ」>「アクセシビリティ」へ移動
    • 「+」ボタンをクリック
    • アプリケーションフォルダからClaudeを追加します
    • クロードのトグルをオンにする

自動クリップボード操作 (Cmd+V) が適切に機能するには、このアクセシビリティ設定が必要です。

開発者向け

次のセクションは、ツールを開発または変更したい人向けです。

前提条件

  • Node.js 18歳以上
  • macOS(クリップボード操作用)
  • Claude Desktop ( https://claude.ai/desktopからインストール)
  • tsx ( npm install -g tsxでインストール)

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の MCP Fetch を自動的にインストールするには:

npx -y @smithery/cli install @kazuph/mcp-fetch --client claude

手動インストール

git clone https://github.com/kazuph/mcp-fetch.git cd mcp-fetch npm install npm run build

画像処理仕様

Web コンテンツから画像を処理する場合、次の制限が適用されます。

  • グループあたり最大6枚の画像
  • グループあたりの最大高さは8000ピクセル
  • グループあたりの最大サイズは30MBです

コンテンツがこれらの制限を超えると、画像は自動的に複数のグループに分割され、複数回貼り付け (Cmd+V) が必要になります。

構成

  1. Claude Desktop がインストールされ、実行されていることを確認してください。
  2. まだインストールしていない場合は、tsx をグローバルにインストールします。
npm install -g tsx # or pnpm add -g tsx
  1. Claude Desktop の設定を変更してください: ~/Library/Application Support/Claude/claude_desktop_config.json

これは、Claude Desktop メニューから簡単に見つけることができます。

  1. クロードデスクトップを開く
  2. MacのメニューバーでClaudeをクリック
  3. 「設定」をクリック
  4. 「開発者」をクリック

MCP クライアントの構成に以下を追加します。

{ "tools": { "fetch": { "args": ["tsx", "/path/to/mcp-fetch/index.ts"] } } }

利用可能なツール

  • fetch : インターネットからURLを取得し、その内容をマークダウンとして抽出します。画像は自動的に処理され、クリップボード操作用に準備されます。

注記

  • このツールは、macOS 固有のクリップボード操作に依存しているため、macOS 専用に設計されています。
  • 画像は、最適なパフォーマンスと品質を実現するために Sharp を使用して処理されます。
  • 複数の画像が見つかった場合は、サイズ制限を考慮して垂直に結合されます。
  • アニメーション GIF は、最初のフレームを抽出することによって自動的に処理されます。
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude Desktop (または任意の MCP クライアント) が Web コンテンツを取得し、画像を適切に処理できるようにするモデル コンテキスト プロトコル サーバー。

  1. クイックスタート(ユーザー向け)
    1. 必要な設定
  2. 開発者向け
    1. 前提条件
      1. インストール
        1. Smithery経由でインストール
        2. 手動インストール
      2. 画像処理仕様
        1. 構成
          1. 利用可能なツール
            1. 注記

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
                Last updated -
                1
                278
                15
                JavaScript
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
                Last updated -
                10
                322
                28
                JavaScript
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                A 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 -
                Python
                MIT License
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.
                Last updated -
                1
                1
                3
                JavaScript
                MIT License
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/JeremyNixon/mcp-fetch'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server