Provides real-time AWS EC2 pricing information, allowing users to query instance configurations, pricing across regions, reserved instance discounts, and operating system costs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aws-pricing-mcpwhat's the cheapest EC2 instance with 16GB RAM in us-east-1?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AWS Pricing MCP
A Model Context Protocol (MCP) server that provides AWS EC2 instance pricing data. This project includes both a traditional server implementation and a serverless Lambda function.
Quick Start
Lambda Deployment (Recommended)
The Lambda function provides the same functionality as the server but with serverless benefits:
# Build and deploy
sam build
sam deploy --guided
# Get the Function URL
aws cloudformation describe-stacks \
--stack-name aws-pricing-mcp \
--query 'Stacks[0].Outputs[?OutputKey==`FunctionUrl`].OutputValue' \
--output textFor detailed Lambda documentation, see LAMBDA.md.
Server Deployment
# Install dependencies
pip install -r requirements.txt
# Run the server
python src/server.pyRelated MCP server: AWS CLI MCP Server
Features
EC2 Pricing Data: Find the cheapest EC2 instances based on specifications
Multiple Pricing Models: On Demand, Reserved Instances, CloudFix RightSpend
Flexible Filtering: Region, platform, tenancy, vCPU, RAM, GPU, etc.
JSON-RPC 2.0: Full MCP protocol compliance
Serverless Option: Lambda function with Function URL
Dynamic Data: Always up-to-date pricing from S3
Documentation
LAMBDA.md - Comprehensive Lambda documentation
MCP.md - MCP protocol examples
PRICING.md - Pricing data format and sources
BUILD.md - Build instructions