Pi-hole MCP Server
Rank #4,310io.github.hexamatic/pihole-mcp
Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.
Pi-hole MCP Server is a Model Context Protocol (MCP) server published by hexamatic. It ranks #4,310 of 132,046 servers tracked on MCP Toplist, and its repository has 8 GitHub stars. Pi-hole MCP Server is listed across 3 registries — Official MCP, PulseMCP and Glama, with 3 tracked versions. It was first listed on Apr 6, 2026 and most recently updated on Sep 11, 2026.
Ranks ahead of 127,736 of 132,046 servers on MCP Toplist.
Use Pi-hole MCP Server
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add pihole-mcp -e "PIHOLE_URL=<your PIHOLE_URL>" -e "PIHOLE_PASSWORD=<your PIHOLE_PASSWORD>" -e "TZ=<your TZ>" -e "PIHOLE_READ_ONLY=<your PIHOLE_READ_ONLY>" -e "PIHOLE_TLS_SKIP_VERIFY=<your PIHOLE_TLS_SKIP_VERIFY>" -e "PIHOLE_REQUEST_TIMEOUT=<your PIHOLE_REQUEST_TIMEOUT>" -e "PIHOLE_MAX_RETRIES=<your PIHOLE_MAX_RETRIES>" -e "PIHOLE_RETRY_MAX_DELAY=<your PIHOLE_RETRY_MAX_DELAY>" -- docker run -i --rm ghcr.io/hexamatic/pihole-mcp:0.9.0Replace each placeholder with your own value before saving.
[mcp_servers.pihole-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/hexamatic/pihole-mcp:0.9.0"]
[mcp_servers.pihole-mcp.env]
PIHOLE_URL = "<your PIHOLE_URL>"
PIHOLE_PASSWORD = "<your PIHOLE_PASSWORD>"
TZ = "<your TZ>"
PIHOLE_READ_ONLY = "<your PIHOLE_READ_ONLY>"
PIHOLE_TLS_SKIP_VERIFY = "<your PIHOLE_TLS_SKIP_VERIFY>"
PIHOLE_REQUEST_TIMEOUT = "<your PIHOLE_REQUEST_TIMEOUT>"
PIHOLE_MAX_RETRIES = "<your PIHOLE_MAX_RETRIES>"
PIHOLE_RETRY_MAX_DELAY = "<your PIHOLE_RETRY_MAX_DELAY>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "<your PIHOLE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>",
"TZ": "<your TZ>",
"PIHOLE_READ_ONLY": "<your PIHOLE_READ_ONLY>",
"PIHOLE_TLS_SKIP_VERIFY": "<your PIHOLE_TLS_SKIP_VERIFY>",
"PIHOLE_REQUEST_TIMEOUT": "<your PIHOLE_REQUEST_TIMEOUT>",
"PIHOLE_MAX_RETRIES": "<your PIHOLE_MAX_RETRIES>",
"PIHOLE_RETRY_MAX_DELAY": "<your PIHOLE_RETRY_MAX_DELAY>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "<your PIHOLE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>",
"TZ": "<your TZ>",
"PIHOLE_READ_ONLY": "<your PIHOLE_READ_ONLY>",
"PIHOLE_TLS_SKIP_VERIFY": "<your PIHOLE_TLS_SKIP_VERIFY>",
"PIHOLE_REQUEST_TIMEOUT": "<your PIHOLE_REQUEST_TIMEOUT>",
"PIHOLE_MAX_RETRIES": "<your PIHOLE_MAX_RETRIES>",
"PIHOLE_RETRY_MAX_DELAY": "<your PIHOLE_RETRY_MAX_DELAY>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"pihole-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "<your PIHOLE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>",
"TZ": "<your TZ>",
"PIHOLE_READ_ONLY": "<your PIHOLE_READ_ONLY>",
"PIHOLE_TLS_SKIP_VERIFY": "<your PIHOLE_TLS_SKIP_VERIFY>",
"PIHOLE_REQUEST_TIMEOUT": "<your PIHOLE_REQUEST_TIMEOUT>",
"PIHOLE_MAX_RETRIES": "<your PIHOLE_MAX_RETRIES>",
"PIHOLE_RETRY_MAX_DELAY": "<your PIHOLE_RETRY_MAX_DELAY>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "<your PIHOLE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>",
"TZ": "<your TZ>",
"PIHOLE_READ_ONLY": "<your PIHOLE_READ_ONLY>",
"PIHOLE_TLS_SKIP_VERIFY": "<your PIHOLE_TLS_SKIP_VERIFY>",
"PIHOLE_REQUEST_TIMEOUT": "<your PIHOLE_REQUEST_TIMEOUT>",
"PIHOLE_MAX_RETRIES": "<your PIHOLE_MAX_RETRIES>",
"PIHOLE_RETRY_MAX_DELAY": "<your PIHOLE_RETRY_MAX_DELAY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hexamatic/pihole-mcp:0.9.0"
],
"env": {
"PIHOLE_URL": "<your PIHOLE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>",
"TZ": "<your TZ>",
"PIHOLE_READ_ONLY": "<your PIHOLE_READ_ONLY>",
"PIHOLE_TLS_SKIP_VERIFY": "<your PIHOLE_TLS_SKIP_VERIFY>",
"PIHOLE_REQUEST_TIMEOUT": "<your PIHOLE_REQUEST_TIMEOUT>",
"PIHOLE_MAX_RETRIES": "<your PIHOLE_MAX_RETRIES>",
"PIHOLE_RETRY_MAX_DELAY": "<your PIHOLE_RETRY_MAX_DELAY>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.hexamatic%2Fpihole-mcp)<a href="https://mcptoplist.com/server/io.github.hexamatic%2Fpihole-mcp"><img src="https://mcptoplist.com/badge/io.github.hexamatic%2Fpihole-mcp.svg" alt="MCP Toplist: Top 5% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries
hexamatic
Available versions (3)
| Version | Published |
|---|---|
| 0.9.0 | Sep 11, 2026 |
| 0.8.1 | Aug 30, 2026 |
| 0.8.0 | Jul 25, 2026 |
Frequently asked questions
- Who maintains Pi-hole MCP Server?
- Pi-hole MCP Server is maintained by hexamatic, which publishes 1 MCP server (3 total versions) tracked on MCP Toplist.
- Is Pi-hole MCP Server listed on the Official MCP Registry?
- Yes — Pi-hole MCP Server is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does Pi-hole MCP Server have?
- MCP Toplist tracks 3 versions of Pi-hole MCP Server, most recently published on Sep 11, 2026.
- Where can I find the source code for Pi-hole MCP Server?
- The source code for Pi-hole MCP Server is hosted at github.com/hexamatic/pihole-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.