Skip to main content

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

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.1.0.tar.gz (11.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.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kubeopt_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubeopt_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 af2df861a4b7e51ed2477c66fe3d184ece4f0e95ea4a65341831be0da36a7f12
MD5 2fcdd0613f6963197c441f94bc45986c
BLAKE2b-256 1c0041eede5be09eb2ca464b1379638ca78922b9bba887b82bdff25ecea47c36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kubeopt_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubeopt_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 058c1f5d109972f1a3b6f8a50542932080f8b4d037508e953f838eb256cdde69
MD5 4dfd570b1ef24218acef9c2b6de10cef
BLAKE2b-256 e2d4bd06580fd0b4237bd562094f5278fb48f67ab77a8ab5bb8cf513b1af6473

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