Agent♥︎Age
Catalog

Pi-hole MCP Server

Official

by ranklancer · TypeScript

MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats

io.github.ranklancer/pihole-mcp (Pi-hole v6 MCP Server)

An MCP (Model Context Protocol) server that provides AI assistants like Claude with full control over the Pi-hole v6 DNS ad-blocker. It supports managing multiple instances, including query log access plus allow/deny actions for DNS filtering.

🛠️ Key Features

  • Pi-hole v6 API integration
  • Manage multiple Pi-hole instances
  • Query logs access
  • Allow/deny management
  • Exposes capabilities via MCP

🚀 Use Cases

  • Retrieve and analyze DNS query logs from Pi-hole v6
  • Programmatically allow or deny domains/hosts using Pi-hole
  • Homelab and self-hosted DNS ad-blocking administration

⚡ Developer Benefits

  • Works with MCP (Model Context Protocol)
  • Designed for TypeScript/Node.js environments (Node.js >= 20)
  • Network security and privacy-focused DNS filtering control

⚠️ Limitations

  • Scope is limited to Pi-hole v6 API operations (query logs and allow/deny management)

Topics

ad-blockingadblockai-toolsclaudednsdns-filteringdockerhomelabllm-toolsmcpmcp-servermodel-context-protocolnetwork-securitypi-holepiholeprivacyself-hostedtypescriptpi-hole-v6

Related servers

More in Cloud & DevOps