Skip to main content
Glama

aws-pricing-mcp

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

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

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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?

  1. Using Docker
    1. Using a Docker hub image
    2. Using a local image
  2. Using Python directly
    1. Building Instructions
      1. Pricing Data JSON Format

        Related MCP Servers

        • Amazon Web Services
          aws-mcp

          A
          security
          F
          license
          A
          quality
          A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.
          Last updated -
          3
          282
          TypeScript
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server that enables Claude to generate and execute AWS CLI commands, allowing users to manage AWS resources through natural language conversations.
          Last updated -
          2
          TypeScript
        • -
          security
          F
          license
          -
          quality
          This MCP server enables users to interact with AWS Amplify Gen2 application data through natural language, allowing AI assistants like Claude to perform operations on Amplify data models using conversational language instead of complex code.
          Last updated -
          1
          JavaScript
        • -
          security
          F
          license
          -
          quality
          A simplified MCP server that provides a streamlined way to interact with AWS CloudWatch resources (log groups, log queries, and alarms) through the MCP protocol.
          Last updated -
          4
          Python
          • Linux
          • Apple

        View all related MCP servers

        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