Skip to content
Claude Code

mcp pihole for Claude Code

io.github.aplaceforallmystuff/mcp-pihole

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

client:Claude Code transport:stdio runtime:npm

Install mcp pihole in Claude Code

run in your project directory

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

claude mcp add mcp-pihole -e PIHOLE_URL=<PIHOLE_URL> -e PIHOLE_PASSWORD=<PIHOLE_PASSWORD> -- npx -y mcp-pihole-server

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

mcp pihole in other clients