A Model Context Protocol (MCP) server that provides AWS EC2 instance pricing data
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_aws_pricing_mcp-1.0.0.tar.gz.
File metadata
- Download URL: iflow_mcp_aws_pricing_mcp-1.0.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a39fd85b65dcfc0af1b57cd00ded3f915781aef4ffd86240f86df255122c97bd
|
|
| MD5 |
ced23627857396d4e8379f8dd84f5892
|
|
| BLAKE2b-256 |
7bf6a699cec014528953abad1881a02f05edad4fe1bc7f6b11d8dc4a9eaef547
|
File details
Details for the file iflow_mcp_aws_pricing_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_aws_pricing_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a96644a23d2cb26a8ffb87fa6b8e3af82541271aef99f76e395cf87aef9e308
|
|
| MD5 |
7297237e57a3ab44cb4127b453186c76
|
|
| BLAKE2b-256 |
489d87e8ec0389f94b898fd240f00663f0e421ca9c6fd1c3de20ba0d657f6fc0
|