bcm-pricing-calculator-mcp-server
v1.0.0Model Context Protocol (MCP) server for AWS Billing and Cost Management Pricing Calculator
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_workload_estimate
Create a workload estimate - the STARTING POINT for cost estimates. IMPORTANT: Create ONE estimate per application/project, not one per tier! Use the "group" field in batch_create_workload_estimate_usage to organize services. Example: "My-Web-App" with groups: "web-tier", "app-tier", "database" NOT: "My-Web-App-Web-Tier", "My-Web-App-App-Tier", "My-Web-App-Database" Name rules: Only [a-zA-Z0-9-] (NO SPACES!)
| Parameter | Type | Description |
|---|---|---|
name * | string | Name (alphanumeric and hyphens only, NO SPACES). Example: "Production-App" |
rate_type | string | Rate type: BEFORE_DISCOUNTS (list prices) or AFTER_DISCOUNTS (with your org discounts) |
list_workload_estimates
List all workload estimates in your account
| Parameter | Type | Description |
|---|---|---|
max_results | integer | Maximum number of results to return |
next_token | Pagination token |
get_workload_estimate
Get workload estimate details INCLUDING TOTAL COST. This returns the calculated totalCost based on all usage entries added. The list view doesn't show costs - you MUST call this to see the total! Returns: id, name, status, totalCost, costCurrency, and metadata.
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Workload estimate ID (UUID from create_workload_estimate) |
create_bill_scenario
Create a new bill scenario to model different cost configurations
| Parameter | Type | Description |
|---|---|---|
bill_estimate_id * | string | Bill estimate ID to associate with |
name * | string | Name for the bill scenario |
list_bill_scenarios
List all bill scenarios for a bill estimate
| Parameter | Type | Description |
|---|---|---|
bill_estimate_id * | string | Bill estimate ID |
max_results | integer | Maximum number of results |
next_token | Pagination token |
create_bill_estimate
Create a new bill estimate to generate cost projections
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the bill estimate |
list_bill_estimates
List all bill estimates in your account
| Parameter | Type | Description |
|---|---|---|
max_results | integer | Maximum number of results |
next_token | Pagination token |
get_bill_estimate
Get details and line items for a specific bill estimate
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Bill estimate ID |
list_bill_estimate_line_items
List detailed line items for a bill estimate showing cost breakdown
| Parameter | Type | Description |
|---|---|---|
bill_estimate_id * | string | Bill estimate ID |
max_results | integer | Maximum number of results |
next_token | Pagination token |
batch_create_workload_estimate_usage
Add AWS services to a workload estimate - THIS IS WHERE COSTS ARE CALCULATED! Add up to 25 services at once. Use "group" field to organize by any dimension. CRITICAL: Each entry needs ALL these fields: - serviceCode: AWS service (e.g., "AmazonEC2", "AmazonRDS") - usageType: Specific resource type (e.g., "BoxUsage:t3.medium") - operation: Operation name (e.g., "RunInstances") - key: Unique identifier, max 10 chars, alphanumeric only (e.g., "web1", "db1") - amount: Usage quantity (e.g., 730 hours/month for 24/7) - usageAccountId: 12-digit AWS account ID (use get…
| Parameter | Type | Description |
|---|---|---|
usage * | array | List of usage entries (max 25). See tool description for required fields and examples. |
workload_estimate_id * | string | Workload estimate ID from create_workload_estimate |
batch_update_workload_estimate_usage
Update existing usage entries in a workload estimate
| Parameter | Type | Description |
|---|---|---|
usage * | array | List of usage entries to update (max 25). Must include "id" field for each entry. |
workload_estimate_id * | string | Workload estimate ID |
batch_delete_workload_estimate_usage
Delete usage entries from a workload estimate
| Parameter | Type | Description |
|---|---|---|
ids * | array | List of usage entry IDs to delete (max 25) |
workload_estimate_id * | string | Workload estimate ID |
update_workload_estimate
Update workload estimate metadata (name, rate type)
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Workload estimate ID |
name | New name for the workload estimate | |
rate_type | New rate type: BEFORE_DISCOUNTS or AFTER_DISCOUNTS |
delete_workload_estimate
Delete a workload estimate and all its usage entries
| Parameter | Type | Description |
|---|---|---|
identifier * | string | Workload estimate ID to delete |
list_workload_estimate_usage
List usage entries for a workload estimate
| Parameter | Type | Description |
|---|---|---|
workload_estimate_id * | string | Workload estimate ID |
max_results | integer | Maximum number of results |
next_token | Pagination token |
get_pricing_service_codes
Discover AWS service codes available in the Price List API. This is the FIRST STEP for discovering service information. Use this to find the correct service code before querying pricing or creating estimates. By default, returns 30+ common service codes WITHOUT making an API call for faster response. Set use_cache=False to get the complete list from AWS API. Returns service codes like 'AmazonEC2', 'AWSGlue', 'AmazonRDS' that can be used with other pricing tools and BCM Pricing Calculator API. Optional filter parameter accepts regex patterns (case-insensitive):…
| Parameter | Type | Description |
|---|---|---|
filter | Optional regex pattern to filter service codes | |
use_cache | boolean | Use cached common service codes (True) or fetch complete list from API (False) |
get_pricing_service_attributes
Get filterable attributes available for an AWS service. Use this AFTER get_pricing_service_codes() to discover what dimensions you can filter by for a specific service. Returns attribute names like 'instanceType', 'location', 'usageType', 'operation' that can be used to query pricing data. These attributes help you understand what filters are available when querying pricing information for creating BCM estimates.
| Parameter | Type | Description |
|---|---|---|
service_code * | string | AWS service code (e.g., "AmazonEC2", "AWSGlue") |
filter | Optional regex pattern to filter attribute names |
get_pricing_attribute_values
Get valid values for a specific attribute of an AWS service. Use this AFTER get_pricing_service_attributes() to discover what values are available for a specific attribute. **IMPORTANT: Use the filter parameter to avoid context overflow!** Many attributes (especially usageType) have hundreds of values. Always use a regex filter to narrow results to what you need. Examples: - For EKS cluster pricing: filter="cluster" - For EC2 t3 instances: filter="t3\." - For specific region: filter="^USE1-" (us-east-1) - For RDS MySQL: filter="mysql" For AWSGlue…
| Parameter | Type | Description |
|---|---|---|
attribute_name * | string | Attribute name (e.g., "usageType", "operation") |
service_code * | string | AWS service code (e.g., "AmazonEC2", "AWSGlue") |
filter | RECOMMENDED: Regex pattern to filter values (e.g., "cluster", "t3\.", "^USE1-"). Prevents context overflow. |
get_aws_account_id
Get the AWS account ID from current credentials. Use this to populate usageAccountId in usage entries.
get_preferences
Get your pricing calculator preferences including discount and benefit sharing settings