MCP directory
PM

Pi-hole MCP Server

by github.com/ranklancer · v0.2.0 · updated Apr 12, 2026

MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @ranklancer/[email protected]

Environment variables

  • PIHOLE_INSTANCESrequired

    Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')

  • PIHOLE_BASE_URLrequired

    Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')

  • PIHOLE_PASSWORDrequiredsecret

    API password for your first Pi-hole instance

More MCP servers