Server data from the Official MCP Registry
Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.
Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.
Valid MCP server (1 strong, 0 medium validity signals). 2 code issues detected. 1 known CVE in dependencies Package registry verified. Imported from the Official MCP Registry. 2 finding(s) downgraded by scanner intelligence.
4 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: AZURE_SUBSCRIPTION_ID
Environment variable: AZURE_TENANT_ID
Environment variable: AZURE_CLIENT_ID
Environment variable: AZURE_CLIENT_SECRET
Environment variable: GOOGLE_CLOUD_PROJECT
Environment variable: GCP_BILLING_TABLE
Environment variable: GCP_BILLING_ACCOUNT_ID
Environment variable: GOOGLE_APPLICATION_CREDENTIALS
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-alexpota-cloudscope": {
"env": {
"AZURE_CLIENT_ID": "your-azure-client-id-here",
"AZURE_TENANT_ID": "your-azure-tenant-id-here",
"GCP_BILLING_TABLE": "your-gcp-billing-table-here",
"AZURE_CLIENT_SECRET": "your-azure-client-secret-here",
"GOOGLE_CLOUD_PROJECT": "your-google-cloud-project-here",
"AZURE_SUBSCRIPTION_ID": "your-azure-subscription-id-here",
"GCP_BILLING_ACCOUNT_ID": "your-gcp-billing-account-id-here",
"GOOGLE_APPLICATION_CREDENTIALS": "your-google-application-credentials-here"
},
"args": [
"-y",
"cloudscope-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Ask your AI about your cloud bill.
Azure is auto-detected from your
az loginsession. GCP requires BigQuery billing export setup (see below).
CloudScope gives AI assistants read-only access to your Azure and GCP cost data. Ask about spending, find anomalies, get optimization recommendations, and forecast next month's bill — all through natural language. Works across multiple subscriptions/projects, supports tag-based cost allocation, and includes five guided-workflow prompts for common FinOps tasks.
| Provider | Status |
|---|---|
| Azure | ✅ Supported |
| GCP | ✅ Supported |
| AWS | Use AWS's official server |
az login)gcloud auth application-default login)CloudScope auto-detects your subscription from az login. Just add the server:
{
"mcpServers": {
"cloudscope": {
"command": "npx",
"args": ["-y", "cloudscope-mcp"]
}
}
}
To target a specific subscription, add an env block:
{
"mcpServers": {
"cloudscope": {
"command": "npx",
"args": ["-y", "cloudscope-mcp"],
"env": {
"AZURE_SUBSCRIPTION_ID": "your-subscription-id"
}
}
}
}
| Variable | Description |
|---|---|
AZURE_TENANT_ID | Azure AD tenant ID |
AZURE_CLIENT_ID | App registration client ID |
AZURE_CLIENT_SECRET | App registration client secret |
Set these alongside AZURE_SUBSCRIPTION_ID in the env block above.
GCP requires a BigQuery billing export table. Find your table name in GCP Console > Billing > Billing export > BigQuery export.
{
"mcpServers": {
"cloudscope": {
"command": "npx",
"args": ["-y", "cloudscope-mcp"],
"env": {
"GOOGLE_CLOUD_PROJECT": "my-project",
"GCP_BILLING_TABLE": "my-project.my_dataset.gcp_billing_export_resource_v1_XXXXXX"
}
}
}
}
Set GOOGLE_CLOUD_PROJECT to your GCP project ID. Override with GCP_PROJECT_ID if your billing dataset lives in a different project.
| Variable | Description | Required |
|---|---|---|
GOOGLE_CLOUD_PROJECT | GCP project ID | Yes |
GCP_BILLING_TABLE | Fully-qualified BigQuery table (project.dataset.table) | Yes |
GCP_PROJECT_ID | Override project ID if different from GOOGLE_CLOUD_PROJECT | No |
GCP_BILLING_ACCOUNT_ID | Billing account ID for budget monitoring | No |
GOOGLE_APPLICATION_CREDENTIALS | Path to service account JSON key file | No |
{
"mcpServers": {
"cloudscope": {
"command": "npx",
"args": ["-y", "cloudscope-mcp"],
"env": {
"GOOGLE_CLOUD_PROJECT": "my-project",
"GCP_BILLING_TABLE": "my-project.my_dataset.gcp_billing_export_resource_v1_XXXXXX"
}
}
}
}
Azure is auto-detected from az login. Add AZURE_SUBSCRIPTION_ID to target a specific subscription.
All tools accept a provider parameter (azure or gcp). The default is auto-detected based on which providers are configured.
Cost Analysis
| Tool | Description | Key Parameters |
|---|---|---|
get_cost_summary | Spending breakdown by service, group, or region | start_date, end_date, group_by |
get_cost_by_tag | Costs grouped by a tag/label key | tag_key, start_date, end_date |
compare_periods | Side-by-side cost comparison of two date ranges | period_a_start/end, period_b_start/end |
top_spending_resources | Most expensive individual resources | days, limit |
get_cross_subscription_costs | Combined costs across Azure subscriptions | subscription_ids, start_date, end_date |
get_cross_project_costs | Combined costs across GCP projects | project_ids, start_date, end_date |
Monitoring
| Tool | Description | Key Parameters |
|---|---|---|
detect_anomalies | Find spending spikes vs previous period | days, threshold |
check_budgets | Budget status, current spend, projected overage | (none) |
get_cost_forecast | Predict spending based on current trends | days |
Optimization
| Tool | Description | Key Parameters |
|---|---|---|
list_recommendations | Cost optimization suggestions (Azure Advisor / GCP Recommender) | category |
find_idle_resources | Provisioned but unused resources with cost estimates | (none) |
find_untagged_resources | Resources with no tags/labels (cost attribution gaps) | (none) |
Utility
| Tool | Description | Key Parameters |
|---|---|---|
get_current_date | Today's date and current/previous month bounds | (none) |
list_subscriptions | Azure subscriptions with active indicator | (none) |
list_projects | GCP projects with active indicator | (none) |
Guided workflows that produce structured reports. All prompts accept an optional provider argument (azure or gcp). In Claude Code, type /cloudscope: to see all prompts. In Claude Desktop, click the + button → Connectors → cloudscope.
| Prompt | Description | Arguments |
|---|---|---|
monthly-cost-review | Complete monthly review: spending, last-month comparison, anomalies, top resources, budgets, forecast, savings opportunities | provider (optional) |
waste-audit | Find wasted spend: top resources, optimization recommendations, at-risk budgets, total potential savings | provider (optional) |
cost-spike-investigation | Root-cause analysis for a cost increase: which services, which resources, trend vs one-time, recommended actions | days (optional), provider (optional) |
executive-summary | Brief non-technical cost summary for leadership: spend, trend, budget status, top drivers, forecast, key recommendation | provider (optional) |
chargeback-report | Cost allocation by tag/label key for chargeback: spending per value, untagged resources, tagged vs untagged split, month-over-month | tag_key (required), provider (optional) |
CloudScope is read-only. It cannot create, modify, or delete any cloud resources. Azure uses Cost Management Reader permissions. GCP uses BigQuery Data Viewer + Job User with no write access.
Does this modify my cloud resources? No. Read-only access only.
Do I need a service principal? No. az login (Azure) or gcloud auth application-default login (GCP) works for local use.
Does the Azure Cost Management API cost money? No. It's free.
Do GCP BigQuery cost queries cost money? Yes, but typically <$0.01 per query ($6.25/TiB scanned, first 1 TiB/month free). See BigQuery pricing.
Can I use both Azure and GCP at the same time? Yes. Configure both sets of env vars and CloudScope queries whichever provider you specify in each tool call.
git clone https://github.com/alexpota/cloudscope-mcp.git
cd cloudscope-mcp
npm install
npm run build
npm test
npx @modelcontextprotocol/inspector node dist/index.js
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.