Skip to main content
MCP server CX Codex

web-fetch-mcp — Claude Code MCP server: what it does, setup

This MCP server lets an agent read web pages, summarize them, compare URLs, and pull out requested details.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env GEMINI_API_KEY=<GEMINI_API_KEY> --env HTTP_PROXY=<HTTP_PROXY> --env HTTPS_PROXY=<HTTPS_PROXY> --transport stdio web-fetch-mcp -- npx -y web-fetch-mcp
Open on GitHub

What web-fetch-mcp does

web-fetch-mcp exposes three tools for web research: summarize_web creates a short account of linked pages, compare_web checks information across URLs, and extract_web finds requested details from page content. A single request can include up to 20 URLs. HTML is converted into readable text, and GitHub /blob/ links are resolved to raw content.

The server runs through npx and connects over MCP. It requires GEMINI_API_KEY; HTTP_PROXY and HTTPS_PROXY can be supplied when the route to Gemini needs a proxy. Without GEMINI_API_KEY, the server will not start. Requests to private IP addresses are blocked, while timeout and content-size limits can be configured.

What it helps with

  • summarize research pages by URL
  • compare claims across several sites
  • extract named details from web content
  • process up to 20 URLs in one request

Example prompts for the agent

  • Use summarize_web to give me the main points from these URLs: ...
  • Call compare_web and contrast the pricing and terms on these pages: ...
  • Use extract_web to find publication dates and author names in these pages: ...

How to install web-fetch-mcp

Platform CLI

claude mcp add --env GEMINI_API_KEY=<GEMINI_API_KEY> --env HTTP_PROXY=<HTTP_PROXY> --env HTTPS_PROXY=<HTTPS_PROXY> --transport stdio web-fetch-mcp -- npx -y web-fetch-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about web-fetch-mcp

How do I install web-fetch-mcp in Claude Code?

Run claude mcp add web-fetch-mcp -e GEMINI_API_KEY=<GEMINI_API_KEY> -- npx -y web-fetch-mcp.

What does web-fetch-mcp do?

It fetches web pages and gives an agent tools for summarizing, comparing, and extracting details from their content.

How many URLs can one request handle?

Up to 20 URLs. The server blocks requests to private IP addresses.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor