Skip to main content

MCP server for KubeOpt — query Kubernetes cluster costs from Claude, Cursor, or Windsurf

Project description

kubeopt-mcp

MCP server for KubeOpt — query Kubernetes cluster costs from Claude, Cursor, or Windsurf.

Setup

Add to your Claude Desktop config (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "kubeopt": {
      "command": "uvx",
      "args": ["kubeopt-mcp"],
      "env": {
        "KUBEOPT_API_URL": "https://your-kubeopt-instance.com",
        "KUBEOPT_USERNAME": "kubeopt",
        "KUBEOPT_PASSWORD": "your-password"
      }
    }
  }
}

Requires a running KubeOpt instance. See kubeopt/kubeopt to self-host.

Tools

Tool What it does
list_clusters List all monitored clusters with cost data
get_cost_summary Portfolio-level cost summary across all clusters
get_cluster_analysis Detailed analysis for a specific cluster
get_recommendations Actionable recommendations sorted by savings impact
analyze_cluster Trigger a fresh analysis and poll until complete
get_pod_costs Per-pod cost breakdown, filterable by namespace

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kubeopt_mcp-1.0.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kubeopt_mcp-1.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file kubeopt_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: kubeopt_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kubeopt_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 02844e024238b58ded44cd2cb41257f5d7ae90278a62e543be77dea4495f392c
MD5 f3247c840e7f67d21005ba1f17b6cb02
BLAKE2b-256 59538ccc27d919ad9bf74ebb97e188e54f153ddbf77bd36e71fb48481dec231c

See more details on using hashes here.

File details

Details for the file kubeopt_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kubeopt_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kubeopt_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eab73af43823b8ca5dc107384256dd255ba10d100849682919f5291375fb495a
MD5 f52325bc544a46f416fd5c4d857c7e80
BLAKE2b-256 d2530e0aae0307059c2745bd467209f9b8dab273c73ec357811982df6d0a9daa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page