GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
MCP server for Infracost CLI integration - cloud cost estimates for Infrastructure as Code
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
3/3 Prüfungen bestanden · Läuft auf deinem Computer · ✓ Befehle geprüft am 13. Nov. 2026
Zuerst: Welche KI nutzt du?
Wähle deine App, dann erscheinen die Schritte unten.
Klappt mit Claude, aber erst etwas vorbereiten
Installiere zuerst Node.js auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy
Kopiere diese Nachricht in einen Claude-Chat. Die KI prüft deinen Rechner, sagt dir, welche Datei sie ändert, und wartet jedes Mal auf dein OK.
Installiere bitte den MCP server Infracost für Claude auf diesem Rechner, in dieser Reihenfolge: 1) Prüfe Node.js mit node -v. Fehlt es, sag mir, dass ich es von https://nodejs.org/en/download installiere; installiere es nicht selbst. 2) Verwende nur diese Konfiguration (von PopNx MCP geprüft): { "mcpServers": { "infracost": { "command": "npx", "args": [ "-y", "@downatthebottomofthemolehole/infracost-mcp-server" ] } } } 3) Nenne mir den vollständigen Pfad der Datei, die du änderst, oder den Befehl, den du ausführst, und warte auf mein OK. 4) Kein Schlüssel nötig. 5) Führe das Vereinbarte aus und prüfe, dass die Tools von Infracost wirklich erscheinen.Diese Nachricht enthält keinen Schlüssel. Wird einer gebraucht, bittet dich die KI, ihn selbst in die Datei oder das Feld der App einzufügen.
Schon installiert? Zuerst prüfen · Öffne das Terminal, gib diesen Befehl ein und drücke Enter
node -vMac: ⌘ + Leertaste drücken, Terminal eingeben, Enter
Windows: Start öffnen, Windows PowerShell eingeben, dann Öffnen
Noch nicht installiert: Öffne die offizielle Download-Seite, wähle die LTS-Version und den Klick-Installer: .pkg auf dem Mac · .msi unter Windows. Doppelklicken und bis zum Ende durchklicken. Kein curl-Befehl nötig
Download-Seite von Node.js öffnen ↗
Danach das Terminal schließen, neu öffnen und denselben Befehl erneut ausführen. Es muss eine Versionsnummer erscheinen: node -v
Einmal installieren, gilt für alles, was Node.js braucht
SettingsDeveloperEdit Config
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Nutze Infracost und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude sagt, dass es Infracost nutzt, oder ein Werkzeug von Infracost in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
ChatGPT kann Infracost noch nicht verbinden
Infracost läuft auf deinem Computer, aber ChatGPT verbindet nur Server, die im Web laufen
A · Eine App nutzen, die Infracost verbinden kann
B · Andere in Entwicklertools, die mit ChatGPT funktionieren
Aus den meistgenutzten derselben Kategorie, nur solche, die per Adresse ohne Schlüssel verbinden
Klappt mit Claude Code, aber erst etwas vorbereiten
Installiere zuerst Node.js auf deinem Computer (nur einmal)
Kopiere diese Nachricht in einen Claude Code-Chat. Die KI prüft deinen Rechner, sagt dir, welche Datei sie ändert, und wartet jedes Mal auf dein OK.
Installiere bitte den MCP server Infracost für Claude Code auf diesem Rechner, in dieser Reihenfolge: 1) Prüfe Node.js mit node -v. Fehlt es, sag mir, dass ich es von https://nodejs.org/en/download installiere; installiere es nicht selbst. 2) Verwende nur diese Konfiguration (von PopNx MCP geprüft): claude mcp add --scope user infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server 3) Nenne mir den vollständigen Pfad der Datei, die du änderst, oder den Befehl, den du ausführst, und warte auf mein OK. 4) Kein Schlüssel nötig. 5) Führe das Vereinbarte aus und prüfe, dass die Tools von Infracost wirklich erscheinen.Diese Nachricht enthält keinen Schlüssel. Wird einer gebraucht, bittet dich die KI, ihn selbst in die Datei oder das Feld der App einzufügen.
Schon installiert? Zuerst prüfen · Öffne das Terminal, gib diesen Befehl ein und drücke Enter
node -vMac: ⌘ + Leertaste drücken, Terminal eingeben, Enter
Windows: Start öffnen, Windows PowerShell eingeben, dann Öffnen
Noch nicht installiert: Öffne die offizielle Download-Seite, wähle die LTS-Version und den Klick-Installer: .pkg auf dem Mac · .msi unter Windows. Doppelklicken und bis zum Ende durchklicken. Kein curl-Befehl nötig
Download-Seite von Node.js öffnen ↗
Danach das Terminal schließen, neu öffnen und denselben Befehl erneut ausführen. Es muss eine Versionsnummer erscheinen: node -v
Einmal installieren, gilt für alles, was Node.js braucht
Mac: Command+Leertaste drücken und Terminal tippen · Windows: PowerShell öffnen
claude mcp add --scope user infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-serverInfracost sollte in der Liste als verbunden erscheinen
Nutze Infracost und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude Code sagt, dass es Infracost nutzt, oder ein Werkzeug von Infracost in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit Cursor, aber erst etwas vorbereiten
Installiere zuerst Node.js auf deinem Computer (nur einmal)
Kopiere diese Nachricht in einen Cursor-Chat. Die KI prüft deinen Rechner, sagt dir, welche Datei sie ändert, und wartet jedes Mal auf dein OK.
Installiere bitte den MCP server Infracost für Cursor auf diesem Rechner, in dieser Reihenfolge: 1) Prüfe Node.js mit node -v. Fehlt es, sag mir, dass ich es von https://nodejs.org/en/download installiere; installiere es nicht selbst. 2) Verwende nur diese Konfiguration (von PopNx MCP geprüft): { "mcpServers": { "infracost": { "command": "npx", "args": [ "-y", "@downatthebottomofthemolehole/infracost-mcp-server" ] } } } 3) Nenne mir den vollständigen Pfad der Datei, die du änderst, oder den Befehl, den du ausführst, und warte auf mein OK. 4) Kein Schlüssel nötig. 5) Führe das Vereinbarte aus und prüfe, dass die Tools von Infracost wirklich erscheinen.Diese Nachricht enthält keinen Schlüssel. Wird einer gebraucht, bittet dich die KI, ihn selbst in die Datei oder das Feld der App einzufügen.
Schon installiert? Zuerst prüfen · Öffne das Terminal, gib diesen Befehl ein und drücke Enter
node -vMac: ⌘ + Leertaste drücken, Terminal eingeben, Enter
Windows: Start öffnen, Windows PowerShell eingeben, dann Öffnen
Noch nicht installiert: Öffne die offizielle Download-Seite, wähle die LTS-Version und den Klick-Installer: .pkg auf dem Mac · .msi unter Windows. Doppelklicken und bis zum Ende durchklicken. Kein curl-Befehl nötig
Download-Seite von Node.js öffnen ↗
Danach das Terminal schließen, neu öffnen und denselben Befehl erneut ausführen. Es muss eine Versionsnummer erscheinen: node -v
Einmal installieren, gilt für alles, was Node.js braucht
Nutze Infracost und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Cursor sagt, dass es Infracost nutzt, oder ein Werkzeug von Infracost in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Cursor abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit VS Code, aber erst etwas vorbereiten
Installiere zuerst Node.js auf deinem Computer (nur einmal)
Kopiere diese Nachricht in einen VS Code-Chat. Die KI prüft deinen Rechner, sagt dir, welche Datei sie ändert, und wartet jedes Mal auf dein OK.
Installiere bitte den MCP server Infracost für VS Code auf diesem Rechner, in dieser Reihenfolge: 1) Prüfe Node.js mit node -v. Fehlt es, sag mir, dass ich es von https://nodejs.org/en/download installiere; installiere es nicht selbst. 2) Verwende nur diese Konfiguration (von PopNx MCP geprüft): { "servers": { "infracost": { "type": "stdio", "command": "npx", "args": [ "-y", "@downatthebottomofthemolehole/infracost-mcp-server" ] } } } 3) Nenne mir den vollständigen Pfad der Datei, die du änderst, oder den Befehl, den du ausführst, und warte auf mein OK. 4) Kein Schlüssel nötig. 5) Führe das Vereinbarte aus und prüfe, dass die Tools von Infracost wirklich erscheinen.Diese Nachricht enthält keinen Schlüssel. Wird einer gebraucht, bittet dich die KI, ihn selbst in die Datei oder das Feld der App einzufügen.
Schon installiert? Zuerst prüfen · Öffne das Terminal, gib diesen Befehl ein und drücke Enter
node -vMac: ⌘ + Leertaste drücken, Terminal eingeben, Enter
Windows: Start öffnen, Windows PowerShell eingeben, dann Öffnen
Noch nicht installiert: Öffne die offizielle Download-Seite, wähle die LTS-Version und den Klick-Installer: .pkg auf dem Mac · .msi unter Windows. Doppelklicken und bis zum Ende durchklicken. Kein curl-Befehl nötig
Download-Seite von Node.js öffnen ↗
Danach das Terminal schließen, neu öffnen und denselben Befehl erneut ausführen. Es muss eine Versionsnummer erscheinen: node -v
Einmal installieren, gilt für alles, was Node.js braucht
VS Code fragt nach einer Bestätigung; klicke Install
Nutze Infracost und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn VS Code sagt, dass es Infracost nutzt, oder ein Werkzeug von Infracost in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von VS Code abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Andere Apps mit MCP, etwa Windsurf, Zed oder Gemini CLI, fügen Server unterschiedlich hinzu. Sieh in der App-Liste nach
JSON-Einstellungen stehen unten unter „Für Entwickler“
Claude Code
claude mcp add --scope user infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"infracost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
npm: @downatthebottomofthemolehole/infracost-mcp-serverBasierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.
Laufen auf deinem Computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
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 16. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto DownAtTheBottomOfTheMoleHole bestätigt, dem das Repo gehört
Code zuletzt geändert: vor 4 Tagen
Nutzt MIT
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
Keine Einträge auf OSV.dev für @downatthebottomofthemolehole/infracost-mcp-server@1.0.1
Prüft nur diese Paketversion, nicht alle Abhängigkeiten · geprüft 15. Nov. 2026
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Noch keine Bewertungen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 3 von 3 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.
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
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 vor 4 Tagen geändert, und die neueste Version (1.0.1) kam vor 8 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: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Gleiche Kategorie, andere Entwickler, Befehle bereits geprüft. Offizielle zuerst, dann nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP servers
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
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.
Note: This is a community-maintained MCP server. It is not an official Model Context Protocol server from Infracost.
A Model Context Protocol (MCP) server for running the Infracost CLI to estimate, compare, and publish infrastructure cost changes from Terraform and other Infrastructure as Code projects.
This server provides eight MCP tools across estimation, reporting, collaboration, and operations workflows:
infracost_breakdown to generate baseline cost estimates.infracost_diff to compare planned cost changes.infracost_output to render existing Infracost JSON in different formats.infracost_comment to post PR comments on supported SCM platforms.infracost_upload to upload reports to Infracost Cloud.infracost_configure to get or set CLI configuration.infracost_auth to run authentication flow.infracost_generate_usage to generate usage files with sensible defaults.This MCP server is platform-agnostic and works in local and CI environments:
The primary requirements are Node.js and the Infracost CLI binary.
| Tool | Category | Typical outcome |
|---|---|---|
infracost_breakdown | Estimation | Monthly cost baseline for current IaC |
infracost_diff | Comparison | Cost delta from a planned change |
infracost_output | Reporting | Rendered table/JSON/HTML/comment output |
infracost_comment | Collaboration | PR comment with estimated impact |
infracost_upload | Cloud Sync | Cost report visible in Infracost Cloud |
infracost_configure | Configuration | Persisted CLI config update/read |
infracost_auth | Authentication | Login flow for Infracost Cloud |
infracost_generate_usage | Utilities | Pre-filled usage file template with defaults |
infracost_breakdownRuns infracost breakdown.
Inputs:
workingDirectory (string, optional): Command working directory.path (string, optional): Path to Terraform/IaC directory or plan JSON.configFile (string, optional): Path to Infracost config file.usageFile (string, optional): Path to usage file.format (string, optional): Output format. Default: table.fields (string[], optional): Fields to include in output.showSkus (boolean, optional): Include SKU details.syncUsageFile (boolean, optional): Sync usage file with detected resources.compareTo (string, optional): Baseline Infracost JSON path.terraformWorkspace (string, optional): Terraform workspace.terraformPlanFlags (string, optional): Flags for terraform plan.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_diffRuns infracost diff.
Inputs:
workingDirectory (string, optional): Command working directory.path (string, optional): Path to Terraform/IaC directory or plan JSON.configFile (string, optional): Path to Infracost config file.usageFile (string, optional): Path to usage file.format (string, optional): Output format. Default: table.compareTo (string, optional): Baseline Infracost JSON path.showSkus (boolean, optional): Include SKU details.syncUsageFile (boolean, optional): Sync usage file with detected resources.terraformWorkspace (string, optional): Terraform workspace.terraformPlanFlags (string, optional): Flags for terraform plan.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_outputRuns infracost output.
Inputs:
workingDirectory (string, optional): Command working directory.path (string, optional): Infracost JSON file path. Auto-detected when omitted.format (string, optional): Output format. Default: table.fields (string[], optional): Fields to include in output.showSkus (boolean, optional): Include SKU details.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_commentRuns infracost comment.
Inputs:
workingDirectory (string, optional): Command working directory.platform (string, optional): Platform (github, gitlab, azure-repos, bitbucket). Default: github.path (string, optional): Infracost JSON file path. Auto-detected when omitted.repo (string, optional): Repository (owner/repo).pullRequest (string, optional): Pull request number.commit (string, optional): Commit SHA.token (string, optional): Platform token.tag (string, optional): Comment tag.behavior (string, optional): Comment update behavior.dryRun (boolean, optional): Generate without posting.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_uploadRuns infracost upload.
Inputs:
workingDirectory (string, optional): Command working directory.path (string, optional): Infracost JSON file path. Auto-detected when omitted.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_configureRuns infracost configure.
Inputs:
workingDirectory (string, optional): Command working directory.set (string, optional): Set configuration value.get (string, optional): Read configuration value.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_authRuns infracost auth login.
Inputs:
workingDirectory (string, optional): Command working directory.timeoutSeconds (number, optional): Timeout in seconds.extraArgs (string[], optional): Additional CLI arguments.infracost_generate_usageGenerates an Infracost usage file with sensible defaults for specified resource types. This is a utility tool that complements infracost_configure by providing pre-filled templates you can customize for your workloads. Returns both raw JSON and formatted guidance.
Inputs:
resourceTypes (string[], required): Resource types to include (e.g., ["aws_lambda_function", "aws_s3_bucket"]).outputFilePath (string, optional): Path where usage file should be saved (for guidance only).includeGuidance (boolean, optional): Include formatted guidance. Default: true.onlyJson (boolean, optional): Return only raw JSON (no guidance). Default: false.Supported resource types: aws_lambda_function, aws_instance, aws_db_instance, aws_s3_bucket, aws_dynamodb_table, aws_ebs_volume, aws_cloudfront_distribution, aws_lb, aws_nat_gateway, google_compute_instance, google_storage_bucket, azurerm_windows_virtual_machine, azurerm_linux_virtual_machine, azurerm_storage_account, azurerm_mssql_database.
Use these minimal prompts in Copilot Chat with @infracost. CLI tools default to the current workspace root when no path is given. If you add a file or folder as Copilot context (#file or #folder), reference it in your prompt and the tool will target that path. The server auto-detects common report files (infracost-diff.json, infracost-base.json, infracost.json), so you usually do not need to pass path for infracost_output, infracost_comment, or infracost_upload.
@infracost run infracost_breakdown
@infracost run infracost_diff @infracost run infracost_output @infracost run infracost_comment with dryRun true @infracost run infracost_upload
infracost_breakdown)@infracost run infracost_breakdown
Expected output: Baseline cost estimate with command output, exit code, stdout, and stderr.
infracost_diff)@infracost run infracost_diff
Expected output: Cost delta from the planned change compared to current baseline.
infracost_output)@infracost run infracost_output with format html
Expected output: Formatted output from existing Infracost JSON (auto-detected when possible).
infracost_comment)@infracost run infracost_comment with repo owner/repo and pullRequest 123 and dryRun true
Expected output: Generated comment payload, or posted comment when not in dry-run mode. Platform defaults to github.
infracost_upload)@infracost run infracost_upload
Expected output: Upload confirmation for Infracost Cloud ingestion.
infracost_configure)@infracost run infracost_configure with:
Expected output: Configuration update confirmation from the CLI.
infracost_auth)@infracost run infracost_auth
Expected output: Authentication flow prompt or login success details.
infracost_generate_usage)@infracost run infracost_generate_usage with:
Expected output: Pre-filled usage file JSON with sensible defaults, plus guidance on customization and usage. Use onlyJson: true to return only the JSON for programmatic handling.
>=24.14.0PATH (or via INFRACOST_BINARY_PATH)Runtime:
@modelcontextprotocol/sdk (MCP server SDK)Development:
typescript (build/compile)tsx (development runner)vitest (unit test runner)@types/node (Node.js typings)INFRACOST_API_KEY: Infracost API key for cloud-backed features.INFRACOST_BINARY_PATH: Override path to Infracost binary.npm install
npm run build
This workspace is preconfigured in .vscode/mcp.json:
{
"servers": { "infracost": { "type": "stdio", "command": "node", "args": ["./dist/index.js"] } } }
Reload VS Code (Cmd+Shift+P -> Developer: Reload Window) after changing MCP configuration.
Then query the server from Copilot Chat with @infracost, for example:
@infracost run infracost_breakdown
@infracost run infracost_diff
Use stdio transport with the built entrypoint:
{
"name": "infracost-mcp-server", "type": "stdio", "command": "node", "args": ["/absolute/path/to/infracost-mcp/dist/index.js"] }
Build first with npm run build, then start your MCP c