Pi-hole MCP Server
Rank #18,138io.github.ranklancer/pihole-mcp
MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
Pi-hole MCP Server is a Model Context Protocol (MCP) server published by ranklancer. It ranks #18,138 of 132,046 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. Pi-hole MCP Server is listed across 3 registries — Official MCP, PulseMCP and Glama, with 1 tracked version. It was first listed on Apr 11, 2026 and most recently updated on Apr 12, 2026.
Ranks ahead of 113,908 of 132,046 servers on MCP Toplist.
Use Pi-hole MCP Server
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add pihole-mcp -e "PIHOLE_INSTANCES=<your PIHOLE_INSTANCES>" -e "PIHOLE_BASE_URL=<your PIHOLE_BASE_URL>" -e "PIHOLE_PASSWORD=<your PIHOLE_PASSWORD>" -- npx -y @ranklancer/pihole-mcpReplace each placeholder with your own value before saving.
[mcp_servers.pihole-mcp]
command = "npx"
args = ["-y", "@ranklancer/pihole-mcp"]
[mcp_servers.pihole-mcp.env]
PIHOLE_INSTANCES = "<your PIHOLE_INSTANCES>"
PIHOLE_BASE_URL = "<your PIHOLE_BASE_URL>"
PIHOLE_PASSWORD = "<your PIHOLE_PASSWORD>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<your PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<your PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<your PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<your PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"pihole-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<your PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<your PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<your PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<your PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"pihole-mcp": {
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<your PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<your PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<your PIHOLE_PASSWORD>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.ranklancer%2Fpihole-mcp)<a href="https://mcptoplist.com/server/io.github.ranklancer%2Fpihole-mcp"><img src="https://mcptoplist.com/badge/io.github.ranklancer%2Fpihole-mcp.svg" alt="MCP Toplist: Top 25% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries
ranklancer
Available versions (1)
| Version | Published |
|---|---|
| 0.2.0 | Apr 12, 2026 |
Frequently asked questions
- Who maintains Pi-hole MCP Server?
- Pi-hole MCP Server is maintained by ranklancer, which publishes 1 MCP server (1 total version) tracked on MCP Toplist.
- Is Pi-hole MCP Server listed on the Official MCP Registry?
- Yes — Pi-hole MCP Server is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does Pi-hole MCP Server have?
- MCP Toplist tracks 1 version of Pi-hole MCP Server, most recently published on Apr 12, 2026.
- Where can I find the source code for Pi-hole MCP Server?
- The source code for Pi-hole MCP Server is hosted at github.com/ranklancer/pihole-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.