Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

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

+32 this week 76 Trust /100
Trust breakdown (6 categories)

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
Install

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

# add to Claude Code
claude mcp add downatthebottomofthemolehole-infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server
# add to Codex CLI
codex mcp add downatthebottomofthemolehole-infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "downatthebottomofthemolehole-infracost": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@downatthebottomofthemolehole/infracost-mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add downatthebottomofthemolehole-infracost --command npx --arg -y --arg @downatthebottomofthemolehole/infracost-mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  downatthebottomofthemolehole-infracost:
    command: "npx"
    args: ["-y", "@downatthebottomofthemolehole/infracost-mcp-server"]
// mcp.json
{
  "mcpServers": {
    "downatthebottomofthemolehole-infracost": {
      "command": "npx",
      "args": [
        "-y",
        "@downatthebottomofthemolehole/infracost-mcp-server"
      ]
    }
  }
}
Changelog

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.

Diagnostics

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.

MCP tools — 8 exposed · ~1,320 tokens

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.

Tool Tokens
infracost_auth ~78

Authenticate with Infracost Cloud. Opens browser for login flow.

NameTypeReqDescription
apiKeystringInfracost API key (alternative to browser login).
extraArgsarrayAdditional CLI arguments.
timeoutSecondsnumberCommand timeout in seconds.
workingDirectorystringDirectory 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.

NameTypeReqDescription
apiKeystringInfracost API key (can also use INFRACOST_API_KEY env var).
compareTostringPath to baseline Infracost JSON for comparison.
configFilestringPath to Infracost config file.
extraArgsarrayAdditional CLI arguments.
fieldsarrayFields to include in output (all, price, monthlyQuantity, unit, hourlyCost, monthlyCost).
formatstringOutput format: table, json, html, diff, github-comment, gitlab-comment, azure-repos-comment, slack-message, etc.
pathstringPath to the Terraform/IaC directory or plan JSON file.
showSkusbooleanShow SKU details in the output.
syncUsageFilebooleanSync usage file with missing resources.
terraformPlanFlagsstringFlags to pass to 'terraform plan'.
terraformWorkspacestringTerraform workspace to use.
timeoutSecondsnumberCommand timeout in seconds.
usageFilestringPath to Infracost usage file for resource usage estimates.
workingDirectorystringDirectory 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.

NameTypeReqDescription
apiKeystringInfracost API key.
behaviorstringBehavior: update (default), new, or delete-and-new.
commitstringCommit SHA.
dryRunbooleanDry run mode - generate comment without posting.
extraArgsarrayAdditional CLI arguments.
pathstringyesPath to Infracost JSON file (required).
platformstringPlatform: github, gitlab, azure-repos, or bitbucket.
pullRequeststringPull request number.
repostringRepository in format owner/repo.
tagstringCustomize comment tag to support multiple scenarios.
timeoutSecondsnumberCommand timeout in seconds.
tokenstringGitHub/GitLab/Azure DevOps/Bitbucket token.
workingDirectorystringDirectory 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.).

NameTypeReqDescription
apiKeystringInfracost API key.
extraArgsarrayAdditional CLI arguments.
getstringGet configuration value for a key (e.g., 'api_key', 'currency').
setstringSet configuration key-value (e.g., 'api_key=YOUR_KEY' or 'currency=EUR').
timeoutSecondsnumberCommand timeout in seconds.
workingDirectorystringDirectory 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.

NameTypeReqDescription
apiKeystringInfracost API key.
compareTostringPath to baseline Infracost JSON for comparison.
configFilestringPath to Infracost config file.
extraArgsarrayAdditional CLI arguments.
formatstringOutput format: table, json, html, diff, github-comment, etc.
pathstringPath to the Terraform/IaC directory or plan JSON file.
showSkusbooleanShow SKU details.
syncUsageFilebooleanSync usage file with missing resources.
terraformPlanFlagsstringFlags to pass to 'terraform plan'.
terraformWorkspacestringTerraform workspace to use.
timeoutSecondsnumberCommand timeout in seconds.
usageFilestringPath to Infracost usage file.
workingDirectorystringDirectory 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.

NameTypeReqDescription
includeGuidancebooleanInclude formatted guidance on how to use the generated file. Default: true.
onlyJsonbooleanReturn only the raw JSON (no guidance). Overrides includeGuidance. Default: false.
outputFilePathstringOptional path where the usage file should be saved (for guidance only).
resourceTypesarrayyesResource 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.).

NameTypeReqDescription
apiKeystringInfracost API key.
extraArgsarrayAdditional CLI arguments.
fieldsarrayFields to include in output.
formatstringOutput format: table, json, html, diff, github-comment, etc.
pathstringyesPath to Infracost JSON file (required).
showSkusbooleanShow SKU details.
timeoutSecondsnumberCommand timeout in seconds.
workingDirectorystringDirectory 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.

NameTypeReqDescription
apiKeystringInfracost API key.
extraArgsarrayAdditional CLI arguments.
pathstringyesPath to Infracost JSON file to upload (required).
timeoutSecondsnumberCommand timeout in seconds.
workingDirectorystringDirectory where the command is executed.

No output schema declared.

No examples provided.