multicloud-costopti-mcp
A production-ready Model Context Protocol (MCP) server providing unified cost optimization visibility across AWS, Azure, and GCP. Designed for AI agents and Claude Desktop.
43 cost optimization tools spanning cost visibility, rightsizing, waste detection, reserved capacity planning, and savings recommendations — all exposed through a single MCP server, built on the FinOps Framework's Inform/Optimize/Operate principles.
Install
# pip
pip install multicloud-costopti-mcp
# uv
uv pip install multicloud-costopti-mcp
# pipx (isolated global install)
pipx install multicloud-costopti-mcp
Prerequisite: Node.js 18+ must be available on PATH. Install from nodejs.org if needed.
Quick Start
# Run the MCP server
multicloud-costopti-mcp
# Or via python module
python -m multicloud_costopti_mcp
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Using pip installation
{
"mcpServers": {
"multicloud-costopti": {
"command": "multicloud-costopti-mcp",
"env": {
"AWS_PROFILE": "cost-reader",
"AZURE_CLIENT_ID": "your-app-id",
"AZURE_CLIENT_SECRET": "your-secret",
"AZURE_TENANT_ID": "your-tenant",
"AZURE_SUBSCRIPTION_ID": "your-sub",
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/sa.json",
"GCP_PROJECT_ID": "your-project"
}
}
}
}
Using uvx (no install needed)
{
"mcpServers": {
"multicloud-costopti": {
"command": "uvx",
"args": ["multicloud-costopti-mcp"],
"env": {
"AWS_PROFILE": "cost-reader"
}
}
}
}
What's Included
AWS (13 tools)
Cost Explorer, Rightsizing, Savings Plans, Reserved Instances, Unused Resources, S3 Optimization, Lambda Optimization, RDS Optimization, EBS Optimization, Compute Optimizer, Trusted Advisor, Cost Anomalies, Data Transfer
Azure (12 tools)
Cost Analysis, Advisor Recommendations, VM Rightsizing, Unused Resources, Storage Optimization, SQL Optimization, AKS Optimization, Reserved Instances, App Service Optimization, Cosmos DB Optimization, Hybrid Benefit, Budget Alerts
GCP (12 tools)
Billing Analysis, Recommender Insights, VM Rightsizing, Committed Use Discounts, Unused Resources, Storage Optimization, BigQuery Optimization, GKE Optimization, Cloud SQL Optimization, Network Cost Optimization, Label Coverage, Billing Budget Alerts
Cross-Cloud (6 tools)
Cost Dashboard, Optimization Recommendations, Unused Resources, Budget Forecast, Cost Allocation / Tag Audit, Connectivity Validation
Cloud Authentication
Set environment variables for each cloud you want to use:
# AWS
export AWS_PROFILE=cost-reader
export AWS_DEFAULT_REGION=us-east-1
# Azure
export AZURE_CLIENT_ID=...
export AZURE_CLIENT_SECRET=...
export AZURE_TENANT_ID=...
export AZURE_SUBSCRIPTION_ID=...
# GCP
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
export GCP_PROJECT_ID=your-project-id
export GCP_BILLING_ACCOUNT_ID=XXXXXX-XXXXXX-XXXXXX
Example Prompts
- "Show me my AWS cost breakdown for the last 30 days"
- "Find all unused resources across my AWS and Azure accounts"
- "What are my top rightsizing opportunities for EC2 instances?"
- "Should I purchase Savings Plans or Reserved Instances for my EC2 workloads?"
- "Give me a full FinOps health check across all my cloud accounts"
Also Available via npm
npx multicloud-costopti-mcp
# or
npm install -g multicloud-costopti-mcp
License
MIT
Metadata
Release files for multicloud-costopti-mcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| multicloud_costopti_mcp-1.0.0.tar.gz | 4.9 kB | Without provenance | Details for multicloud_costopti_mcp-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multicloud_costopti_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for multicloud_costopti_mcp-1.0.0-py3-none-any.whl |
Total release size: 10.3 kB
Release files / multicloud_costopti_mcp-1.0.0.tar.gz
| Download URL | multicloud_costopti_mcp-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8b5cd051747a392d8d926162b9a770d4a2df199930d7d9e7c66c6f10d183e68
|
|
BLAKE2b-256 checksum How to use checksums |
9980b6174398b5730520366ce14c6f32ca37bc96a10cf63ff3945cfc765cbc54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / multicloud_costopti_mcp-1.0.0-py3-none-any.whl
| Download URL | multicloud_costopti_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad310e0278c0462ae929c346e79b39824d12f0129d467fb77a03da82994e934c
|
|
BLAKE2b-256 checksum How to use checksums |
095a096c4ceae9dcb87c81cf35fef20635846f41a016c51dc0b2fd34b8fd9f41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for multicloud-costopti-mcp 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.