πŸ“ pihole-mcp-serer MCP Server

A Model Context Protocol (MCP) server for Pi-hole. This server exposes Pi-hole functionality as tools that can be used by AI assistants.

Remote serversse

What is the πŸ“ pihole-mcp-serer MCP Server?

πŸ“ pihole-mcp-serer is an MCP project maintained in the sbarbett/pihole-mcp-server repository. The maintainer describes its purpose as β€œA Model Context Protocol (MCP) server for Pi-hole. This server exposes Pi-hole functionality as tools that can be used by AI assistants”. Read the project documentation for the complete scope.

Hosted connection

The maintainer’s configuration uses http://localhost:8383/sse. It declares sse transport. Check the project’s account and authentication instructions when adding the endpoint to your client.

Source

Project documentation Β· Repository Β· Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_local_dnsLists all local DNS settings from Pi-hole(s)
add_local_a_recordAdds a local A record to Pi-hole(s).
add_local_cname_recordAdds a local CNAME record to Pi-hole(s).
remove_local_a_recordRemoves all A records for a hostname.
remove_local_cname_recordRemoves all CNAME records for a hostname.
list_queriesFetches the recent DNS query history from Pi-hole(s)
list_query_suggestionsGet query filter suggestions
list_query_historyGet activity graph data for queries over time

How to install the πŸ“ pihole-mcp-serer MCP Server

{
  "mcpServers": {
    "pihole": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8383/sse"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.