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
Kakuyomu MCP Server
An MCP server for the Kakuyomu novel posting site, enabling users to search for works, retrieve episode lists, and read content.
Yahoo Finance
Interact with Yahoo Finance to get stock data, market news, and financial information using the yfinance Python library.
Read Website Fast
Fast, token-efficient web content extraction that converts websites to clean Markdown. Features Mozilla Readability, smart caching, polite crawling with robots.txt support, and concurrent fetching with minimal dependencies.
YouTube Transcript
A zero-setup server to extract transcripts from YouTube videos on any platform.
Bilibili
Interact with the Bilibili video website, enabling actions like searching for videos, retrieving video information, and accessing user data.
Secure Fetch
Secure fetch to prevent access to local resources
Firecrawl
Extract web data with Firecrawl
Web Fetch
Fetches and transforms web content, including JavaScript-rendered pages and media files, into various formats.
Open Crawler MCP Server
A web crawler and text extractor with robots.txt compliance, rate limiting, and page size protection.
yt-dlp-mcp
Download video and audio from various platforms like YouTube, Facebook, and TikTok using yt-dlp.