Pi-hole MCP Server

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

Local serverstdio

What is the Pi-hole MCP Server?

Pi-hole MCP Server is an MCP integration. MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats.

Packages and local setup

The published npm package is @ranklancer/pihole-mcp, version 0.2.0. Its declared MCP transport is stdio.

The package declares PIHOLE_INSTANCES (required): Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary'); PIHOLE_BASE_URL (required): Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100'); PIHOLE_PASSWORD (required): API password for your first Pi-hole instance.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.2.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
PIHOLE_INSTANCESComma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')Yes
PIHOLE_BASE_URLBase URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')Yes
PIHOLE_PASSWORDAPI password for your first Pi-hole instanceYes