NestDaddy

Mcp Pihole

io.github.aplaceforallmystuff/mcp-pihole · v1.0.1

Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists

Connect Runs on your machine

Terminal
claude mcp add mcp-pihole -e PIHOLE_URL=<PIHOLE_URL> -e PIHOLE_PASSWORD=<PIHOLE_PASSWORD> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-pihole": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PIHOLE_URL": "<PIHOLE_URL>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-pihole": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PIHOLE_URL": "<PIHOLE_URL>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
PIHOLE_URL
Required
Pi-hole web interface URL (e.g., http://pihole.local:8080)
PIHOLE_PASSWORD
Required, secret
Pi-hole app password for API authentication

Details

Package[email protected] (NPM, stdio)
First published28 Nov 2025
Last updated28 Nov 2025
Registry nameio.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.