TokenToSeaMCP Hub
中文 Console

Pi-hole MCP Server

hexamatic

MCP server for Pi-hole v6 — DNS blocking, query analysis, and multi-instance management for AI assistants

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add pi-hole --env PIHOLE_URL='<PIHOLE_URL>' --env PIHOLE_PASSWORD='<PIHOLE_PASSWORD>' -- docker run -i --rm -e PIHOLE_URL -e PIHOLE_PASSWORD ghcr.io/hexamatic/pihole-mcp:0.9.0

Environment variables

  • PIHOLE_URL
  • PIHOLE_PASSWORD

Replace the placeholders with your own credentials and keep them out of version control.