LocalFree server, account needed

Pihole MCP server

aplaceforallmystuff/mcp-pihole

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

8 GitHub stars1 forks362 npm downloads / month

Install Pihole in Claude Code

Claude Code
claude mcp add pihole -e PIHOLE_URL=... -e PIHOLE_PASSWORD=... -- npx -y mcp-pihole-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pihole": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pihole-server"
      ],
      "env": {
        "PIHOLE_URL": "...",
        "PIHOLE_PASSWORD": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Pihole MCP server do?

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

Is the Pihole 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 Pihole run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Pihole to Claude Code?

Run: claude mcp add pihole -e PIHOLE_URL=... -e PIHOLE_PASSWORD=... -- npx -y mcp-pihole-server

More other tools & integrations MCP servers

View all