mcp-server-pihole

cwdcwd/mcp-server-pihole

3.1

If you are the rightful owner of mcp-server-pihole and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Pi-hole MCP Server is a Model Context Protocol server designed to facilitate interaction with Pi-hole's API, providing both public and admin-level tools for managing and monitoring network-wide ad blocking.

Tools

Functions exposed to the LLM to take actions

get_pihole_status

Check if Pi-hole is enabled/disabled

get_pihole_summary

Get statistics summary

get_query_types

Get DNS query type breakdown

get_forward_destinations

Get upstream DNS server info

get_top_items

Get top queried domains

get_top_clients

Get top clients by query count

get_top_blocked_domains

Get top blocked domains

get_recent_blocked

Get recently blocked domains

enable_pihole

Enable Pi-hole blocking

disable_pihole

Disable Pi-hole blocking (temporarily)

add_to_whitelist

Add a domain to the whitelist

remove_from_whitelist

Remove a domain from the whitelist

add_to_blacklist

Add a domain to the blacklist

remove_from_blacklist

Remove a domain from the blacklist

get_whitelist

View the whitelist

get_blacklist

View the blacklist

flush_logs

Clear Pi-hole logs

get_tail_log

Get recent log entries

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources