web-fetch-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@web-fetch-mcp Summarize the main points from https://example.com/article"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Web Fetch MCP Server
A Model Context Protocol (MCP) server that provides web content fetching, summarization, comparison, and extraction capabilities.
Features
Three Core Tools: Provides
summarize_web,compare_web, andextract_webfor versatile web content processing.Handles Multiple URLs: Process up to 20 URLs in a single request.
Content Transformation: Converts HTML to clean, readable text and automatically resolves GitHub
/blob/URLs to their raw content equivalent.Safe & Secure: Protects against Server-Side Request Forgery (SSRF) by blocking requests to private IP addresses.
Configurable: Allows setting timeouts and content length limits to manage performance.
Related MCP server: MCP Server Fetch Python
Installation
Install the server globally from npm:
npm install -g web-fetch-mcpMCP Agent Configuration
To use this server with an AI agent that supports the Model Context Protocol, add the following configuration to your agent's settings. Once configured, your agent can call the tools provided by this service.
Important: You must provide a valid Gemini API key for the server to work.
If you installed the package globally:
{
"mcpServers": {
"web-fetch-mcp": {
"type": "stdio",
"command": "web-fetch-mcp",
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
}
}
}
}Note: If you encounter network access issues (e.g., unable to connect to Gemini), you can configure the environment variables HTTPS_PROXY and HTTP_PROXY. By default, the gemini-2.5-flash model is used, consistent with Gemini-CLI.
If you are running from a local clone:
{
"mcpServers": {
"web-fetch-mcp": {
"type": "stdio",
"command": "node",
"args": ["/path/to/web-fetch-mcp/dist/index.js"],
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
}
}
}
}Tool Reference
The service provides the following tools:
summarize_web: Summarizes content from one or more URLs.compare_web: Compares content across multiple URLs.extract_web: Extracts specific information from web content using natural language prompts.
Example Tool Call
To use a tool, your agent should make a callTool request specifying the tool name and a prompt:
{
"tool": "summarize_web",
"arguments": {
"prompt": "Summarize the main points from https://example.com/article"
}
}For Developers
If you wish to contribute to the development of this server:
Clone the repository:
git clone https://github.com/your-username/web-fetch-mcp.git cd web-fetch-mcpInstall dependencies:
npm installRun in development mode:
npm run devBuild for production:
npm run build
Available Tools
3 toolscompare_webB
Compare content from multiple URLs
Inputs: prompt (required).
extract_webC
Extract specific information from web content based on natural language prompts
Inputs: prompt (required).
summarize_webC
Summarize content from one or more URLs
Inputs: prompt (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: summarize gives an overview, compare contrasts multiple URLs, and extract pulls specific details. No ambiguity between them.
All tool names follow the same verb_web pattern (summarize_web, compare_web, extract_web), making the set predictable and easy to navigate.
Three tools is appropriately scoped for a web-content analysis server. Each tool addresses a distinct need without unnecessary bloat.
The toolset covers the core operations of summarization, comparison, and extraction. A minor gap is the absence of a raw fetch tool, but the server's purpose is focused on processed output, so this is acceptable.
Maintenance
Related MCP Connectors
MCP server for web extraction and rendering via AceDataCloud WebExtrator
One MCP server for 180+ live web-data APIs returning clean JSON from sites that block scrapers.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
Related MCP Servers
- AlicenseAqualityDmaintenanceA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.49,329 npm42MIT
- AlicenseAqualityCmaintenanceAn MCP server for fetching and transforming web content into various formats.49MIT
- AlicenseAqualityCmaintenanceMCP server for web crawling, searching, and AI-powered content extraction, supporting single-page, batch, and full-site crawling along with text, news, image, book, and video search.81MIT
- AlicenseAqualityBmaintenanceAn MCP server that enables AI assistants to fetch web content in multiple formats (HTML, JSON, text, Markdown) with intelligent content extraction, chunk management, and browser automation support.6152 npm15MIT