MCP.so
Sign In
C

CloudScope MCP

@alexpota

About CloudScope MCP

Cloud cost management MCP server for Azure. Ask your AI about your cloud bill.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "your-subscription-id"
      }
    }
  }
}

Tools

15

Returns a cost breakdown for a date range grouped by service, resource group, tag, or region. Defaults to current month if dates are omitted. Output includes a sorted table with each group name, cost in USD, and percentage of total. Includes a total row, daily average, and collapses groups beyond the top 10 into an "Other" row. Returns an error if the date range is invalid. Use this when the user asks "how much am I spending", "what costs the most", "show me my cloud bill", or wants a spending overview.

Compares daily spending over the last N days against the prior N days to find cost spikes. Returns a list of services where spending increased above the threshold percentage, sorted by increase amount. Each entry includes service name, previous cost, current cost, percentage change, and absolute change in USD. Returns an empty list if no anomalies found. Use this when the user asks about unexpected cost increases, billing surprises, or wants to know if anything changed recently.

Fetches cost-saving recommendations filtered by category. Returns a list of recommendations each containing: title, category, impact level (high/medium/low), estimated annual savings in USD, affected resource ID, and a short description of the suggested action. Returns an empty list if no recommendations exist for the selected category. Use this when the user wants to reduce costs, find waste, or optimize resource usage.

Projects future cloud spending for the next N days using a linear trend based on the last 30 days of actual costs. Returns the forecast period dates, projected total cost in USD, average daily projected cost, and the confidence basis (number of historical days used). Use this when the user asks "how much will I spend this month", wants to predict upcoming bills, or needs to plan budgets. Returns an error if insufficient historical data exists.

Check budget status: current spend vs limit, percentage used, forecast, and overage risk. For GCP, requires GCP_BILLING_ACCOUNT_ID to be set.

Compare costs between two date ranges, showing per-service absolute and percentage changes.

Find the N most expensive individual resources over a time period. On GCP, requires the detailed billing export for resource-level data.

Breaks down costs by a specific tag or label key such as team, environment, or project. Returns a sorted table with each tag value, cost in USD, and percentage of total. Includes a total row and daily average. Returns an error if the date range is invalid or no tagged costs exist. Use this when the user asks about costs per team, per environment, cost allocation, chargeback, or wants to understand spending by any custom tag or label.

Finds cloud resources that are provisioned but not actively used — unattached disks, orphaned network interfaces, unused IPs, idle VMs, and empty compute plans. Returns each resource with its name, type, resource group/project, reason it is idle, and estimated monthly cost in USD. Returns an empty list if no idle resources are found. Use this when the user asks about waste, idle or unused resources, cleanup opportunities, or wants to find resources to delete to reduce costs.

Finds resources that have no tags or labels applied. Returns each resource with its name, type, resource group/project, and location. Untagged resources cannot be attributed to teams or projects, making cost allocation and chargeback impossible. Returns an empty list if all resources are tagged. Use this when the user asks about tagging compliance, governance, cost attribution gaps, or wants to identify resources that need tags or labels.

Returns today's date and the start/end of current and previous months in YYYY-MM-DD format

Returns a combined cost breakdown across multiple Azure subscriptions sorted by total spend. Each subscription shows its name, total cost in USD, and percentage of the combined total. Handles partial failures gracefully — if some subscriptions are inaccessible, returns results for the rest with a warning. Use this when the user asks about costs across all subscriptions, wants to compare subscription spending, or needs an organization-wide cost overview.

Returns all Azure subscriptions the current credential can access, with name, ID, and state. Shows which subscription is currently active. Use this when the user has multiple subscriptions and wants to see which ones are available, or to confirm which subscription is being queried.

Returns all GCP projects the current credential can access, with name, ID, and state. Shows which project is currently active. Use this when the user has multiple GCP projects and wants to see which ones are available, or before calling get_cross_project_costs.

Returns a combined cost breakdown across multiple GCP projects sorted by total spend. Each project shows its name, total cost in USD, and percentage of the combined total. Use this when the user asks about costs across all GCP projects, wants to compare project spending, or needs an organization-wide cost overview.

Overview

What is CloudScope MCP?

CloudScope MCP is a Model Context Protocol server that gives AI assistants read-only access to Azure and GCP cost data. It is designed for cloud users and FinOps practitioners who want to ask natural language questions about their cloud bills.

How to use CloudScope MCP?

Install by adding the server to your MCP configuration using npx -y cloudscope-mcp. Azure authentication is auto-detected from az login; GCP requires setting up BigQuery billing export and providing the GOOGLE_CLOUD_PROJECT and GCP_BILLING_TABLE environment variables.

Key features of CloudScope MCP

  • Read-only access to Azure and GCP cost data
  • Cost analysis tools (spending breakdowns, tags, comparisons)
  • Anomaly detection, budget monitoring, and cost forecasting
  • Optimization recommendations and idle resource discovery
  • Five guided workflow prompts for common FinOps tasks
  • Works across multiple subscriptions and projects

Use cases of CloudScope MCP

  • Ask "How much did Azure cost last month?" for a quick summary
  • Detect cost anomalies and spikes across services
  • Get cost optimization recommendations from Azure Advisor and GCP Recommender
  • Generate an executive summary for leadership on cloud spend
  • Perform chargeback reporting by tagging resources

FAQ from CloudScope MCP

Does CloudScope MCP modify my cloud resources?

No. CloudScope MCP is read-only and cannot create, modify, or delete any cloud resources.

Do I need a service principal for Azure?

No. A local az login session works; service principals are optional for CI/CD environments.

Does the Azure Cost Management API cost money?

No. The Azure Cost Management API is free to use.

Do GCP BigQuery cost queries incur charges?

Yes, but typically less than $0.01 per query ($6.25 per TiB scanned, first 1 TiB/month free).

Can I use both Azure and GCP with CloudScope MCP?

Yes. Both providers are supported simultaneously; just configure the required GCP environment variables alongside your Azure login.

Frequently asked questions

Does CloudScope MCP modify my cloud resources?

No. CloudScope MCP is read-only and cannot create, modify, or delete any cloud resources.

Do I need a service principal for Azure?

No. A local `az login` session works; service principals are optional for CI/CD environments.

Does the Azure Cost Management API cost money?

No. The Azure Cost Management API is free to use.

Do GCP BigQuery cost queries incur charges?

Yes, but typically less than $0.01 per query ($6.25 per TiB scanned, first 1 TiB/month free).

Can I use both Azure and GCP with CloudScope MCP?

Yes. Both providers are supported simultaneously; just configure the required GCP environment variables alongside your Azure login.

Comments

More Other MCP servers