
Enhanced Model Context Protocol server for web content fetching (fetch on steroids). This server
Enhanced Model Context Protocol server for web content fetching (fetch on steroids). This server enables LLMs to retrieve and process content from any web pages, including those protected by Cloudflare and other security systems that regular fetch can't handle.
Enhanced Model Context Protocol server for web content fetching (fetch on steroids). This server enables LLMs to retrieve and process content from any web pages, including those protected by Cloudflare and other security systems that regular fetch can't handle.
xfetch - Enhanced web content fetching tool with advanced capabilities
url (string, required): URL to fetchmax_length (integer, optional): Maximum number of characters to return (default: 5000)start_index (integer, optional): Start content from this character index (default: 0)raw (boolean, optional): Get raw content without markdown conversion (default: false)render (boolean, optional): Enable JavaScript rendering for dynamic content (default: false)selector (string, optional): CSS selector to extract specific contenttimeout (integer, optional): Wait time in seconds for dynamic content loading (1-10 seconds)url (string, required): URL to fetchrender (boolean, optional): Enable JavaScript renderingselector (string, optional): CSS selector for content extractiontimeout (integer, optional): Dynamic content loading timeoutpip install mcp-server-xfetchWhen using uv, no specific installation is needed:
uvx mcp-server-xfetchAdd to your Claude settings:
"mcpServers": {
"xfetch": {
"command": "uvx",
"args": ["mcp-server-xfetch"]
}
}"mcpServers": {
"xfetch": {
"command": "python",
"args": ["-m", "mcp_server_xfetch"]
}
}XFetch service offers two usage tiers:
The package includes a default API token that allows limited free usage. This is great for:
However, the free tier has rate limits and may have occasional stability issues.
For stable and reliable service, especially for:
Visit xfetch.ai to:
Once you have your token, you can set it up in one of these ways:
# Option 1: Environment variable (recommended)
export XFETCH_API_TOKEN=your_token_here# Option 2: Command line argument
python -m mcp_server_xfetch --api-token=your_token_hereOr in your Claude configuration:
"mcpServers": {
"xfetch": {
"command": "python",
"args": ["-m", "mcp_server_xfetch", "--api-token=your_token_here"]
}
}# Simple fetch with markdown conversion
{
"url": "https://example.com"
}# Fetch from a dynamic website
{
"url": "https://dynamic-site.com",
"render": true,
"timeout": 5 # Wait up to 5 seconds for content to load
}# Extract specific content using CSS selector
{
"url": "https://news-site.com",
"selector": "article.main-content",
"render": true
}# First request
{
"url": "https://long-article.com",
"max_length": 5000
}
# Continue reading from where it left off
{
"url": "https://long-article.com",
"start_index": 5000,
"max_length": 5000
}You can use the MCP inspector to debug the server:
npx @modelcontextprotocol/inspector uvx mcp-server-xfetchWe welcome contributions! Whether you want to add new features, fix bugs, or improve documentation, your help is appreciated.
This project is licensed under the MIT License - see the LICENSE file for details.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/xfetch-mcp-server to learn what the "XFetch MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
uvx mcp-server-xfetchnpx @modelcontextprotocol/inspector uvx mcp-server-xfetchThis server runs locally, so we can't read its tool list over the web yet.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/xfetch-mcp-server)Nothing comparable is listed yet.
v0.1.1Release notesv0.1.0Release notesv0.0.1Release notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "xfetch-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.