Skip to main content

MCP Pihole

io.github.aplaceforallmystuff/mcp-pihole

v1.0.1Updated Nov 28, 2025stdio · npm

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

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-pihole -e 'PIHOLE_URL=<your-pihole-url>' -e 'PIHOLE_PASSWORD=<your-pihole-password>' -- npx -y [email protected]

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • PIHOLE_PASSWORD
    Env var· required· secret
    Pi-hole app password for API authentication
  • PIHOLE_URL
    Env var· required
    Pi-hole web interface URL (e.g., http://pihole.local:8080)

Listed in the official MCP Registry since Nov 28, 2025. Mirrored daily; last checked Nov 26, 2026.