bcm-pricing-calculator-mcp-server

v1.0.0
bcm-pricing-calculator-mcp-server Checked 2 days ago Published 1 year ago

Model 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!)

ParameterTypeDescription
name *stringName (alphanumeric and hyphens only, NO SPACES). Example: "Production-App"
rate_typestringRate type: BEFORE_DISCOUNTS (list prices) or AFTER_DISCOUNTS (with your org discounts)

list_workload_estimates

List all workload estimates in your account

ParameterTypeDescription
max_resultsintegerMaximum number of results to return
next_tokenPagination 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.

ParameterTypeDescription
identifier *stringWorkload estimate ID (UUID from create_workload_estimate)

create_bill_scenario

Create a new bill scenario to model different cost configurations

ParameterTypeDescription
bill_estimate_id *stringBill estimate ID to associate with
name *stringName for the bill scenario

list_bill_scenarios

List all bill scenarios for a bill estimate

ParameterTypeDescription
bill_estimate_id *stringBill estimate ID
max_resultsintegerMaximum number of results
next_tokenPagination token

create_bill_estimate

Create a new bill estimate to generate cost projections

ParameterTypeDescription
name *stringName for the bill estimate

list_bill_estimates

List all bill estimates in your account

ParameterTypeDescription
max_resultsintegerMaximum number of results
next_tokenPagination token

get_bill_estimate

Get details and line items for a specific bill estimate

ParameterTypeDescription
identifier *stringBill estimate ID

list_bill_estimate_line_items

List detailed line items for a bill estimate showing cost breakdown

ParameterTypeDescription
bill_estimate_id *stringBill estimate ID
max_resultsintegerMaximum number of results
next_tokenPagination 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…

ParameterTypeDescription
usage *arrayList of usage entries (max 25). See tool description for required fields and examples.
workload_estimate_id *stringWorkload estimate ID from create_workload_estimate

batch_update_workload_estimate_usage

Update existing usage entries in a workload estimate

ParameterTypeDescription
usage *arrayList of usage entries to update (max 25). Must include "id" field for each entry.
workload_estimate_id *stringWorkload estimate ID

batch_delete_workload_estimate_usage

Delete usage entries from a workload estimate

ParameterTypeDescription
ids *arrayList of usage entry IDs to delete (max 25)
workload_estimate_id *stringWorkload estimate ID

update_workload_estimate

Update workload estimate metadata (name, rate type)

ParameterTypeDescription
identifier *stringWorkload estimate ID
nameNew name for the workload estimate
rate_typeNew rate type: BEFORE_DISCOUNTS or AFTER_DISCOUNTS

delete_workload_estimate

Delete a workload estimate and all its usage entries

ParameterTypeDescription
identifier *stringWorkload estimate ID to delete

list_workload_estimate_usage

List usage entries for a workload estimate

ParameterTypeDescription
workload_estimate_id *stringWorkload estimate ID
max_resultsintegerMaximum number of results
next_tokenPagination 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):…

ParameterTypeDescription
filterOptional regex pattern to filter service codes
use_cachebooleanUse 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.

ParameterTypeDescription
service_code *stringAWS service code (e.g., "AmazonEC2", "AWSGlue")
filterOptional 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…

ParameterTypeDescription
attribute_name *stringAttribute name (e.g., "usageType", "operation")
service_code *stringAWS service code (e.g., "AmazonEC2", "AWSGlue")
filterRECOMMENDED: 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