Fetch MCP Server
Fetch MCP Server
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install phpmac/fetch_mcp -c claudeThis command will automatically install and configure the Fetch MCP Server MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claudeAfter opening your configuration file, copy and paste this configuration:
View JSON configuration
{
"mcpServers": {
"Fetch MCP Server": {
"command": "npx",
"args": [
"-y",
"fetch"
],
"env": {}
}
}
}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
Details:
Stars
1Forks
0Last commit
7 months agoRepository age
7 months
Auto-fetched from GitHub .
MCP servers similar to Fetch MCP Server:
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit