Fetch MCP Server
Fetch MCP servers enable AI models to retrieve and process content from web pages, converting HTML to markdown for easier consumption.
Overview
The MCP Fetch Server provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption. It supports chunked reading of web pages.
Official Server:
Developed and maintained by Anthropic
Key Features
Web Content Fetching
Retrieve content from any URL on the internet
HTML to Markdown Conversion
Automatically convert fetched HTML content into readable Markdown
Chunked Reading
Read web pages in manageable chunks, allowing models to process large documents incrementally
Customization Options
Configure user-agent, proxy settings, and robots.txt obedience
Available Tools
Quick Reference
| Tool | Purpose | Category |
|---|---|---|
fetch | Fetch URL content | Read |
Detailed Usage
fetch▶
Fetches a URL from the internet and extracts its contents as markdown.
use_mcp_tool({
server_name: "fetch",
tool_name: "fetch",
arguments: {
url: "https://example.com",
max_length: 5000,
start_index: 0,
raw: false
}
});
Returns the fetched content, optionally converted to Markdown.
Installation
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
}
}
}
Common Use Cases
1. Summarizing Web Pages
Fetch web content and have an LLM summarize it for quick insights:
// Fetch a news article and summarize it
use_mcp_tool({
server_name: "fetch",
tool_name: "fetch",
arguments: {
url: "https://example.com/news-article",
max_length: 1000
}
});
2. Extracting Specific Information
Extract data points from web pages, such as product details or contact information:
// Extract product price from an e-commerce page
use_mcp_tool({
server_name: "fetch",
tool_name: "fetch",
arguments: {
url: "https://example.com/product/123",
// LLM would then parse the markdown to find the price
}
});
3. Monitoring Websites
Periodically fetch content to detect changes or updates on a website:
// Monitor a competitor's pricing page
use_mcp_tool({
server_name: "fetch",
tool_name: "fetch",
arguments: {
url: "https://competitor.com/pricing"
}
});
Connection String Format
Not applicable, as the Fetch MCP Server retrieves content from URLs rather than connecting to a database.
Sources
Related Articles
Azure DevOps MCP Server
The Azure DevOps MCP Server enables AI models to interact with Azure DevOps, providing capabilities for managing work items, pull requests, pipelines, and more.
Terminal MCP Server
Terminal MCP servers enable AI models to interact with command-line interfaces and shells, providing capabilities for executing commands, managing processes, file operations, and handling terminal I/O in a secure environment.
Zig MCP Server
Zig MCP servers enable AI models to interact with Zig projects, providing capabilities for build system management, code optimization, and code generation.