Pi-hole MCP Server
Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.
Open the source (opens github.com) https://github.com/hexamatic/pihole-mcp
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: PIHOLE_PASSWORD. Use a key with the least access you can.
What it is
MCP servers from io.github.hexamatic.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
oci package (stdio)
ghcr.io/hexamatic/pihole-mcp:0.10.0
From the server's entry in the official MCP Registry
Settings it asks for
PIHOLE_URLrequired · Base URL of your Pi-hole web interface. For multiple Pi-holes use PIHOLE_1_URL, PIHOLE_2_URL, ... instead.PIHOLE_PASSWORDsecret required · Pi-hole admin password, or an application password (recommended — bypasses TOTP 2FA)TZ· IANA timezone for rendered timestamps, e.g. Australia/Adelaide. Defaults to UTC in the container.PIHOLE_READ_ONLY· Expose only inspection tools. Every tool that can change Pi-hole is hidden and rejected if called.PIHOLE_TLS_SKIP_VERIFY· Set to true only for a Pi-hole serving a self-signed HTTPS certificate. A trusted certificate is the better fix.PIHOLE_REQUEST_TIMEOUT· HTTP request timeout as a Go duration, e.g. 30s or 1mPIHOLE_MAX_RETRIES· Retries after a transient Pi-hole API failure; 0 disables retryingPIHOLE_RETRY_MAX_DELAY· Upper bound on a single exponential-backoff wait, as a Go duration
Related
-
Pi-hole MCP Server
MCP serversMCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
@ranklancer/pihole-mcp@0.2.0 -
mcp-pihole
MCP serversPi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists
mcp-pihole-server@1.0.1 -
pihole-mcp
MCP serversMCP server for Pi-hole: status, stats, blocking toggle. Works with any instance.
pihole-mcp@1.0.0 -
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
Connect MCP servers to Claude Code
MCP serversAnthropic's guide to adding MCP servers to Claude Code, with examples of local and remote servers.