L'Atlas / MCP servers / Pi-hole MCP Server
MCP server

Pi-hole MCP Server

io.github.hexamatic/pihole-mcp

MCP server Not tested

Get a review See pricing

Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.

Technical sheet

Author
hexamatic (registry namespace)
Repository
github.com/hexamatic/pihole-mcp
Site
github.com/hexamatic/pihole-mcp
Version
0.10.0
Transport
stdio
Authentication
Key or token (declared in the registry)
Packages
ghcr.io/hexamatic/pihole-mcp:0.10.0 oci stdio
Tools
—
Categories
—
Last updated
2 Nov 2026
Published
2 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: no successful test not yet

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.hexamatic/pihole-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.hexamatic/pihole-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.hexamatic/pihole-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.hexamatic/pihole-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.hexamatic/pihole-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.hexamatic/pihole-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.hexamatic/pihole-mcp"><img src="https://latlas.dev/badge/fiche/io.github.hexamatic/pihole-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

No remote address published: this server runs locally, so we do not test it.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package ghcr.io/hexamatic/pihole-mcp:0.10.0 (OCI). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json pihole-mcp '{"command":"docker","args":["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "pihole-mcp": {
      "command": "docker",
      "args": ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pihole-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pihole-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pihole-mcp": {
      "command": "docker",
      "args": ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pihole-mcp": {
      "command": "docker",
      "args": ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pihole-mcp]
command = "docker"
args = ["run","-i","--rm","-e","PIHOLE_URL","-e","PIHOLE_PASSWORD","-e","TZ","-e","PIHOLE_READ_ONLY","-e","PIHOLE_TLS_SKIP_VERIFY","-e","PIHOLE_REQUEST_TIMEOUT","-e","PIHOLE_MAX_RETRIES","-e","PIHOLE_RETRY_MAX_DELAY","ghcr.io/hexamatic/pihole-mcp:0.10.0"]

Declared environment variables

NameRequiredDescription
PIHOLE_URLyesBase URL of your Pi-hole web interface. For multiple Pi-holes use PIHOLE_1_URL, PIHOLE_2_URL, ... instead.
PIHOLE_PASSWORDyes (secret)Pi-hole admin password, or an application password (recommended — bypasses TOTP 2FA)
TZnoIANA timezone for rendered timestamps, e.g. Australia/Adelaide. Defaults to UTC in the container.
PIHOLE_READ_ONLYnoExpose only inspection tools. Every tool that can change Pi-hole is hidden and rejected if called.
PIHOLE_TLS_SKIP_VERIFYnoSet to true only for a Pi-hole serving a self-signed HTTPS certificate. A trusted certificate is the better fix.
PIHOLE_REQUEST_TIMEOUTnoHTTP request timeout as a Go duration, e.g. 30s or 1m
PIHOLE_MAX_RETRIESnoRetries after a transient Pi-hole API failure; 0 disables retrying
PIHOLE_RETRY_MAX_DELAYnoUpper bound on a single exponential-backoff wait, as a Go duration

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Pi-hole MCP Server · L’Atlas

Markdown
[Pi-hole MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.hexamatic/pihole-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.