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
Google Maps MCP Server
Google Maps MCP servers enable AI models to interact with Google Maps APIs, providing capabilities for location search, geocoding, directions, and elevation data.
Google Search MCP Server
An advanced Model Context Protocol (MCP) server that provides comprehensive Google search capabilities, webpage content extraction, and AI-powered research synthesis.
MySQL MCP Server
MySQL MCP servers enable AI models to interact with MySQL databases, providing capabilities for structured data operations, SQL queries, transaction management, and relational data management.