Provides real-time AWS EC2 pricing information, allowing users to query instance configurations, pricing across regions, reserved instance discounts, and operating system costs.
AWS EC2 Pricing MCP Server
The AWS EC2 Pricing MCP Server lets any LLM or automation script query real-time EC2 pricing with one call. Powered by a pre-parsed AWS pricing catalogue, it answers questions such as
What is the cheapest EC2 instance with 32GB RAM?
Which AMD instances have more than 3.5 Ghz CPUs?
What is the 3-yr All Upfront discount on r6g family in eu-west-1?
What is the cheapest instance to run Windows with SQL Server Enterprise?
Using Docker
Using a Docker hub image
Use this mcp_config.json for Docker hub image:
The
--rmflag removes the container when it exits.The
-iflag enables interactive mode for stdio communication.The
-qflag suppresses the docker messages about downloading the image.The
--network nonetotally disconnects the container from the network to guarantee no data exfiltration.
Using a local image
Build the image:
This will download the pricing data and build the image. The BUILD_DATE parameter ensures the fresh pricing data is downloaded during build.
Sample mcp_config.json for a locally built image:
The
--rmflag removes the container when it exits.The
-iflag enables interactive mode for stdio communication.The
--network nonetotally disconnects the container from the network to guarantee no data exfiltration.
Related MCP server: AWS CLI MCP Server
Using Python directly
You'll need to download the pricing data first:
It should be in the same directory as server.py.
Sample mcp_config.json for local Python:
Building Instructions
For instructions on building and publishing the Docker image, see BUILD.md.
Pricing Data JSON Format
See PRICING.md.