Fetch MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Fetch MCP Serverfetch the content of https://example.com/article"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Fetch MCP Server

A Model Context Protocol server that provides web content fetching capabilities using browser automation, OCR, and multiple extraction methods. This server enables LLMs to retrieve and process content from web pages, even those that require JavaScript rendering or use techniques that prevent simple scraping.
Available Tools
fetch- Fetches a URL from the internet using browser automation and multi-method extraction (including OCR).url(string, required): URL to fetchraw(boolean, optional): Get the actual HTML content if the requested page, without simplification (default: false)
The server uses multiple methods to extract content:
Browser automation with undetected-chromedriver
OCR using pytesseract with layout detection
HTML extraction using requests/BeautifulSoup
Document parsing (PDF, DOCX, PPTX)
Original markdown conversion method
The server uses a sophisticated scoring system to select the best result, considering:
Base content score (up to 50 points)
Points awarded based on content length (1 point per 100 characters, max 50)
Penalizes extremely short content (<100 characters)
Structure bonus (up to 20 points)
Awards points for well-structured content with paragraphs
More paragraphs indicate better content organization
Quality penalties
Detects and penalizes error messages
Reduces score for content containing error indicators
Validates content structure and readability
The scoring system ensures the most reliable and high-quality content is selected, regardless of the extraction method used. Debug logging is available to track scoring decisions.
Prompts
fetch
Fetch a URL and extract its contents as markdown using browser automation
Arguments:
url(string, required): URL to fetch
Installation
Using Docker
To install and run mcp-server-fetch using Docker, follow these steps:
Build the Docker image:
docker build -t mcp-server-fetch .Run the Docker container:
docker run --rm -i mcp-server-fetch
Related MCP server: Universal Web Data Extraction Platform
Configuration
Configure Roo Code or Claude App
Add to your Claude settings:
{
"mcpServers": {
"fetch": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp-server-fetch"
],
"disabled": false,
"alwaysAllow": []
}
}
}Customization - User-agent
By default, depending on if the request came from the model (via a tool), or was user initiated (via a prompt), the server will use either the user-agent
ModelContextProtocol/1.0 (Autonomous; +https://github.com/modelcontextprotocol/servers)or
ModelContextProtocol/1.0 (User-Specified; +https://github.com/modelcontextprotocol/servers)This can be customized by adding the argument --user-agent=YourUserAgent to the args list in the configuration.
Browser Automation and OCR
The server now includes advanced content extraction capabilities:
Automated handling of cookie consent banners
Full-page screenshot capture
OCR with layout detection using pytesseract
Multiple extraction methods with automatic selection of best results
Contributing
We encourage contributions to help expand and improve mcp-server-fetch. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.
For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers
Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-server-fetch even more powerful and useful.
License
mcp-server-fetch is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environmentLast updated10419298MIT
- Flicense-qualityDmaintenanceEnables LLMs to extract content from websites using automated static and dynamic scraping engines with built-in anti-bot protections. It provides tools for web data retrieval and stores results in MongoDB with support for JSON and CSV exports.Last updated
- AlicenseAqualityDmaintenanceProvides web access capabilities for LLMs including search, fetching, content extraction, PDF reading, image viewing, and screenshots.Last updated345MIT
- AlicenseAqualityDmaintenanceEnables LLMs to fetch and extract web content as markdown with browser impersonation to bypass basic bot detection.Last updated1MIT
Related MCP Connectors
Enable language models to perform advanced AI-powered web scraping with enterprise-grade reliabili…
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaartenSmeets/mcp-server-fetch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server