Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists
Connect Runs on your machine
claude mcp add mcp-pihole -e PIHOLE_URL=<PIHOLE_URL> -e PIHOLE_PASSWORD=<PIHOLE_PASSWORD> -- npx -y [email protected]
{
"mcpServers": {
"mcp-pihole": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PIHOLE_URL": "<PIHOLE_URL>",
"PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
}
}
}
}
{
"mcpServers": {
"mcp-pihole": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PIHOLE_URL": "<PIHOLE_URL>",
"PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
}
}
}
}
{
"servers": {
"mcp-pihole": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PIHOLE_URL": "<PIHOLE_URL>",
"PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PIHOLE_URLRequired | Pi-hole web interface URL (e.g., http://pihole.local:8080) |
PIHOLE_PASSWORDRequired, secret | Pi-hole app password for API authentication |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 28 Nov 2025 |
| Last updated | 28 Nov 2025 |
| Registry name | io.github.aplaceforallmystuff/mcp-pihole |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
