pihole_info_database
Database size and query count
How to use it
pihole_info_database is exposed by the Pihole MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the pihole_info_database tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Pihole MCP
go install github.com/hexamatic/pihole-mcp/cmd/pihole-mcp@latestOther tools in Pihole MCP (27)
Re-download blocklists
Restart FTL DNS resolver
List read-only config keys (Pi-hole v6.6.1+)
Get current DNS blocking status and timer
Enable/disable blocking with optional timer
Add domains (bulk supported)
Remove multiple domains
Remove a domain
List allow/deny domains
Update domain entry
Dismiss a diagnostic message by ID
FTL diagnostic messages
Host, CPU, memory, disk, load, temperature
Pi-hole component versions
Compare configuration between two instances
Reconcile a target instance towards a source (dry-run plan, then confirmed apply)
One-call snapshot: queries, blocking, top domain/client, cache, versions, host health
Search queries with 12 filters + cursor pagination
Available filter values
Cross-list domain search
Long-term database statistics
Query type distribution (A, AAAA, MX, etc.)
Recently blocked domains
Queries, blocking rate, clients, gravity size
Most active clients by query count
Top queried or blocked domains
Upstream DNS server performance