Skip to content

Commit 040bf7f

Browse files
somsubhrosomsubhrkrokoko
authored
feat(bcm-pricing-calculator): Add Billing and Cost Management Pricing Calculator workload estimate insights (#1486)
Co-authored-by: Som Chatterjee🤖 <[email protected]> Co-authored-by: Alain Krok <[email protected]>
1 parent ef1c288 commit 040bf7f

File tree

6 files changed

+2819
-2
lines changed

6 files changed

+2819
-2
lines changed

src/billing-cost-management-mcp-server/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ MCP server for accessing AWS Billing and Cost Management capabilities.
3939
- **Multi-account analysis**: Analyze costs across multiple linked accounts
4040
- **Cost driver identification**: Identify key factors driving cost changes
4141

42+
### AWS Billing and Cost Management Pricing Calculator
43+
44+
- **Workload estimate insights**: Query workload estimates to see what usage you have estimated
45+
4246
### Specialized Cost Optimization Prompts
4347

4448
- **Graviton migration analysis**: Guided analysis to identify EC2 instances suitable for AWS Graviton migration
@@ -219,6 +223,12 @@ AWS Pricing:
219223
AWS Free Tier:
220224
- freetier:GetFreeTierUsage
221225

226+
AWS Billing and Cost Management Pricing Calculator:
227+
- bcm-pricing-calculator:GetPreferences
228+
- bcm-pricing-calculator:GetWorkloadEstimate
229+
- bcm-pricing-calculator:ListWorkloadEstimateUsage
230+
- bcm-pricing-calculator:ListWorkloadEstimates
231+
222232
Storage Lens (Athena and S3):
223233
- athena:StartQueryExecution
224234
- athena:GetQueryExecution
@@ -306,5 +316,11 @@ The server currently supports the following AWS services
306316
- get_idle_recommendations
307317
- get_enrollment_status
308318

309-
7. **S3 Storage Lens**
319+
7. **Pricing Calculator**
320+
- get-preferences
321+
- get-workload-estimate
322+
- list-workload-estimate-usage
323+
- list-workload-estimates
324+
325+
8. **S3 Storage Lens**
310326
- storage_lens_run_query (custom implementation using Athena)

src/billing-cost-management-mcp-server/awslabs/billing_cost_management_mcp_server/server.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
sys.path.insert(0, parent_dir)
3131

3232
from awslabs.billing_cost_management_mcp_server.tools.aws_pricing_tools import aws_pricing_server
33+
from awslabs.billing_cost_management_mcp_server.tools.bcm_pricing_calculator_tools import (
34+
bcm_pricing_calculator_server,
35+
)
3336
from awslabs.billing_cost_management_mcp_server.tools.budget_tools import budget_server
3437
from awslabs.billing_cost_management_mcp_server.tools.compute_optimizer_tools import (
3538
compute_optimizer_server,
@@ -86,6 +89,7 @@
8689
- storage-lens: Query S3 Storage Lens metrics data using Athena SQL
8790
- athena-cur: Query Cost and Usage Report data through Athena
8891
- pricing: Access AWS service pricing information
92+
- bcm-pricing-calc: Work with workload estimates from AWS Billing and Cost Management Pricing Calculator
8993
- budget: Retrieve AWS budget information
9094
- cost-anomaly: Identify cost anomalies in AWS accounts
9195
- cost-comparison: Compare costs between time periods
@@ -137,6 +141,7 @@ async def setup():
137141
await mcp.import_server(cost_optimization_hub_server)
138142
await mcp.import_server(storage_lens_server)
139143
await mcp.import_server(aws_pricing_server)
144+
await mcp.import_server(bcm_pricing_calculator_server)
140145
await mcp.import_server(budget_server)
141146
await mcp.import_server(cost_anomaly_server)
142147
await mcp.import_server(cost_comparison_server)
@@ -157,6 +162,7 @@ async def setup():
157162
'cost-optimization',
158163
'storage-lens',
159164
'pricing',
165+
'bcm-pricing-calc',
160166
'budget',
161167
'cost-anomaly',
162168
'cost-comparison',

0 commit comments

Comments
 (0)