Pi-hole MCP Server for Grok
io.github.ranklancer/pihole-mcp
MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
client:Grok
transport:stdio
runtime:npm
Install Pi-hole MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"pihole-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs