Safe Fetch
Fetches public web pages for agents while blocking SSRF, DNS rebinding, unsafe redirects, and internal destinations.
Install Safe Fetch
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"safe-fetch": {
"command": "npx",
"args": [
"-y",
"safe-fetch-mcp-server"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
claude mcp add --transport stdio safe-fetch -- npx -y safe-fetch-mcp-serverRun in your terminal. Add --scope project to share it with your team through .mcp.json.
Automated check passed— started and listed 1 tools correctly ().
Overview
Use cases
- Fetch public documentation for an agent
- Extract article content from external web pages
- Inspect URLs without exposing internal network services
- Replace an unprotected fetch server with SSRF checks
- Retrieve paginated page text through the compatibility tool
Key features
- SSRF and DNS-rebinding defenses
- Redirect destination revalidation
- Markdown or raw text output
- Main-content or full-page extraction
- Untrusted-content framing
- Stdio and Streamable HTTP modes
Tools1
What Safe Fetch lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 1 tool this server returned when we ran it; 1 declare their own safety hints.
Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 13d ago via OSV.dev · safe-fetch-mcp-server (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Safe Fetch works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Safe Fetch
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/safe-fetch)<a href="https://allmcps.com/mcp/safe-fetch"><img src="https://allmcps.com/api/badge/safe-fetch?style=directory" alt="Safe Fetch on AllMCPs" /></a>