Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: superceeded by awslabs.aws-pricing-mcp-server

Cost Analysis MCP Server

MCP server for analyzing AWS service costs and generating cost reports

Features

Analyze and visualize AWS costs

  • Get detailed breakdown of your AWS costs by service, region and tier
  • Understand how costs are distributed across various services

Query cost data with natural language

  • Ask questions about your AWS costs in plain English, no complex query languages required
  • Get instant answers fetched from pricing webpage and AWS Pricing API, for questions related to AWS services

Generate cost reports and insights

  • Generate comprehensive cost reports based on your IaC implementation
  • Get cost optimization recommendations

Prerequisites

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.10
  3. Set up AWS credentials with access to AWS services
    • You need an AWS account with appropriate permissions
    • Configure AWS credentials with aws configure or environment variables
    • Ensure your IAM role/user has permissions to access AWS Pricing API

Installation

Here are some ways you can work with MCP across AWS, and we'll be adding support to more products including Amazon Q Developer CLI soon: (e.g. for Amazon Q Developer CLI MCP, ~/.aws/amazonq/mcp.json):

{
  "mcpServers": {
    "awslabs.cost-analysis-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.cost-analysis-mcp-server@latest"],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR",
        "AWS_PROFILE": "your-aws-profile"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

AWS Authentication

The MCP server uses the AWS profile specified in the AWS_PROFILE environment variable. If not provided, it defaults to the "default" profile in your AWS configuration file.

"env": {
  "AWS_PROFILE": "your-aws-profile"
}

Make sure the AWS profile has permissions to access the AWS Pricing API. The MCP server creates a boto3 session using the specified profile to authenticate with AWS services. Your AWS IAM credentials remain on your local machine and are strictly used for accessing AWS services.

Release files for awslabs.cost-analysis-mcp-server 0.0.111004

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awslabs.cost-analysis-mcp-server 0.0.111004
File Size Uploaded
awslabs_cost_analysis_mcp_server-0.0.111004.tar.gz 65.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awslabs.cost-analysis-mcp-server 0.0.111004
File Interpreter ABI Platform
awslabs_cost_analysis_mcp_server-0.0.111004-py3-none-any.whl Python 3 none any Details

Total release size:103.1 kB

Release files / awslabs_cost_analysis_mcp_server-0.0.111004.tar.gz

Download URL awslabs_cost_analysis_mcp_server-0.0.111004.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8c6f80660ebe36c9eea0a74b10b0486acc428c2d8706a2fca77c4335e33433e2
BLAKE2b-256 checksum
How to use checksums
dac980db5c70a1292b49fb27ad7654d3af1e00078b377cc970ff7dde217e4217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2025.

Transparency log

Release files / awslabs_cost_analysis_mcp_server-0.0.111004-py3-none-any.whl

Download URL awslabs_cost_analysis_mcp_server-0.0.111004-py3-none-any.whl
Size 37.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d83beaaebd7c9023855dd0e610db7f43ab8768a9c98115c8b551cfcfbbaab62c
BLAKE2b-256 checksum
How to use checksums
1532f2cabfa98d60460d4b90bf5fc021d499e6273c1ccaf06c8d53d3265de573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2025.

Transparency log

Release history Release notifications | RSS feed

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.1

2 release files

0.1.0

2 release files

This release

0.0.111004 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page