infracost-price-lookup
Price Lookup
Look up cloud resource pricing without needing existing infrastructure code. Supports any resource type that Terraform and Infracost support across AWS, GCP, and Azure.
This plugin ships an MCP server that exposes a price tool. The agent passes a Terraform snippet as a string and the tool returns a per-resource breakdown plus a headline summary — no temp files, no stdin pipes, no JSON parsing.
Setup
Important: Verify the Infracost CLI is installed, the user is authenticated, and an organization is selected before running any price lookups.
-
Check the CLI is on the path:
infracost --versionIf this fails, inform the user that they need to install the Infracost CLI by following the instructions at https://www.infracost.io/docs/features/get_started/.
-
Check the user is logged in and has an organization selected: