MCP Hub
Back to servers

cloudscope-mcp

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

glama
Updated
Apr 7, 2026

CloudScope MCP

Ask your AI about your cloud bill.

npm version Node.js TypeScript License: MIT

Install

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

What It Does

CloudScope gives AI assistants read-only access to your Azure cost data. Ask about spending, find anomalies, get optimization recommendations, and forecast next month's bill — all through natural language.

Supported Providers

ProviderStatus
Azure✅ Supported
GCPComing soon
AWSUse AWS's official server

Prerequisites

  • Azure CLI installed and logged in (az login)
  • Your subscription ID (az account show --query id -o tsv)
  • Cost Management Reader role on the subscription

Configuration

Add to your MCP client config (claude_desktop_config.json, Cursor settings, etc.):

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

No service principal needed for local development. DefaultAzureCredential picks up your az login session automatically.

Advanced: Service Principal (CI/CD & automated environments)
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.

Tools

ToolDescriptionKey Parameters
get_cost_summarySpending breakdown by service, group, or regionstart_date, end_date, group_by
detect_anomaliesFind spending spikes vs previous perioddays, threshold
list_recommendationsAzure Advisor cost optimization suggestionscategory
get_cost_forecastPredict spending based on current trendsdays
check_budgetsBudget status, current spend, projected overage(none)
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_current_dateToday's date and current/previous month bounds(none)

Example Prompts

  • "How much did Azure cost last month?"
  • "Show spending by resource group for the last 7 days"
  • "Any cost anomalies this week?"
  • "What will Azure cost next month?"
  • "Show me cost optimization recommendations"
  • "Which services had the biggest spend increase?"

Security

CloudScope is read-only. It cannot create, modify, or delete any Azure resources. All API calls use Cost Management Reader permissions with no write access.

FAQ

Does this modify my Azure resources? No. Read-only access only.

Do I need a service principal? No. az login works for local use.

What about GCP? Coming soon.

Does the Azure Cost Management API cost money? No. It's free.

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

License

MIT

Reviews

No reviews yet

Sign in to write a review