# Ranklancer Pihole MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.ranklancer%2Fpihole-mcp
Registry id: `mcp-registry/io.github.ranklancer/pihole-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "ranklancer-pihole-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add ranklancer-pihole-mcp-server -- npx -y @ranklancer/pihole-mcp
```

## Tools (9)

- `pihole_allow_domain`: Add to allowlist (auto-detects exact vs regex)
- `pihole_check_regex_types`: Detect miscategorized regex in deny-exact list
- `pihole_deny_domain`: Add to denylist (auto-detects exact vs regex)
- `pihole_group_management`: CRUD operations on Pi-hole groups
- `pihole_list_allowlist`: List all allowlist entries (exact + regex merged)
- `pihole_list_denylist`: List all denylist entries (exact + regex merged)
- `pihole_query_log`: Fetch query log with filters (limit, time range, client, domain, status)
- `pihole_reload_lists`: Trigger gravity reload
- `pihole_stats_summary`: Get Pi-hole statistics summary

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
