Connection check
local install
mcp-pihole
Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists
Tools
16
GitHub stars
8
Installs / wk
—
Licence
MIT
Transport
stdio
Last checked
never
Tools & capabilities
16 toolsRead from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.
pihole_add_to_blacklist
from source
Add a domain to the Pi-hole blacklist (block list) Add a domain to the Pi-hole blacklist (block list)
pihole_add_to_whitelist
from source
Add a domain to the Pi-hole whitelist (allow list) Add a domain to the Pi-hole whitelist (allow list)
pihole_disable_blocking
from source
Disable Pi-hole DNS blocking, optionally for a specific duration Disable Pi-hole DNS blocking, optionally for a specific duration
pihole_enable_blocking
from source
Enable Pi-hole DNS blocking Enable Pi-hole DNS blocking
pihole_flush_cache
from source
Flush Pi-hole Flush Pi-hole
pihole_get_blacklist
from source
Get all domains on the Pi-hole blacklist Get all domains on the Pi-hole blacklist
pihole_get_blocking_status
from source
Check if Pi-hole blocking is currently enabled or disabled Check if Pi-hole blocking is currently enabled or disabled
pihole_get_query_log
from source
Get recent DNS queries from the query log Get recent DNS queries from the query log
pihole_get_stats
from source
Get Pi-hole statistics including total queries, blocked queries, blocking percentage, active clients, and domains being blocked Get Pi-hole statistics including total queries, blocked queries, blocking percentage, active clients, and domains being blocked
pihole_get_top_blocked
from source
Get the top blocked domains Get the top blocked domains
pihole_get_top_clients
from source
Get the top clients by query count Get the top clients by query count
pihole_get_top_permitted
from source
Get the top permitted (allowed) domains Get the top permitted (allowed) domains
pihole_get_whitelist
from source
Get all domains on the Pi-hole whitelist Get all domains on the Pi-hole whitelist
pihole_remove_from_blacklist
from source
Remove a domain from the Pi-hole blacklist Remove a domain from the Pi-hole blacklist
pihole_remove_from_whitelist
from source
Remove a domain from the Pi-hole whitelist Remove a domain from the Pi-hole whitelist
pihole_update_gravity
from source