io.github.DownAtTheBottomOfTheMoleHole/infracost
NPM · @DOWNATTHEBOTTOMOFTHEMOLEHOLE/INFRACOST-MCP-SERVER · SCANNED AUG 3
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 →
Supply Chain Security83
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known medium-severity CVE affects @hono/node-server 1.19.17, reached via @modelcontextprotocol/sdk > @hono/node-server. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
- 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 147 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability62
- 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 Management27
- Stability observed for 8 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
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @downatthebottomofthemolehole/infracost-mcp-server
claude mcp add downatthebottomofthemolehole-infracost -- npx -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": {
"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.
- 3 Aug 26 +4
- Stability: unverified → 0.27 ▲ functional
- 2 Aug 26 +52
- GHSA-frvp-7c67-39w9 affects this package: medium ▼ security
- Known CVEs: unverified → fail ▼ security
- Provenance: unverified → pass ▲ security
- Install scripts: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- The attested source repository moved: DownAtTheBottomOfTheMoleHole/infracost-mcp security
- Tool coverage: unverified → 100 ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → good ▲ functional
- Licence: MIT functional
- 1 Aug 26 +1
- Malware scan: unverified → pass ▲ security
- Tool coverage: 100 → unverified ▼ functional
- 31 Jul 26 −5
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 28 Jul 26 −20
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 44
First indexed and scored.
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 3 Aug 2026 · Analysed npm/@downatthebottomofthemolehole/[email protected]
Provenance verified
Ecosystem: npm · Outcome: verified
Reason: verified
- 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
- Discovery method:
- attestation_endpoint
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-frvp-7c67-39w9 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | yes |
Dependencies 94 packages
94 packages in the resolved dependency tree · 94 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
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.
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.