About Kubeledger
Kubeledger is an MCP server published by realopslabs in the Science category: system of Record for Kubernetes cost accounting: per-namespace CPU, memory and GPU usage, with the 30% non-allocatable overhead made visible. Connects to AI assistants via MCP (Claude, Gemini, Mistral, Cursor) for plain-language analysis. Formerly Kube-Opex-Analytics. Conduid read 10 tools from its source: compare_periods, describe_dataset, get_efficiency, get_efficiency_timeseries, get_namespace_breakdown, get_timeseries and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 486 stars and 56 forks, and its last commit was on 19 Aug 2026. The latest release is v26.05.0 (25 May 2026): v26.05.0 Highlights This is the first release of the 26.05.x line, headlined by the introduction of the KubeLedger MCP server: a read-only Model Context Protocol surface… It follows v26.01.1 (20 Feb 2026), and the 3 most recent releases go back to v26.01.0 (14 Feb 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include accounting, cost-optimization, finops, gpu, greenops and kubernetes.
Install
git clone https://github.com/realopslabs/kubeledgerTools (10)
compare_periods14-day aggregate vs. monthly trajectory + trend direction| Parameter | Type | Description |
|---|---|---|
| metric * | string | |
| namespace * | string |
describe_datasetCapabilities: metrics, scales, cost model, freshnessget_efficiencyAggregated `usage / requests` ratio per namespace| Parameter | Type | Description |
|---|---|---|
| metric | string | |
| namespace | string | |
| scale * | string |
get_efficiency_timeseriesHourly efficiency factor (`rf`) series| Parameter | Type | Description |
|---|---|---|
| metric * | string | |
| namespace * | string |
get_namespace_breakdownProportional breakdown + concentration + cluster overhead| Parameter | Type | Description |
|---|---|---|
| date | string | |
| exclude_system | boolean | |
| metric * | string | |
| scale * | string |
get_timeseriesHourly usage series over the last 7 days| Parameter | Type | Description |
|---|---|---|
| metric * | string | |
| namespace * | string |
get_top_consumersRanking by usage on a given date| Parameter | Type | Description |
|---|---|---|
| date | string | |
| exclude_system | boolean | |
| limit | integer | |
| metric * | string | |
| scale * | string |
get_usageUsage time series per namespace for a (metric, scale)| Parameter | Type | Description |
|---|---|---|
| exclude_special | boolean | |
| metric * | string | |
| namespace | string | |
| scale * | string |
group_namespacesAggregate namespaces matching a glob pattern| Parameter | Type | Description |
|---|---|---|
| date | string | |
| metric * | string | |
| pattern * | string | |
| scale * | string |
list_namespacesDiscovered namespaces, classified application / system / specialSecurity checks
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.5K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 6 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- Streamable HTTPmcp_server.py:2263
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 4 callsbackend.py:375, backend.py:1210, backend.py:1265
- Writes or deletes files
- 7 callsbackend.py:48, backend.py:125, backend.py:1179
- Lockfile
- uv.lock
Pattern matches on the source text of 6 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.5K words, fetched 3 days ago. The original in the repository is authoritative.
Read full README