Install Pi-hole in Claude Code
claude mcp add pi-hole -e PIHOLE_URL=... -e PIHOLE_PASSWORD=... -- docker run -i --rm -e PIHOLE_URL -e PIHOLE_PASSWORD ghcr.io/hexamatic/pihole-mcp:0.9.0{
"mcpServers": {
"pi-hole": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PIHOLE_URL",
"-e",
"PIHOLE_PASSWORD",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "...",
"PIHOLE_PASSWORD": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Pi-hole MCP server do?
Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.
Is the Pi-hole MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Pi-hole run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Pi-hole to Claude Code?
Run: claude mcp add pi-hole -e PIHOLE_URL=... -e PIHOLE_PASSWORD=... -- docker run -i --rm -e PIHOLE_URL -e PIHOLE_PASSWORD ghcr.io/hexamatic/pihole-mcp:0.9.0
More other tools & integrations MCP servers
View allPixoo
cyanheads/pixoo-mcp-server
Render and push styled pixel art, text, dashboards, and animations to Divoom Pixoo LED displays.
mcpindex
mcpindex-ai/mcpindex-web
The MCP server index that vets servers, not just lists them. Advisory screen before you install.
Posokanei
charistas/posokanei-mcp
Unofficial read-only MCP server for Greek supermarket price data from PosoKanei.
Local Dfw
LizzleChen/local-dfw-mcp
Your AI's DFW guide: events, appraisals, Dallas 311, crime, floods, schools, utilities, districts.
QuasarUI
quasarui/quasarui-mcp
Find Quasar Framework(Vue) UI Components and paste their source. Free Components need no key.
Kit
aplaceforallmystuff/mcp-kit
MCP server for Kit.com (ConvertKit) - manage subscribers, tags, sequences, broadcasts