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.
Xiaohongshu Search & Comment
An automated tool to search notes, retrieve content, and post comments on Xiaohongshu (RedBook) using Playwright.
MCP URL2SNAP
A lightweight MCP server that captures screenshots of any URL and returns the image URL. Requires an AbstractAPI key.
MCP URL Format Converter
Fetches content from any URL and converts it to HTML, JSON, Markdown, or plain text.
MCP Deep Web Research Server
An advanced web research server with intelligent search queuing, enhanced content extraction, and deep research capabilities.
Markdown Downloader
Download webpages as markdown files using the r.jina.ai service, with configurable directories and persistent settings.
Readability Parser
Extracts and transforms webpage content into clean, LLM-optimized Markdown using the Readability algorithm.
Web Fetch
Fetches and converts web content, ideal for data extraction and web scraping.
Sitemap MCP Server
A server for fetching, parsing, analyzing, and visualizing website sitemaps.
MCP Undetected Chromedriver
Automate Chrome browser control while bypassing anti-bot detection using undetected-chromedriver.
Open Crawler MCP Server
A web crawler and content extractor that supports multiple output formats like text, markdown, and JSON.