io.github.DownAtTheBottomOfTheMoleHole/infracost
NPM · @DOWNATTHEBOTTOMOFTHEMOLEHOLE/INFRACOST-MCP-SERVER · SCANNED SEP 20
MCP server for Infracost CLI integration - cloud cost estimates for Infrastructure as Code
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 31 of 95 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to DownAtTheBottomOfTheMoleHole/infracost-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 195 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability59
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 1320 tokens (~165/item across 8 items; 8 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management93
- Stability observed for 28 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server?
io.github.DownAtTheBottomOfTheMoleHole/infracost runs locally as an npm package, launched with npx -y @downatthebottomofthemolehole/infracost-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @downatthebottomofthemolehole/infracost-mcp-server
claude mcp add downatthebottomofthemolehole-infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server
{
"mcpServers": {
"downatthebottomofthemolehole-infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
} {
"servers": {
"downatthebottomofthemolehole-infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
} codex mcp add downatthebottomofthemolehole-infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"downatthebottomofthemolehole-infracost": {
"type": "local",
"command": [
"npx",
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
],
"enabled": true
}
}
} openclaw mcp add downatthebottomofthemolehole-infracost --command npx --arg -y --arg @downatthebottomofthemolehole/infracost-mcp-server
mcp_servers:
downatthebottomofthemolehole-infracost:
command: "npx"
args: ["-y", "@downatthebottomofthemolehole/infracost-mcp-server"] {
"McpServers": {
"downatthebottomofthemolehole-infracost": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
} assistant mcp add downatthebottomofthemolehole-infracost -t stdio -c npx -a -y @downatthebottomofthemolehole/infracost-mcp-server
{
"mcpServers": {
"downatthebottomofthemolehole-infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 19 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 17 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 16 Sept 26 −3
- Stability: pass → 0.80 functional
- 15 Sept 26 0
- Stability: 0.97 → pass security
- 14 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 12 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 10 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 9 Sept 26 −3
- Stability: pass → 0.80 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed npm/@downatthebottomofthemolehole/infracost-mcp-server@1.0.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | DownAtTheBottomOfTheMoleHole/infracost-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/DownAtTheBottomOfTheMoleHole/infracost-mcp/.github/workflows/publish-mcp.yml@refs/heads/main |
| Rekor log index | 1061553541 |
| Predicate type | https://slsa.dev/provenance/v1 |
| Subject digest | sha512:fd654d3463ffc215955160f75afcd1dfb41873478e756a9f6d8372af88aeb600635511d16810e7340c209fca17c7de90158445b4f3dddfb399318ac29 |
Background: How many MCP packages publish verified provenance →
Dependencies 95 packages
| Packages resolved | 95 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
infracost_auth ~78
Authenticate with Infracost Cloud. Opens browser for login flow.
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key (alternative to browser login). |
| extraArgs | array | – | Additional CLI arguments. |
| timeoutSeconds | number | – | Command timeout in seconds. |
| workingDirectory | string | – | Directory where the command is executed. |
No output schema declared.
No examples provided.
infracost_breakdown ~289
Generate cost breakdown for Infrastructure as Code (Terraform, CloudFormation, etc.). Shows cost estimates for cloud resources.
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key (can also use INFRACOST_API_KEY env var). |
| compareTo | string | – | Path to baseline Infracost JSON for comparison. |
| configFile | string | – | Path to Infracost config file. |
| extraArgs | array | – | Additional CLI arguments. |
| fields | array | – | Fields to include in output (all, price, monthlyQuantity, unit, hourlyCost, monthlyCost). |
| format | string | – | Output format: table, json, html, diff, github-comment, gitlab-comment, azure-repos-comment, slack-message, etc. |
| path | string | – | Path to the Terraform/IaC directory or plan JSON file. |
| showSkus | boolean | – | Show SKU details in the output. |
| syncUsageFile | boolean | – | Sync usage file with missing resources. |
| terraformPlanFlags | string | – | Flags to pass to 'terraform plan'. |
| terraformWorkspace | string | – | Terraform workspace to use. |
| timeoutSeconds | number | – | Command timeout in seconds. |
| usageFile | string | – | Path to Infracost usage file for resource usage estimates. |
| workingDirectory | string | – | Directory where the command is executed. Defaults to current directory. |
No output schema declared.
No examples provided.
infracost_comment ~221
Post cost estimate comments to pull requests on GitHub, GitLab, Azure Repos, or Bitbucket.
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key. |
| behavior | string | – | Behavior: update (default), new, or delete-and-new. |
| commit | string | – | Commit SHA. |
| dryRun | boolean | – | Dry run mode - generate comment without posting. |
| extraArgs | array | – | Additional CLI arguments. |
| path | string | yes | Path to Infracost JSON file (required). |
| platform | string | – | Platform: github, gitlab, azure-repos, or bitbucket. |
| pullRequest | string | – | Pull request number. |
| repo | string | – | Repository in format owner/repo. |
| tag | string | – | Customize comment tag to support multiple scenarios. |
| timeoutSeconds | number | – | Command timeout in seconds. |
| token | string | – | GitHub/GitLab/Azure DevOps/Bitbucket token. |
| workingDirectory | string | – | Directory where the command is executed. |
No output schema declared.
No examples provided.
infracost_configure ~127
Get or set Infracost configuration options (API key, currency, etc.).
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key. |
| extraArgs | array | – | Additional CLI arguments. |
| get | string | – | Get configuration value for a key (e.g., 'api_key', 'currency'). |
| set | string | – | Set configuration key-value (e.g., 'api_key=YOUR_KEY' or 'currency=EUR'). |
| timeoutSeconds | number | – | Command timeout in seconds. |
| workingDirectory | string | – | Directory where the command is executed. |
No output schema declared.
No examples provided.
infracost_diff ~229
Show cost diff between current IaC and planned changes. Useful for pull request reviews to understand cost impact.
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key. |
| compareTo | string | – | Path to baseline Infracost JSON for comparison. |
| configFile | string | – | Path to Infracost config file. |
| extraArgs | array | – | Additional CLI arguments. |
| format | string | – | Output format: table, json, html, diff, github-comment, etc. |
| path | string | – | Path to the Terraform/IaC directory or plan JSON file. |
| showSkus | boolean | – | Show SKU details. |
| syncUsageFile | boolean | – | Sync usage file with missing resources. |
| terraformPlanFlags | string | – | Flags to pass to 'terraform plan'. |
| terraformWorkspace | string | – | Terraform workspace to use. |
| timeoutSeconds | number | – | Command timeout in seconds. |
| usageFile | string | – | Path to Infracost usage file. |
| workingDirectory | string | – | Directory where the command is executed. Defaults to current directory. |
No output schema declared.
No examples provided.
infracost_generate_usage ~139
Generate Infracost usage file with sensible defaults for specified resource types. Complements infracost_configure by providing pre-filled templates.
| Name | Type | Req | Description |
|---|---|---|---|
| includeGuidance | boolean | – | Include formatted guidance on how to use the generated file. Default: true. |
| onlyJson | boolean | – | Return only the raw JSON (no guidance). Overrides includeGuidance. Default: false. |
| outputFilePath | string | – | Optional path where the usage file should be saved (for guidance only). |
| resourceTypes | array | yes | Resource types to include in usage file (e.g., ["aws_lambda_function", "aws_s3_bucket"]). Required. |
No output schema declared.
No examples provided.
infracost_output ~141
Format Infracost JSON output to different formats (table, html, github-comment, etc.).
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key. |
| extraArgs | array | – | Additional CLI arguments. |
| fields | array | – | Fields to include in output. |
| format | string | – | Output format: table, json, html, diff, github-comment, etc. |
| path | string | yes | Path to Infracost JSON file (required). |
| showSkus | boolean | – | Show SKU details. |
| timeoutSeconds | number | – | Command timeout in seconds. |
| workingDirectory | string | – | Directory where the command is executed. |
No output schema declared.
No examples provided.
infracost_upload ~96
Upload Infracost JSON output to Infracost Cloud for centralized cost visibility and reporting.
| Name | Type | Req | Description |
|---|---|---|---|
| apiKey | string | – | Infracost API key. |
| extraArgs | array | – | Additional CLI arguments. |
| path | string | yes | Path to Infracost JSON file to upload (required). |
| timeoutSeconds | number | – | Command timeout in seconds. |
| workingDirectory | string | – | Directory where the command is executed. |
No output schema declared.
No examples provided.
What is the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server?
io.github.DownAtTheBottomOfTheMoleHole/infracost is an MCP server listed in the public MCP registry as io.github.DownAtTheBottomOfTheMoleHole/infracost. MCP server for Infracost CLI integration - cloud cost estimates for Infrastructure as Code. This page covers its npm package (@downatthebottomofthemolehole/infracost-mcp-server).
Is the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server safe to use?
io.github.DownAtTheBottomOfTheMoleHole/infracost scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server expose?
io.github.DownAtTheBottomOfTheMoleHole/infracost exposes 8 tools: infracost_breakdown, infracost_diff, infracost_output, infracost_comment, infracost_upload, and 3 more. Their descriptions and schemas cost roughly 1,320 tokens of context every time the server is loaded.
Is the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server still maintained?
io.github.DownAtTheBottomOfTheMoleHole/infracost is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.DownAtTheBottomOfTheMoleHole/infracost MCP server under?
io.github.DownAtTheBottomOfTheMoleHole/infracost declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.