Back to Developer Tools
aws-pricing-mcp
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?
Last updated: 1/27/2026
README
# 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: ```bash # 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 text ``` For detailed Lambda documentation, see [LAMBDA.md](LAMBDA.md). ### Server Deployment ```bash # Install dependencies pip install -r requirements.txt # Run the server python src/server.py ``` ## 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](LAMBDA.md) - Comprehensive Lambda documentation - [MCP.md](MCP.md) - MCP protocol examples - [PRICING.md](PRICING.md) - Pricing data format and sources - [BUILD.md](BUILD.md) - Build instructions ## License [LICENSE](LICENSE)
Installation
Add this MCP to your configuration:
{
"mcpServers": {
"aws-pricing-mcp": {
// See GitHub repository for configuration
}
}
}See the GitHub repository for full installation instructions.