Pi-hole MCP Server
io.github.ranklancer/pihole-mcp
About Pi-hole MCP Server
Pi-hole MCP Server is an MCP server published by the GitHub account ranklancer. MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
It runs on your own machine: your AI client starts it from the npm package @ranklancer/pihole-mcp at version 0.2.0.
It asks for one secret: PIHOLE_PASSWORD. Give it a key with the least access that still works.
It also needs PIHOLE_INSTANCES and PIHOLE_BASE_URL set before it starts.
Version 0.2.0 was published on 12 April 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
PIHOLE_INSTANCES | Yes | No | Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary') |
PIHOLE_BASE_URL | Yes | No | Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100') |
PIHOLE_PASSWORD | Yes | Yes | API password for your first Pi-hole instance |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/ranklancer/pihole-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: PIHOLE_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account ranklancer |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @ranklancer/pihole-mcp@0.2.0 runs nothing at install |
| Code red flags | Pass | Read 23 files in @ranklancer/pihole-mcp@0.2.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 23 files, including comments and the README |
Popularity & health: 60 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
3 forks, 20 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.ranklancer/pihole-mcp |
|---|---|
| Publisher | GitHub account ranklancer |
| How the name is verified | Name verified via GitHub account ranklancer. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @ranklancer/pihole-mcp 0.2.0 (stdio) |
| Version | 0.2.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/ranklancer/pihole-mcp |
| Website | None linked |
| Category | Search & web (assigned by keyword rule, not by hand) |
Related servers in Search & web
- google-maps-leads4/4Turn Maps queries into lead lists: businesses, phones, websites,…
AMIRA — Africa Multiple Research Data6/7Read-only access to AMIRA, the Africa Multiple research-data…- Amazon Products3/4Search for products and get detailed product information from…
- shopify-multi-store7/7Connect AI agents to multiple Shopify Admin stores for reports,…
- GenPark Multi-Source OpenAPI Router Mesh3/4Aggregates multiple OpenAPI specifications into a unified virtual…
- OctoTrip Flights4/4Free, no-login flight search with real-time pricing from multiple…