mcp-fetch-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., "@mcp-fetch-serverFetch https://example.com and summarize the main content"
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.
mcp-fetch-server
Standalone MCP network server exposing a single fetch_url tool. It fetches a URL
and returns the page's main content as stripped plain text — the same behavior as
Open WebUI's built-in fetch_url, as a self-hosted service any MCP client can use
over the network (streamable HTTP).
Features
One tool:
fetch_url(url)— HTML is reduced to main text (trafilatura, with a BeautifulSoup fallback);text/*responses are returned as-is.Proxy support: all fetch traffic can be routed through an HTTP or SOCKS5 proxy.
Configurable request timeout and content-length truncation.
Environment-variable-only configuration (no config files).
SSRF guard: blocks private, loopback, link-local, and reserved target addresses by default, including on redirects.
Docker deployment, non-root.
Related MCP server: superFetch MCP Server
Configuration
All configuration is read from environment variables at startup. Invalid values fail the server at startup with an error naming the variable.
Variable | Meaning | Default |
| Address to bind |
|
| Port to bind |
|
| Proxy URL: | unset = direct connection |
| Per-request timeout in seconds |
|
| Extracted text is truncated beyond this many characters (a truncation marker is appended) |
|
|
|
|
|
|
|
Docker
docker build -t mcp-fetch-server .Direct connection:
docker run -d --name mcp-fetch-server -p 8080:8080 mcp-fetch-serverVia an HTTP proxy:
docker run -d --name mcp-fetch-server -p 8080:8080 \
-e FETCH_PROXY='http://user:pass@proxy.example:8888' \
mcp-fetch-serverVia a SOCKS5 proxy (use socks5h:// to resolve DNS through the proxy):
docker run -d --name mcp-fetch-server -p 8080:8080 \
-e FETCH_PROXY='socks5h://proxy.example:1080' \
mcp-fetch-serverThe container runs as the non-root nonroot user, exposes port 8080, and carries
a HEALTHCHECK that verifies the MCP endpoint responds. The MCP endpoint path is
/mcp, e.g. http://<host>:8080/mcp.
Point any MCP client at the endpoint, e.g. (Open WebUI / generic streamable HTTP):
{ "url": "http://<host>:8080/mcp" }Running without Docker
python3 -m venv .venv
.venv/bin/pip install -e .
.venv/bin/mcp-fetch-serverSSRF guard
The server is network-exposed and the LLM chooses the URLs, so by default it
refuses to fetch addresses that are loopback, private (RFC 1918, fc00::/7),
link-local (including the cloud metadata address 169.254.169.254), or otherwise
reserved. The check applies to the resolved IP and is re-run on every redirect hop,
and direct connections are pinned to the resolved address to close the
DNS-rebinding gap.
Warning: set FETCH_ALLOW_PRIVATE=1 only when the deployment is behind a
proxy or network boundary that already isolates internal addresses. With the
guard disabled and a permissive proxy, the tool can be used to reach internal
services.
Development
.venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest
.venv/bin/ruff check .
.venv/bin/mypy mcp_fetch_serverThis 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
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch and analyze web content from URLs through MCP protocol. Supports batch processing, content extraction, summarization, and metadata extraction with intelligent filtering of ads and navigation elements.
- AlicenseAqualityDmaintenanceAn MCP server that fetches web pages and extracts clean, AI-friendly Markdown content using Mozilla Readability. It provides secure web access for LLMs with built-in SSRF protection and automated content cleaning for improved context retrieval and summarization.1314MIT
- AlicenseNot gradedqualityFmaintenanceAn MCP server that extracts clean Markdown or HTML content from web pages by stripping away ads, navigation, and clutter. It offers tools to process URLs or raw HTML, returning structured metadata alongside the main article content.2MIT
- AlicenseAqualityCmaintenanceMCP server that converts URLs to clean Markdown/Text for LLM agents.5735MIT
Related MCP Connectors
Free remote MCP server for fetching public web pages through a rotating proxy pool.
Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
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/Worldexe/mcp_fetch_url_proxyfied'
If you have feedback or need assistance with the MCP directory API, please join our Discord server