Skip to main content
Glama

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

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 text

For detailed Lambda documentation, see LAMBDA.md.

Server Deployment

# Install dependencies
pip install -r requirements.txt

# Run the server
python src/server.py

Related MCP server: tokencost-dev

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

License

LICENSE

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Issues opened vs closed

Latest Blog Posts

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/trilogy-group/aws-pricing-mcp'

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