npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cloudcost-analyzer

v1.0.0

Published

Real-time AWS, GCP, and Azure cost monitoring and optimization MCP server. Built with AI by Craftpipe

Readme

CloudCost Analyzer

Real-time multi-cloud cost monitoring and optimization for Claude

npm version License: MIT TypeScript MCP

CloudCost Analyzer is an MCP server that connects Claude directly to your AWS, GCP, and Azure billing APIs. Analyze spending patterns in real-time, detect cost anomalies, receive optimization recommendations, and generate compliance reports—all through natural conversation with Claude. Built for DevOps engineers, platform teams, and startup CTOs managing multi-cloud infrastructure costs.

Quick Start

Install and run the server:

npx -y cloudcost-analyzer

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "cloudcost-analyzer": {
      "command": "npx",
      "args": ["-y", "cloudcost-analyzer"],
      "env": {
        "PRO_LICENSE": "your-license-key-here",
        "NODE_ENV": "production",
        "AWS_ACCESS_KEY_ID": "your-aws-key",
        "AWS_SECRET_ACCESS_KEY": "your-aws-secret",
        "GCP_PROJECT_ID": "your-gcp-project",
        "GCP_CREDENTIALS": "path-to-service-account.json",
        "AZURE_SUBSCRIPTION_ID": "your-azure-subscription",
        "AZURE_CLIENT_ID": "your-azure-client-id",
        "AZURE_CLIENT_SECRET": "your-azure-secret",
        "AZURE_TENANT_ID": "your-azure-tenant"
      }
    }
  }
}

For Cursor or Windsurf, add the same configuration to your .cursor/mcp.json or .windsurf/mcp.json file.

Tools

| Tool | Description | |------|-------------| | get_spending_summary | Fetch current month spending breakdown by service, region, and resource type across all connected cloud providers | | detect_cost_anomalies | Identify unusual spending patterns and cost spikes compared to historical baselines (Pro feature) | | get_optimization_recommendations | Receive actionable suggestions for cost reduction including reserved instances, unused resources, and rightsizing | | forecast_monthly_spend | Project monthly costs for the next 3-6 months based on current trends (Pro feature) | | list_top_cost_drivers | Identify the top 10-20 resources consuming the most budget across your infrastructure | | generate_cost_report | Create detailed cost analysis reports exportable as PDF or CSV for finance and compliance teams | | set_budget_alert | Configure spending thresholds and receive notifications when budgets are exceeded (Pro feature) |

Free vs Pro

| Feature | Free | Pro | |---------|------|-----| | Current month spending analysis | ✓ | ✓ | | Top cost drivers identification | ✓ | ✓ | | Basic optimization recommendations | ✓ | ✓ | | Cost anomaly detection | ✗ | ✓ | | Advanced forecasting (3-6 months) | ✗ | ✓ | | Multi-account aggregation | ✗ | ✓ | | Real-time Slack alerts | ✗ | ✓ | | Automated optimization workflows | ✗ | ✓ | | Compliance report export | ✗ | ✓ | | Budget alerts | ✗ | ✓ | | Priority support | ✗ | ✓ |

Get Pro

Unlock advanced cost optimization and real-time monitoring with a Pro license. Visit craftpipe.dev/pricing to subscribe for €39/month.

After purchasing, set your license key in the PRO_LICENSE environment variable:

{
  "mcpServers": {
    "cloudcost-analyzer": {
      "env": {
        "PRO_LICENSE": "pro_xxxxxxxxxxxxx"
      }
    }
  }
}

Configuration

| Environment Variable | Description | Required | Default | |----------------------|-------------|----------|---------| | PRO_LICENSE | Your Pro subscription license key | No | — | | NODE_ENV | Runtime environment | No | development | | AWS_ACCESS_KEY_ID | AWS API access key | Conditional* | — | | AWS_SECRET_ACCESS_KEY | AWS API secret key | Conditional* | — | | GCP_PROJECT_ID | Google Cloud project ID | Conditional* | — | | GCP_CREDENTIALS | Path to GCP service account JSON file | Conditional* | — | | AZURE_SUBSCRIPTION_ID | Azure subscription ID | Conditional* | — | | AZURE_CLIENT_ID | Azure service principal client ID | Conditional* | — | | AZURE_CLIENT_SECRET | Azure service principal secret | Conditional* | — | | AZURE_TENANT_ID | Azure tenant ID | Conditional* | — |

*Conditional: Required only for cloud providers you wish to monitor. At least one cloud provider must be configured.

License

MIT License. See LICENSE for details.


Built with AI by Craftpipe

⭐ Pro Features

Upgrade to Pro for additional tools:

  • monitoring
  • advanced queries
  • data export

Get Procraftpipe.gumroad.com (€39/mo)

Set PRO_LICENSE=<your-key> environment variable to unlock premium tools.