Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/中文
Sign inSign up
Home/Servers/Cloudscope

Cloudscope

I
by io.github.alexpota

Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y [email protected]
Credentials from the publisher
  • AZURE_SUBSCRIPTION_ID — Azure subscription ID to query for cost data. Optional; auto-detected from az login session if not set.
  • AZURE_TENANT_ID — Azure tenant ID for service principal authentication. Optional; falls back to DefaultAzureCredential (e.g. az login) if unset.
  • AZURE_CLIENT_ID — Service principal client ID. Optional; required only when using ClientSecretCredential.
  • AZURE_CLIENT_SECRET — Service principal client secret. Optional; required only when using ClientSecretCredential.
  • GOOGLE_CLOUD_PROJECT — GCP project ID. Recommended to set explicitly in the MCP client env block — may not be inherited from gcloud shell configuration.
  • GCP_BILLING_TABLE — Fully-qualified BigQuery billing export table (project.dataset.table_name). Required for GCP cost queries.
  • GCP_PROJECT_ID — Override GCP project ID if the billing dataset lives in a different project than GOOGLE_CLOUD_PROJECT.
  • GCP_BILLING_ACCOUNT_ID — GCP billing account ID (format: XXXXXX-XXXXXX-XXXXXX). Optional; needed only for budget monitoring.
  • GOOGLE_APPLICATION_CREDENTIALS — Path to GCP service account JSON key file. Optional; falls back to Application Default Credentials (gcloud auth).
Provider
Claude Code
AZURE_SUBSCRIPTION_ID=<value> AZURE_TENANT_ID=<value> AZURE_CLIENT_ID=<value> AZURE_CLIENT_SECRET=<secret> GOOGLE_CLOUD_PROJECT=<value> GCP_BILLING_TABLE=<value> GCP_PROJECT_ID=<value> GCP_BILLING_ACCOUNT_ID=<value> GOOGLE_APPLICATION_CREDENTIALS=<secret> claude mcp add io.github.alexpota-cloudscope -- npx -y [email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "io.github.alexpota-cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<value>",
        "AZURE_TENANT_ID": "<value>",
        "AZURE_CLIENT_ID": "<value>",
        "AZURE_CLIENT_SECRET": "<secret>",
        "GOOGLE_CLOUD_PROJECT": "<value>",
        "GCP_BILLING_TABLE": "<value>",
        "GCP_PROJECT_ID": "<value>",
        "GCP_BILLING_ACCOUNT_ID": "<value>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<secret>"
      }
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • Firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Questions

How do I install Cloudscope?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Cloudscope need an API key?
The publisher lists these environment variables: AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, GOOGLE_CLOUD_PROJECT, GCP_BILLING_TABLE, GCP_PROJECT_ID, GCP_BILLING_ACCOUNT_ID, GOOGLE_APPLICATION_CREDENTIALS.
What transport does Cloudscope use?
Cloudscope runs locally over stdio.
When was Cloudscope last checked?
Last checked 2026-10-16. Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.

Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.

CloudScope MCP

Ask your AI about your cloud bill.

What you get

Ask once: "Give me this month's cost review" — and CloudScope runs the full workflow (spend, deltas, anomalies, idle resources, budgets, forecast) and hands back a decision-ready report, not raw numbers to interpret yourself:

TL;DR

Month-to-date Azure spend is $4,312 (May 1–29), tracking +11% vs April. The mover is App Service (+$280) — a new staging slot left running. 2 idle resources cost $94/month; prod-budget is at 78% with 2 days left. Top action: delete the orphaned managed disk → save $63/month.

Spend This Month

ServiceCost%
Virtual Machines$2,14049.6%
App Service$89020.6%
Storage$61214.2%
Redis Cache$4109.5%
Networking$2606.0%

vs Last Month

+$427 (+11%) overall. App Service +$280 drove most of it; everything else flat. → new staging-slot-2, created May 12, never torn down.

Idle & Wasted Resources

ResourceType$/month
orphaned-osdisk-01Managed Disk$63
old-lb-ipPublic IP$31

Budget Status

prod-budget — 78% used, $4,312 / $5,500, on track (2 days left).

Recommended Actions

  1. Delete orphaned-osdisk-01 (unattached 40 days) → $63/month
  2. Tear down staging-slot-2 if staging is idle → ~$280/month
  3. Release old-lb-ip (no binding) → $31/month

Illustrative example showing the report format. Run /cloudscope:monthly-cost-review against your own subscription for live numbers.

Install

Claude CodeCursorVS Code
claude mcp add cloudscope -- npx -y cloudscope-mcpInstallInstall

Azure is auto-detected from your az login session. GCP requires BigQuery billing export setup (see below).

Supported Providers

ProviderStatus
Azure✅ Supported
GCP✅ Supported
AWSUse AWS's official server

Prerequisites

