Pi-hole MCP Server
io.github.hexamatic/pihole-mcp ยท version 0.10.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.
https://github.com/hexamatic/pihole-mcpQuick facts
- Listing: Community
- Published Nov 2, 01:58 UTC
- Transport: stdio
- Package: oci
ghcr.io/hexamatic/pihole-mcp:0.10.0 - Listed by cosmic-mcp: Nov 9, 04:26 UTC
Details
- Repository: https://github.com/hexamatic/pihole-mcp
- Website: https://github.com/hexamatic/pihole-mcp
- Needs settings:
PIHOLE_URLPIHOLE_PASSWORDTZPIHOLE_READ_ONLYPIHOLE_TLS_SKIP_VERIFYPIHOLE_REQUEST_TIMEOUTPIHOLE_MAX_RETRIESPIHOLE_RETRY_MAX_DELAY
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (oci)
docker run -i --rm -e 'PIHOLE_MAX_RETRIES' -e 'PIHOLE_PASSWORD' -e 'PIHOLE_READ_ONLY' -e 'PIHOLE_REQUEST_TIMEOUT' -e 'PIHOLE_RETRY_MAX_DELAY' -e 'PIHOLE_TLS_SKIP_VERIFY' -e 'PIHOLE_URL' -e 'TZ' 'ghcr.io/hexamatic/pihole-mcp:0.10.0'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pihole-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"PIHOLE_MAX_RETRIES",
"-e",
"PIHOLE_PASSWORD",
"-e",
"PIHOLE_READ_ONLY",
"-e",
"PIHOLE_REQUEST_TIMEOUT",
"-e",
"PIHOLE_RETRY_MAX_DELAY",
"-e",
"PIHOLE_TLS_SKIP_VERIFY",
"-e",
"PIHOLE_URL",
"-e",
"TZ",
"ghcr.io/hexamatic/pihole-mcp:0.10.0"
],
"command": "docker",
"env": {
"PIHOLE_MAX_RETRIES": "<your pihole max retries>",
"PIHOLE_PASSWORD": "<your pihole password>",
"PIHOLE_READ_ONLY": "<your pihole read only>",
"PIHOLE_REQUEST_TIMEOUT": "<your pihole request timeout>",
"PIHOLE_RETRY_MAX_DELAY": "<your pihole retry max delay>",
"PIHOLE_TLS_SKIP_VERIFY": "<your pihole tls skip verify>",
"PIHOLE_URL": "<your pihole url>",
"TZ": "<your tz>"
}
}
}
}Claude Code
claude mcp add 'pihole-mcp' -- docker run -i --rm -e 'PIHOLE_MAX_RETRIES' -e 'PIHOLE_PASSWORD' -e 'PIHOLE_READ_ONLY' -e 'PIHOLE_REQUEST_TIMEOUT' -e 'PIHOLE_RETRY_MAX_DELAY' -e 'PIHOLE_TLS_SKIP_VERIFY' -e 'PIHOLE_URL' -e 'TZ' 'ghcr.io/hexamatic/pihole-mcp:0.10.0'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"pihole-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"PIHOLE_MAX_RETRIES",
"-e",
"PIHOLE_PASSWORD",
"-e",
"PIHOLE_READ_ONLY",
"-e",
"PIHOLE_REQUEST_TIMEOUT",
"-e",
"PIHOLE_RETRY_MAX_DELAY",
"-e",
"PIHOLE_TLS_SKIP_VERIFY",
"-e",
"PIHOLE_URL",
"-e",
"TZ",
"ghcr.io/hexamatic/pihole-mcp:0.10.0"
],
"command": "docker",
"env": {
"PIHOLE_MAX_RETRIES": "<your pihole max retries>",
"PIHOLE_PASSWORD": "<your pihole password>",
"PIHOLE_READ_ONLY": "<your pihole read only>",
"PIHOLE_REQUEST_TIMEOUT": "<your pihole request timeout>",
"PIHOLE_RETRY_MAX_DELAY": "<your pihole retry max delay>",
"PIHOLE_TLS_SKIP_VERIFY": "<your pihole tls skip verify>",
"PIHOLE_URL": "<your pihole url>",
"TZ": "<your tz>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"pihole-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"PIHOLE_MAX_RETRIES",
"-e",
"PIHOLE_PASSWORD",
"-e",
"PIHOLE_READ_ONLY",
"-e",
"PIHOLE_REQUEST_TIMEOUT",
"-e",
"PIHOLE_RETRY_MAX_DELAY",
"-e",
"PIHOLE_TLS_SKIP_VERIFY",
"-e",
"PIHOLE_URL",
"-e",
"TZ",
"ghcr.io/hexamatic/pihole-mcp:0.10.0"
],
"command": "docker",
"env": {
"PIHOLE_MAX_RETRIES": "<your pihole max retries>",
"PIHOLE_PASSWORD": "<your pihole password>",
"PIHOLE_READ_ONLY": "<your pihole read only>",
"PIHOLE_REQUEST_TIMEOUT": "<your pihole request timeout>",
"PIHOLE_RETRY_MAX_DELAY": "<your pihole retry max delay>",
"PIHOLE_TLS_SKIP_VERIFY": "<your pihole tls skip verify>",
"PIHOLE_URL": "<your pihole url>",
"TZ": "<your tz>"
},
"type": "stdio"
}
}
}Related servers
- Business Contact Finder Verified domain
Check how to contact a business website, and whether that contact path actually works. - Contractor Licence Changes Verified domain
Did this contractor's licence change? Observed lapses and reinstatements, not a snapshot. - Licensed House Painters Verified domain
Find licensed house painters in 11 US states, with dated license status from state boards. - AnkiMCP Server Verified domain
Anki addon that exposes your flashcard collection to AI assistants via a local MCP server. - Affiliate Networks MCP Verified domain
Affiliate network reporting in your AI client. Bring your own keys. Most adapters experimental. - AGILEX Docs Verified domain
Official AGILEX robotics product docs: manuals, CAN protocol, firmware, FAQ. Read-only.