Fetch
Fetch web content in various formats like HTML, JSON, plain text, and Markdown.
Fetch MCP Server
This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
Tools
-
fetch_html
- Fetch website content and return as HTML
- Input parameters:
url(string, required): URL of the website to fetchheaders(object, optional): Custom headers to include in the request
- Returns the raw HTML content of the webpage
-
fetch_json
- Fetch JSON file from URL
- Input parameters:
url(string, required): URL of the JSON to fetchheaders(object, optional): Custom headers to include in the request
- Returns the parsed JSON content
-
fetch_txt
- Fetch website content and return as plain text (no HTML)
- Input parameters:
url(string, required): URL of the website to fetchheaders(object, optional): Custom headers to include in the request
- Returns the text content of the webpage with HTML tags, scripts, and styles removed
-
fetch_markdown
- Fetch website content and return as Markdown
- Input parameters:
url(string, required): URL of the website to fetchheaders(object, optional): Custom headers to include in the request
- Returns the webpage content converted to Markdown format
2 Ways to Start
- bun
bun i
bun start
- docker
docker compose up --build -d
Usage
{
"mcpServers": {
"fetch-mcp": {
"transport": "sse",
"url": "http://localhost:3000/sse",
"headers": {
"Authorization": "Bearer your-token-here",
"X-Custom-Header": "custom-value"
},
"useNodeEventSource": true
}
}
}
Resources
This server does not provide any persistent resources. It is designed to fetch and transform web content on demand.
References
Related Servers
Bright Data
sponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Extract Developer & LLM Docs
Extract documentation for AI agents from any site with llms.txt support. Features MCP server, REST API, batch processing, and multiple export formats.
Sports MCP Server
Live sports scores and stats from NBA, NFL, and NHL
Google Maps Reviews MCP Server
Summarizes reviews for a specific location from Google Maps.
Shufersal MCP Server
Automates shopping on the Shufersal website, enabling LLMs to search for products, create shopping lists, and manage the cart.
Wayback Machine
Access the Internet Archive's Wayback Machine to retrieve archived web pages and check for available snapshots of URLs.
yt-dlp
Download video and audio from YouTube and other platforms using the yt-dlp tool.
Crawl MCP
An MCP server for crawling WeChat articles. It supports single and batch crawling with multiple output formats, designed for AI tools like Cursor.
Mozilla Readability Parser
Extracts and transforms webpage content into clean, LLM-optimized Markdown using Mozilla's Readability algorithm.
VLR MCP
MCP server for accessing VLR.gg VALORANT esports data