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
相关服务器
Bright Data
赞助Discover, extract, and interact with the web - one interface powering automated access across the public internet.
MCP Substack Server
Download and parse Substack posts.
MCP Deep Web Research Server
An advanced web research server with intelligent search queuing, enhanced content extraction, and deep research capabilities.
Sports MCP Server
Live sports scores and stats from NBA, NFL, and NHL
Pip Server
Market Data
Weibo
Scrape Weibo user information, feeds, and perform searches.
Xpoz MCP
Social Media Intelligence for AI Agents
Yahoo Finance
Fetch stock data, news, and financial information from Yahoo Finance.
WebSearch
An advanced web search and content extraction tool powered by the Firecrawl API for web scraping and analysis.
MCP Browser Use Secure
A secure MCP server for browser automation with enhanced security features like multi-layered protection and session isolation.
Lightpanda Go MCP server
A Go-based MCP server for interacting with the Lightpanda Browser using the Chrome DevTools Protocol (CDP).