MCP server
Infracost
MCP server for Infracost CLI integration - cloud cost estimates for Infrastructure as Code
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About Infracost
Infracost is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"infracost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"infracost": {
"command": "npx",
"args": [
"-y",
"@downatthebottomofthemolehole/infracost-mcp-server"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Infracost FAQ
Is Infracost free?
Yes. Infracost is open source, so you can use and self-host it for free.
How do I add Infracost to Claude Code?
Run this command in your terminal: claude mcp add infracost -- npx -y @downatthebottomofthemolehole/infracost-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.