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.
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-serveruv
uv add awslabs-billing-cost-management-mcp-serverpoetry
poetry add awslabs-billing-cost-management-mcp-serverInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
awslabs.aws-pricing-mcp-serverAn MCP server that exposes AWS pricing data and…
permissive · top 15,000 on PyPI
awslabs.aws-api-mcp-serverExposes AWS services to AI assistants through…
permissive · top 15,000 on PyPI
awslabs.aws-documentation-mcp-serverProvides an MCP server that exposes AWS…
permissive · top 5,000 on PyPI
awslabs.cloudwatch-mcp-serverExposes CloudWatch metrics, logs, alarms, and…
permissive · top 15,000 on PyPI
awslabs.eks-mcp-serverConnects AI code assistants to Amazon EKS…
permissive · top 15,000 on PyPI
awslabs.aws-iac-mcp-serverProvides an MCP server that validates…
permissive · top 15,000 on PyPI
awslabs.redshift-mcp-serverProvides a Model Context Protocol (MCP) server…
permissive · top 15,000 on PyPI
awslabs.bedrock-kb-retrieval-mcp-serverAn MCP server that connects AI tools to Amazon…
permissive · top 15,000 on PyPI
langsmith-mcp-serverExposes LangSmith observability data…
permissive · top 15,000 on PyPI
mcp-proxy-for-awsBridges MCP clients to AWS-hosted MCP servers…
permissive · top 5,000 on PyPI