Skip to main content
Glama

Infracost MCP Server

infracost_output

Combine and format Infracost JSON files to merge multiple cost estimates or convert between different output formats for cloud infrastructure cost analysis.

Instructions

Combine and format Infracost JSON files. Useful for merging multiple cost estimates or converting formats. Requires infracost CLI to be installed.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to Infracost JSON file(s) - supports glob patterns
formatNoOutput format
outFileNoSave output to a file
fieldsNoFields to include in output (e.g., ["price", "monthlyQuantity"])
showSkippedNoShow skipped resources in output

Input Schema (JSON Schema)

{ "properties": { "fields": { "description": "Fields to include in output (e.g., [\"price\", \"monthlyQuantity\"])", "items": { "type": "string" }, "type": "array" }, "format": { "description": "Output format", "enum": [ "json", "table", "html", "diff", "github-comment", "gitlab-comment", "azure-repos-comment", "bitbucket-comment" ], "type": "string" }, "outFile": { "description": "Save output to a file", "type": "string" }, "path": { "description": "Path to Infracost JSON file(s) - supports glob patterns", "type": "string" }, "showSkipped": { "description": "Show skipped resources in output", "type": "boolean" } }, "required": [ "path" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/phildougherty/infracost_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server