Skip to content
Verified official

Pi-hole MCP Server MCP

v0.9.0

io.github.hexamatic/pihole-mcp

Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.

transport:stdio runtime:oci

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add pihole-mcp -e PIHOLE_URL=<PIHOLE_URL> -e PIHOLE_PASSWORD=<PIHOLE_PASSWORD> -e TZ=<TZ> -e PIHOLE_READ_ONLY=<PIHOLE_READ_ONLY> -e PIHOLE_TLS_SKIP_VERIFY=<PIHOLE_TLS_SKIP_VERIFY> -e PIHOLE_REQUEST_TIMEOUT=<PIHOLE_REQUEST_TIMEOUT> -e PIHOLE_MAX_RETRIES=<PIHOLE_MAX_RETRIES> -e PIHOLE_RETRY_MAX_DELAY=<PIHOLE_RETRY_MAX_DELAY> -- docker run -i --rm ghcr.io/hexamatic/pihole-mcp:0.9.0

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.