mcp-fetch

mcp-fetch

3.7

Model Context Protocol server for fetching web content and processing images, designed for use with Claude Desktop or any MCP client.

MCP Fetch is a Model Context Protocol server that enables the fetching of web content and processing of images for use with Claude Desktop or any compatible MCP client. It allows users to retrieve URLs from the internet, extract their content as markdown, and handle images efficiently. The tool is specifically designed for macOS due to its reliance on macOS-specific clipboard operations. It uses Sharp for image processing, ensuring optimal performance and quality. The tool can automatically handle multiple images by merging them vertically, adhering to specified size limits, and extracting the first frame of animated GIFs.

Features

  • Fetches web content and processes images for MCP clients.
  • Automatically handles multiple images with size and dimension limits.
  • Designed specifically for macOS with clipboard operation support.
  • Uses Sharp for high-performance image processing.
  • Integrates seamlessly with Claude Desktop for enhanced functionality.

MCP Tools

  • fetch: Retrieves URLs from the Internet and extracts their content as markdown. Images are automatically processed and prepared for clipboard operations.

Usage with Different Platforms

Claude Desktop Configuration


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

Smithery Installation

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

Manual Installation

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

Global tsx Installation

bash
npm install -g tsx
# or
pnpm add -g tsx