Manage a self-hosted DNS firewall: block domains, create policies, read query logs and metrics.
MCPpedia last refreshed this data
io.github.hydradns/hydra-mcp is an MCP server that manage a self-hosted DNS firewall: block domains, create policies, read query logs and metrics. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 69/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"hydradns": {
"env": {
"HYDRA_API_URL": "http://localhost:8080"
},
"args": [
"mcp"
],
"command": "/path/to/hydra"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Manage a self-hosted DNS firewall: block domains, create policies, read query logs and metrics.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in security / analytics
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
MCP server that enables AI agents to perform comprehensive web audits using Google Lighthouse with 13+ tools for performance, accessibility, SEO, and security analysis.
MCP Security Weekly
Get CVE alerts and security updates for io.github.hydradns/hydra-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A self-hosted DNS firewall in Go. Blocks ads, malware and trackers network-wide, like Pi-hole. API-first control plane, a real dashboard, a CLI, and a built-in Model Context Protocol server so Claude or any MCP agent can manage policy for you.
Screenshots and product site at hydradns.app (a marketing site with static screenshots, not an interactive demo)

| HydraDNS | Pi-hole | |
|---|---|---|
| Core | Go, gRPC control/data plane split | C (pihole-FTL), embedded web server |
| Setup | docker compose up -d pulls the published core + dashboard images once a release exists, and builds them from source before that | installer script or Docker |
| AI management (MCP) | ✅ built in (hydra mcp, 14 tools: block/unblock, policies, logs, metrics, anomaly explain) | ❌ third-party community bridges only |
| DoH bypass blocking | ✅ curated DoH bootstrap endpoints blocked at query time | ⚠️ Firefox canary domain only; add third-party lists for the rest |
| Policies | priority-based allow/block/redirect via API or UI; CLI covers block/unblock/list/delete (no generic create yet) | groups, regex, and per-client rules (more mature today) |
| Maturity | young, pre-1.0, moving fast | 10+ years, huge community, built-in DHCP |
Choose Pi-hole today for battle-tested stability, regex rules, and community support. Choose HydraDNS for a hackable Go codebase, an API-first control plane, and AI-agent management over MCP that self-hosted alternatives only get through third-party bridges.
Honest limits: like every DNS-layer filter, HydraDNS cannot stop a client that hardcodes a DoH server by raw IP. Pair it with a firewall rule on 443/853 to close that path. For the fuller list (no TLS on the dashboard/gRPC yet, no DNSSEC, regex/wildcard policies not enforced, and more), see docs/limitations.md.
I spent 15 months building an enterprise next-generation firewall in Go, and kept wishing the self-hosted version of that tooling existed: something a home or small-office network could run, with a real API and a control plane you could drive from a script or an AI agent instead of a settings page. HydraDNS is that tool. The built-in Model Context Protocol server comes from the same work I do upstream as a CNCF Jaeger contributor, where I build MCP tooling for observability.
It is pre-1.0 and moving fast. If it is useful to you, a star and an issue both help.
Built by Roshan Singh (@lopster568).
# Clone (single repo, no submodules)
git clone https://github.com/hydradns/hydradns.git
cd hydradns
# Start everything
docker compose up -d
# Verify DNS is working
dig @localhost example.com
# Check the dashboard
open http://localhost:3000
Port 53 already in use? On Linux or WSL2,
systemd-resolvedmay already hold port 53. Free it before starting:sudo systemctl disable --now systemd-resolved(then set a DNS server in/etc/resolv.conf), or edit the port mapping indocker-compose.yml. See docs/pi-deployment.md for details.
That's it. DNS filtering is active. Give this machine a static IP and point your router's DNS to it. See docs/pi-deployment.md for static IP setup on Linux, macOS, and Windows plus per-router DNS instructions.