GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Beschreibung vom Entwickler (englisches Original)
Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
PIHOLE_URL, PIHOLE_PASSWORDAls geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.
Du brauchst
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"pihole": {
"command": "npx",
"args": [
"-y",
"mcp-pihole-server"
],
"env": {
"PIHOLE_URL": "your-value",
"PIHOLE_PASSWORD": "your-value"
}
}
}
}Führe das in deinem Terminal aus
claude mcp add pihole --env PIHOLE_URL=your-value --env PIHOLE_PASSWORD=your-value -- npx -y mcp-pihole-serverTrag die leeren Werte ein, bevor du ihn startest.
In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"pihole": {
"command": "npx",
"args": [
"-y",
"mcp-pihole-server"
],
"env": {
"PIHOLE_URL": "your-value",
"PIHOLE_PASSWORD": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"pihole": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-pihole-server"
],
"env": {
"PIHOLE_URL": "your-value",
"PIHOLE_PASSWORD": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 8. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto aplaceforallmystuff bestätigt, dem das Repo gehört
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Das musst du eintragen: PIHOLE_URL, PIHOLE_PASSWORD
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.1) kam vor 11 Monaten in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.
In derselben Kategorie: GitHub, Desktop Commander, Cloudflare MCP
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
An MCP (Model Context Protocol) server that connects AI assistants like Claude to your Pi-hole network-wide ad blocker. Manage DNS blocking, view statistics, control whitelists/blacklists, and more through natural language.
If you're running Pi-hole on your network, this MCP server lets you:
| Category | Tools |
|---|---|
| Statistics | Query totals, blocking percentage, top domains, top clients |
| Blocking Control | Enable, disable (with optional timer), check status |
| Domain Lists | Whitelist/blacklist CRUD operations |
| Query Log | Recent DNS queries with client, status, response time |
| Maintenance | Update gravity, flush cache |
| Visualizations | ASCII art dashboards and bar charts with ANSI colors |
npx mcp-pihole-server
Or install globally:
npm install -g mcp-pihole-server
git clone https://github.com/aplaceforallmystuff/mcp-pihole.git
cd mcp-pihole npm install npm run build
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "pihole": { "command": "npx", "args": ["-y", "mcp-pihole-server"], "env": { "PIHOLE_URL": "http://your-pihole-address:8080", "PIHOLE_PASSWORD": "your-app-password" } } } }
Add to ~/.claude.json:
{
"mcpServers": { "pihole": { "command": "npx", "args": ["-y", "mcp-pihole-server"], "env": { "PIHOLE_URL": "http://your-pihole-address:8080", "PIHOLE_PASSWORD": "your-app-password" } } } }
| Variable | Description | Example |
|---|---|---|
PIHOLE_URL | Pi-hole web interface URL | http://pihole.local:8080 |
PIHOLE_PASSWORD | Pi-hole app password | Your app password from settings |
Once configured, you can interact with Pi-hole through natural language:
"Show me Pi-hole stats"
"What are the top blocked domains?"
"Which clients are making the most queries?"
"Is Pi-hole blocking enabled?"
"Disable Pi-hole for 5 minutes"
"Re-enable Pi-hole blocking"
"Add example.com to the whitelist"
"Block ads.trackersite.com"
"Show me all whitelisted domains"
"Show me the last 50 DNS queries"
"What domains has my phone been querying?"
"Show me Pi-hole stats with visualize: true"
"Get top blocked domains with visualization"
pihole_get_stats - Get comprehensive Pi-hole statisticspihole_get_top_blocked - Get top blocked domainspihole_get_top_permitted - Get top permitted domainspihole_get_top_clients - Get top clients by query countpihole_get_query_log - Get recent DNS queriespihole_get_blocking_status - Check if blocking is enabledpihole_enable_blocking - Enable DNS blockingpihole_disable_blocking - Disable blocking (optionally with timer)pihole_get_whitelist - List all whitelisted domainspihole_get_blacklist - List all blacklisted domainspihole_add_to_whitelist - Add domain to whitelistpihole_add_to_blacklist - Add domain to blacklistpihole_remove_from_whitelist - Remove domain from whitelistpihole_remove_from_blacklist - Remove domain from blacklistpihole_update_gravity - Update blocklists (gravity)pihole_flush_cache - Flush DNS cacheThis server supports colorful ASCII art visualizations rendered directly in your terminal using ANSI escape codes.
The following tools support the optional visualize: true parameter:
| Tool | Visualization |
|---|---|
pihole_get_stats | Full dashboard with summary stats, top clients, blocked domains, and permitted domains |
pihole_get_top_blocked | Red bar chart of blocked domains |
pihole_get_top_permitted | Green bar chart of permitted domains |
pihole_get_top_clients | Blue bar chart of client activity |
Pass visualize: true to any supported tool:
{
"name": "pihole_get_stats", "arguments": { "visualize": true } }
When visualize is not set or false, tools return JSON data as usual.
╔════════════════════════════════════════════════════════════════════════════╗
║ 🛡️ PI-HOLE DASHBOARD ║ ╠════════════════════════════════════════════════════════════════════════════╣ ║ ║ ║ 📊 SUMMARY ║ ║ ────────────────────────────────────────────────────────────────────────── ║ ║ Total Queries: 73K Domains Blocked: 2.4M ║ ║ Blocked: 22K Active Clients: 28 ║ ║ Block Rate: 29.7% Total Clients: 115 ║ ╠════════════════════════════════════════════════════════════════════════════╣ ║ 🔝 TOP CLIENTS ║ ║ ────────────────────────────────────────────────────────────────────────── ║ ║ 192.168.1.52 ████████████████████████████████████████ 28K (38%) ║ ║ 192.168.1.51 ███████████████████▋ 14K (19%) ║ ╚════════════════════════════════════════════════════════════════════════════╝
(Colors appear in terminals that support ANSI escape codes)
# Run in development mode (auto-reloads)
npm run watch
npm run build
node dist/index.js
Ensure both environment variables are set in your MCP config.
Your app password is invalid or expired. Generate a new one from Pi-hole Settings > API.
Session expired. The server will automatically re-authenticate, but if issues persist, check your password.
Ensure Pi-hole is running and the URL is correct. Check that you can access the Pi-hole web interface from your machine.
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.