skillfed

awslabs.billing-cost-management-mcp-server

A Model Context Protocol (MCP) server that provides tools for AWS Billing and Cost Management by wrapping boto3 SDK functions.

awslabs-billing-cost-management-mcp-server v0.0.33 520.3K downloads/30d#6,211 on PyPI9,598
Permissive license Apache-2.0 Active released

What it is and what it does

This package wraps AWS Billing and Cost Management APIs into a Model Context Protocol server, making cost and billing data accessible to MCP-compatible clients (like Kiro, Cursor, or VS Code with MCP support). It runs as a standalone service that translates MCP tool calls into boto3 API requests, handling authentication via your AWS credentials.

The server exposes a broad surface of billing operations: Cost Explorer queries with grouping and filtering, budget status checks, cost anomaly detection, Compute Optimizer and Cost Optimization Hub recommendations, Reserved Instance and Savings Plans analysis, S3 Storage Lens metrics, month-over-month cost comparisons, Billing Conductor group management, cost allocation tags, cost categories, invoice summaries, and specialized cost optimization prompts (e.g., Graviton migration analysis). All calls execute under your AWS credentials and are subject to AWS service limits.

Use it for:

  • Query historical and forecasted AWS costs with flexible grouping to identify spending trends and cost drivers across your environment.
  • Monitor Free Tier usage and detect cost anomalies to avoid unexpected charges and catch unusual spending patterns early.
  • Retrieve right-sizing recommendations from Compute Optimizer and Savings Plans guidance to optimize EC2, Lambda, and EBS costs.
  • Analyze S3 storage costs by bucket and storage class, then identify lifecycle policy opportunities to reduce storage expenses.
  • Compare costs and usage across linked AWS accounts and billing periods to understand multi-account spending and allocate costs to teams.
  • List and manage billing groups, pricing rules, and custom line items in Billing Conductor for chargeback and cost allocation workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Exposes AWS Billing and Cost Management APIs through a Model Context Protocol (MCP) server, enabling programmatic access to cost analysis, budgets, optimization recommendations, and billing data.

Yes. This is an actively maintained, recently released tool (0.0.33, 2026-08-14) from AWS Labs with low install friction and no known vulnerabilities. It solves a real problem—programmatic access to AWS billing data—and integrates cleanly into MCP-compatible IDEs and AI assistants. The permissive Apache-2.0 license imposes no restrictions. Install it if you need to query AWS costs, budgets, or optimization recommendations from an MCP client; skip it if you only use the AWS Console or CLI directly.

Install

awslabs-billing-cost-management-mcp-server on PyPI

pip

pip install awslabs-billing-cost-management-mcp-server

uv

uv add awslabs-billing-cost-management-mcp-server

poetry

poetry add awslabs-billing-cost-management-mcp-server

Installing awslabs.billing-cost-management-mcp-server

Before you install

Low friction installation via wheel distribution. Active maintenance with recent release (0.0.33 released 2026-08-14). Depends on boto3, fastmcp, mcp, pydantic, loguru, python-dotenv, and sqlglot—all standard, widely-used libraries. Requires Python 3.10 or newer.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes, but no copyleft obligations apply.

Quickstart

# Install via uv
uvx awslabs.billing-cost-management-mcp-server@latest

# Or in Python, configure MCP client with:
# {
#   "command": "uvx",
#   "args": ["awslabs.billing-cost-management-mcp-server@latest"],
#   "env": {"AWS_PROFILE": "your-profile", "AWS_REGION": "us-east-1"}
# }

Requires AWS credentials configured (via aws configure, environment variables, or AWS_PROFILE); IAM role/user must have permissions to access AWS Billing and Cost Management APIs.

Verify before relying

  • Specific list of IAM permissions required to operate all features
  • Whether all Cost Management APIs are fully supported or if some have partial coverage
  • Performance characteristics when querying large multi-account billing datasets
  • Exact MCP protocol version compatibility and client support matrix

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 7 — boto3, fastmcp, loguru, mcp, pydantic, python-dotenv, sqlglot
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 520,319/month — #6,211 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: awslabs_billing_cost_management_mcp_server-0.0.33-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

AWS billing cost management APIMCP server AWS costscost explorer analysis toolAWS budget monitoringcloud cost optimizationAWS billing data accesscost anomaly detection
aws-integrationcost-managementmcp-server

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

awslabs.aws-pricing-mcp-server

An MCP server that exposes AWS pricing data and…

permissive · top 15,000 on PyPI

awslabs.aws-api-mcp-server

Exposes AWS services to AI assistants through…

permissive · top 15,000 on PyPI

awslabs.aws-documentation-mcp-server

Provides an MCP server that exposes AWS…

permissive · top 5,000 on PyPI

awslabs.cloudwatch-mcp-server

Exposes CloudWatch metrics, logs, alarms, and…

permissive · top 15,000 on PyPI

awslabs.eks-mcp-server

Connects AI code assistants to Amazon EKS…

permissive · top 15,000 on PyPI

awslabs.aws-iac-mcp-server

Provides an MCP server that validates…

permissive · top 15,000 on PyPI

awslabs.redshift-mcp-server

Provides a Model Context Protocol (MCP) server…

permissive · top 15,000 on PyPI

awslabs.bedrock-kb-retrieval-mcp-server

An MCP server that connects AI tools to Amazon…

permissive · top 15,000 on PyPI

langsmith-mcp-server

Exposes LangSmith observability data…

permissive · top 15,000 on PyPI

mcp-proxy-for-aws

Bridges MCP clients to AWS-hosted MCP servers…

permissive · top 5,000 on PyPI