# trilogy-group/aws-pricing-mcp [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/trilogy-group/aws-pricing-mcp  
**GitHub Stars:** 21  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/trilogy-group-aws-pricing-mcp

## Description
/🏠 - Get up-to-date EC2 pricing information with one call. Fast. Powered by a pre-parsed AWS pricing catalogue.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "aws-pricing-mcp": {
    "command": "npx",
    "args": ["-y","trilogy-group-aws-pricing-mcp"],
    "env": {
      "AWS_ACCESS_KEY_ID": "",
      "AWS_SECRET_ACCESS_KEY": "",
      "AWS_SESSION_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation & 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](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/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](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/LAMBDA.md) - Comprehensive Lambda documentation
- [MCP.md](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/MCP.md) - MCP protocol examples
- [PRICING.md](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/PRICING.md) - Pricing data format and sources
- [BUILD.md](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/BUILD.md) - Build instructions

## License

[LICENSE](https://github.com/trilogy-group/aws-pricing-mcp/blob/HEAD/LICENSE)

