What is the Pi-hole MCP Server MCP server?
MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
How to install Pi-hole MCP Server
Copy-paste configuration for popular MCP clients.
PIHOLE_INSTANCESrequiredComma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')
PIHOLE_BASE_URLrequiredBase URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')
PIHOLE_PASSWORDrequiredsecretAPI password for your first Pi-hole instance
{
"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>"
}
}
}
}{
"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>"
}
}
}
}{
"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>"
}
}
}
}{
"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>"
}
}
}
}claude mcp add pihole-mcp --env PIHOLE_INSTANCES=<YOUR_PIHOLE_INSTANCES> --env PIHOLE_BASE_URL=<YOUR_PIHOLE_BASE_URL> --env PIHOLE_PASSWORD=<YOUR_PIHOLE_PASSWORD> -- npx -y @ranklancer/pihole-mcpRelated MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.