pihole_info_database

MCP tool from Pihole MCP by hexamatic

Database size and query count

How to use it

Project documentation lists pihole_info_database for the Pihole MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Pihole MCP

$go install github.com/hexamatic/pihole-mcp/cmd/pihole-mcp@latest
FULL PIHOLE MCP LISTING

Other tools in Pihole MCP (27)

pihole_action_gravity_update

Re-download blocklists

pihole_action_restart_dns

Restart FTL DNS resolver

pihole_config_properties

List read-only config keys (Pi-hole v6.6.1+)

pihole_dns_get_blocking

Get current DNS blocking status and timer

pihole_dns_set_blocking

Enable/disable blocking with optional timer

pihole_domains_add

Add domains (bulk supported)

pihole_domains_batch_delete

Remove multiple domains

pihole_domains_delete

Remove a domain

pihole_domains_list

List allow/deny domains

pihole_domains_update

Update domain entry

pihole_info_dismiss_message

Dismiss a diagnostic message by ID

pihole_info_messages

FTL diagnostic messages

pihole_info_system

Host, CPU, memory, disk, load, temperature

pihole_info_version

Pi-hole component versions

pihole_instance_diff

Compare configuration between two instances

pihole_instance_sync

Reconcile a target instance towards a source (dry-run plan, then confirmed apply)

pihole_padd

One-call snapshot: queries, blocking, top domain/client, cache, versions, host health

pihole_queries_search

Search queries with 12 filters + cursor pagination

pihole_queries_suggestions

Available filter values

pihole_search_domains

Cross-list domain search

pihole_stats_database

Long-term database statistics

pihole_stats_query_types

Query type distribution (A, AAAA, MX, etc.)

pihole_stats_recent_blocked

Recently blocked domains

pihole_stats_summary

Queries, blocking rate, clients, gravity size

pihole_stats_top_clients

Most active clients by query count

pihole_stats_top_domains

Top queried or blocked domains

pihole_stats_upstreams

Upstream DNS server performance