--- id: awslabs-billing-cost-management-mcp-server version: "0.0.33" license: Apache-2.0 license_treatment: permissive maintenance: active --- # 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. License: permissive · Maintenance: active · Downloads: 520.3K/mo ## 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 above — 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 pip install awslabs-billing-cost-management-mcp-server uv add awslabs-billing-cost-management-mcp-server 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_current - Install friction: low - Maintenance: active - Downloads: 520.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AWS billing cost management API, MCP server AWS costs, cost explorer analysis tool, AWS budget monitoring, cloud cost optimization, AWS billing data access, cost anomaly detection, aws-integration, cost-management, mcp-server [View on SkillFed](https://skillfed.io/packages/awslabs-billing-cost-management-mcp-server) · [View on PyPI](https://pypi.org/project/awslabs-billing-cost-management-mcp-server/)