mcpbeat Sign in

Pi-hole MCP Server

by ranklancer Your server? Claim it
local only

Pi-hole MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 28 installs a week from npm. Last commit 19 Oct 2026.

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

Installs per day peak 7 · avg 2 · +155% w/w
a month agotoday
28
Installs / week
npm · @ranklancer/pihole-mcp
3
Stars
1 open issue
19 Oct 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Pi-hole MCP Server every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add pihole-mcp -e 'PIHOLE_INSTANCES=<PIHOLE_INSTANCES>' -e 'PIHOLE_BASE_URL=<PIHOLE_BASE_URL>' -e 'PIHOLE_PASSWORD=<PIHOLE_PASSWORD>' -- npx -y @ranklancer/pihole-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pihole-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp"
      ],
      "env": {
        "PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
        "PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.pihole-mcp]
command = "npx"
args = ["-y", "@ranklancer/pihole-mcp"]
env = { PIHOLE_INSTANCES = "<PIHOLE_INSTANCES>", PIHOLE_BASE_URL = "<PIHOLE_BASE_URL>", PIHOLE_PASSWORD = "<PIHOLE_PASSWORD>" }
.cursor/mcp.json
{
  "mcpServers": {
    "pihole-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp"
      ],
      "env": {
        "PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
        "PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "pihole-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp"
      ],
      "env": {
        "PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
        "PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}

Put your own values in place of <PIHOLE_INSTANCES> (Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')), <PIHOLE_BASE_URL> (Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')), <PIHOLE_PASSWORD> (API password for your first Pi-hole instance). The author’s registry entry marks them as required.

Alternatives to Pi-hole MCP Server

same job, measured the same way
Pi-hole MCP Server
by hexamatic

Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.

local only
MCP Pihole
by aplaceforallmystuff

Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists

150 installs/wk local only
VK Ads MCP
by askads

MCP server for VK Ads (VK Реклама) API: manage ad plans, ad groups, banners, and statistics.

491 installs/wk local only
Pihole MCP
by mrfentmen

MCP server for Pi-hole: status, stats, blocking toggle. Works with any instance.

60 installs/wk local only
Dependency MCP
by niradler

MCP server for checking package versions across multiple package managers

39 installs/wk local only
MCP Neo4j Aura Manager
by neo4j-contrib

MCP server for Neo4j Aura Database Instance Manager.

124 installs/wk local only
xyzDB
by tunolabs

MCP server for xyzDB: run xyTalk queries, inspect lobes and stats, take hot snapshots.

local only
Meta
by mikusnuz

MCP server for Instagram Graph API, Threads API & Meta platform management

722 installs/wk local only

Pi-hole MCP Server — questions

Answers built from our own checks of this server.

Why is there no uptime for Pi-hole MCP Server?
Pi-hole MCP Server runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @ranklancer/pihole-mcp was installed 28 times last week.
How do I connect Pi-hole MCP Server?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @ranklancer/pihole-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Pi-hole MCP Server?
The npm package @ranklancer/pihole-mcp was installed 28 times in the last week. Week over week that is +155%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Pi-hole MCP Server open source?
Yes — it is published under the MIT licence, written in TypeScript, 3 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.