Azure

  • Azure CLI installed and logged in (az login)
  • Cost Management Reader role on the subscription

GCP

  • gcloud CLI installed and logged in (gcloud auth application-default login)
  • Billing export to BigQuery enabled — this is a one-time manual setup step, not enabled by default (the detailed export is recommended for resource-level cost queries)
  • BigQuery Data Viewer + BigQuery Job User roles on the dataset project
  • Note: BigQuery on-demand queries cost $6.25 per TiB scanned (pricing). The first 1 TiB/month is free. Billing export tables are small — typical CloudScope queries cost <$0.01 each.

Configuration

Azure (zero-config)

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"
      }
    }
  }
}
VariableDescription
AZURE_TENANT_IDAzure AD tenant ID
AZURE_CLIENT_IDApp registration client ID
AZURE_CLIENT_SECRETApp registration client secret

Set these alongside AZURE_SUBSCRIPTION_ID in the env block above.

GCP

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.

These variables apply only when using GCP; Azure-only users can skip them.

VariableDescriptionRequired
GOOGLE_CLOUD_PROJECTGCP project IDYes
GCP_BILLING_TABLEFully-qualified BigQuery table (project.dataset.table)Yes
GCP_PROJECT_IDOverride project ID if different from GOOGLE_CLOUD_PROJECTNo
GCP_BILLING_ACCOUNT_IDBilling account ID for budget monitoringNo
GOOGLE_APPLICATION_CREDENTIALSPath to service account JSON key fileNo

Both Providers

{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": ["-y", "cloudscope-mcp"],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "your-subscription-id",
        "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.

Example Questions

  • "How much did Azure cost last month?"
  • "Show GCP spending by service for the last 7 days"
  • "Any cost anomalies this week on GCP?"
  • "What will Azure cost next month?"
  • "Show me cost optimization recommendations for GCP"
  • "Compare Azure and GCP costs across all projects and subscriptions"

Security

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.

FAQ

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.

Development

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

Reference

Tools

Most tools accept a provider parameter (azure or gcp); the provider-specific tools (list_subscriptions, list_projects, and the cross-account tools get_cross_subscription_costs / get_cross_project_costs) are fixed to their own cloud. The default provider is auto-detected based on which providers are configured.

Cost Analysis

ToolDescriptionKey Parameters
get_cost_summarySpending breakdown by service, group, or regionstart_date, end_date, group_by
get_cost_by_tagCosts grouped by a tag/label keytag_key, start_date, end_date
compare_periodsSide-by-side cost comparison of two date rangesperiod_a_start/end, period_b_start/end
top_spending_resourcesMost expensive individual resourcesdays, limit
get_cross_subscription_costsCombined costs across Azure subscriptionssubscription_ids, start_date, end_date
get_cross_project_costsCombined costs across GCP projectsproject_ids, start_date, end_date

Monitoring

ToolDescriptionKey Parameters
detect_anomaliesFind spending spikes vs previous perioddays, threshold
check_budgetsBudget status, current spend, projected overage(none)
get_cost_forecastPredict spending based on current trendsdays

Optimization

ToolDescriptionKey Parameters
list_recommendationsCost optimization suggestions (Azure Advisor / GCP Recommender)category
find_idle_resourcesProvisioned but unused resources with cost estimates(none)
find_untagged_resourcesResources with no tags/labels (cost attribution gaps)(none)

Utility

ToolDescriptionKey Parameters
get_current_dateToday's date and current/previous month bounds(none)
list_subscriptionsAzure subscriptions with active indicator(none)
list_projectsGCP projects with active indicator(none)

Prompts

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.

PromptDescriptionArguments
monthly-cost-reviewComplete monthly review: spending, last-month comparison, anomalies, top resources, budgets, forecast, savings opportunitiesprovider (optional)
waste-auditFind wasted spend: top resources, optimization recommendations, at-risk budgets, total potential savingsprovider (optional)
cost-spike-investigationRoot-cause analysis for a cost increase: which services, which resources, trend vs one-time, recommended actionsdays (optional), provider (optional)
executive-summaryBrief non-technical cost summary for leadership: spend, trend, budget status, top drivers, forecast, key recommendationprovider (optional)
chargeback-reportCost allocation by tag/label key for chargeback: spending per value, untagged resources, tagged vs untagged split, month-over-monthtag_key (required), provider (optional)

License

MIT

How do I install Cloudscope?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Cloudscope need an API key?
The publisher lists these environment variables: AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, GOOGLE_CLOUD_PROJECT, GCP_BILLING_TABLE, GCP_PROJECT_ID, GCP_BILLING_ACCOUNT_ID, GOOGLE_APPLICATION_CREDENTIALS.
What transport does Cloudscope use?
Cloudscope runs locally over stdio.
When was Cloudscope last checked?
Last checked 2026-10-16. Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Pricing
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • Club
  • Work with us
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA