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 text
For detailed Lambda documentation, see LAMBDA.md.
Server Deployment
# 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 - Comprehensive Lambda documentation
- MCP.md - MCP protocol examples
- PRICING.md - Pricing data format and sources
- BUILD.md - Build instructions
License
Metadata
Release files for iflow-mcp_aws-pricing-mcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iflow_mcp_aws_pricing_mcp-1.0.0.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_aws_pricing_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.1 kB
Release files / iflow_mcp_aws_pricing_mcp-1.0.0.tar.gz
| Download URL | iflow_mcp_aws_pricing_mcp-1.0.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a39fd85b65dcfc0af1b57cd00ded3f915781aef4ffd86240f86df255122c97bd
|
|
BLAKE2b-256 checksum How to use checksums |
7bf6a699cec014528953abad1881a02f05edad4fe1bc7f6b11d8dc4a9eaef547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iflow_mcp_aws_pricing_mcp-1.0.0-py3-none-any.whl
| Download URL | iflow_mcp_aws_pricing_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a96644a23d2cb26a8ffb87fa6b8e3af82541271aef99f76e395cf87aef9e308
|
|
BLAKE2b-256 checksum How to use checksums |
489d87e8ec0389f94b898fd240f00663f0e421ca9c6fd1c3de20ba0d657f6fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|