downatthebottomofthemolehole avatar

Infracost

downatthebottomofthemolehole/infracost-mcp

Wraps the Infracost CLI so you can estimate cloud costs directly from Terraform and other IaC projects. You get eight tools: breakdown for baseline estimates, diff for cost deltas between plan versions, output to render JSON reports as tables or HTML, comment to post cost summaries on GitHub/GitLab/Azure/Bitbucket PRs, upload to sync with Infracost Cloud, plus configure, auth, and a usage file generator with defaults for Lambda, RDS, S3, and other common resources. Runs locally or in CI pipelines. Useful when you want cost visibility baked into your infrastructure review workflow without leaving your MCP client or manually running infracost commands.

tools
8
transport
STDIO
last updated
Mar 8, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

infracost_breakdownRuns `infracost breakdown`.

Runs `infracost breakdown`.

No parameter schema in public metadata yet.

infracost_diffRuns `infracost diff`.

Runs `infracost diff`.

No parameter schema in public metadata yet.

infracost_outputRuns `infracost output`.

Runs `infracost output`.

No parameter schema in public metadata yet.

infracost_commentRuns `infracost comment`.

Runs `infracost comment`.

No parameter schema in public metadata yet.

infracost_uploadRuns `infracost upload`.

Runs `infracost upload`.

No parameter schema in public metadata yet.

infracost_configureRuns `infracost configure`.

Runs `infracost configure`.

No parameter schema in public metadata yet.

infracost_authRuns `infracost auth login`.

Runs `infracost auth login`.

No parameter schema in public metadata yet.

infracost_generate_usageGenerates an Infracost usage file with sensible defaults for specified resource types.

Generates an Infracost usage file with sensible defaults for specified resource types.

No parameter schema in public metadata yet.

Sponsors

Readme

Infracost MCP Server

Down At The Bottom Of The Mole Hole banner

CI/Publish Coverage npm License: MIT Node Version

Note: This is a community-maintained MCP server. It is not an official Model Context Protocol server from Infracost.


View the full README on GitHub

Details

Repository
github.com/downatthebottomofthemolehole/infracost-mcp
Category
Cloud & Infrastructure
Package
@downatthebottomofthemolehole/infracost-mcp-server
Transport
STDIO
Registry
MCP registry, active

More from downatthebottomofthemolehole

Related Cloud & Infrastructure MCP servers

View all
1lazymac2x avatarAgent Loop Detectorlazymac2x/agent-loop-detector-apiCloudflare Workers MCP server: agent-loop-detector0stars
2lazymac2x avatarAgent Memorylazymac2x/agent-memory-apiCloudflare Workers MCP server: agent-memory0stars
3lazymac2x avatarAgent Trace Auditorlazymac2x/agent-trace-auditor-apiCloudflare Workers MCP server: agent-trace-auditor0stars
4lazymac2x avatarAgent Workflow Enginelazymac2x/agent-workflow-engine-apiCloudflare Workers MCP server: agent-workflow-engine0stars
5lazymac2x avatarAi Budget Plannerlazymac2x/ai-budget-planner-apiCloudflare Workers MCP server: ai-budget-planner0stars
6lazymac2x avatarAi Evallazymac2x/ai-eval-apiCloudflare Workers MCP server: ai-eval0stars