aws-pricing-mcp

Integrations

  • Provides real-time AWS EC2 pricing information, allowing users to query instance configurations, pricing across regions, reserved instance discounts, and operating system costs.

AWS EC2 定价 MCP 服务器

AWS EC2 定价 MCP 服务器允许任何 LLM 或自动化脚本通过一次调用查询实时 EC2 定价。它由预先解析的 AWS 定价目录提供支持,可以回答以下问题:

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?

使用 Docker

使用 Docker hub 镜像

将此 mcp_config.json 用于 Docker hub 镜像:

{ "mcpServers": { "AWS EC2 Pricing MCP": { "command": "docker", "args": ["run", "--rm", "-i", "-q", "ai1st/aws-pricing-mcp"] } } }

--rm 标志会在容器退出时将其移除。-i 标志启用 stdio 通信的交互模式。-q 标志会隐藏有关下载镜像的 docker 消息。

使用本地图像

构建图像:

docker build -t aws-pricing-mcp .

这将下载定价数据并构建图像。

本地构建图像的示例 mcp_config.json:

{ "mcpServers": { "AWS EC2 Pricing MCP": { "command": "docker", "args": ["run", "--rm", "-i", "aws-pricing-mcp"] } } }

--rm 标志用于在容器退出时将其移除。-i 标志用于启用 stdio 通信的交互模式。

直接使用 Python

您需要先下载定价数据:

curl https://cloudfix-public-aws-pricing.s3.us-east-1.amazonaws.com/pricing/ec2_pricing.json.gz | gunzip > ec2_pricing.json

它应该与 server.py 位于同一目录中。

本地 Python 的示例 mcp_config.json:

{ "mcpServers": { "AWS EC2 Pricing MCP": { "command": "python", "args": [ "/path/to/server.py" ] } } }

搭建说明

有关构建和发布 Docker 镜像的说明,请参阅BUILD.md

定价数据 JSON 格式

请参阅PRICING.md

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AWS 定价 MCP

  1. 使用 Docker
    1. 使用 Docker hub 镜像
    2. 使用本地图像
  2. 直接使用 Python
    1. 搭建说明
      1. 定价数据 JSON 格式

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          An unofficial MCP server that provides an interface to access the Autumn pricing API for managing customers, entitlements, invoices, and generating billing portal links.
          Last updated -
          5
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          Azure MCP Server
          Last updated -
          473
          MIT License
          • Linux
          • Apple

        View all related MCP servers

        ID: cb8bt7rna3