4,000+ servers built on vurb.ts
Vinkius
OpenCost (K8s Cost)

OpenCost (K8s Cost) MCP Server with 6 Tools for Claude, Cursor, and AI Agents

MCP Inspector GDPR Free for Subscribers

Monitor and analyze Kubernetes infrastructure costs — query workload allocations, backing assets, and cloud billing directly from your AI agent. Vinkius routes your AI agents directly to OpenCost (K8s Cost) through a governed connection. 6 tools ready to use with Claude, ChatGPT, Cursor, or any AI agent — no hosting, no setup, connect in 30 seconds.

Built for AI Agents by Vinkius

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
AI AgentVinkius
High Security·Kill Switch·Plug and Play
OpenCost (K8s Cost)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

What is the OpenCost MCP Server?

The OpenCost MCP Server routes AI agents like Claude, ChatGPT, and Cursor directly to OpenCost via 6 tools. Monitor and analyze Kubernetes infrastructure costs — query workload allocations, backing assets, and cloud billing directly from your AI agent. Powered by Vinkius — your credentials stay on your side of the connection, every request is auditable. Connect in under 2 minutes.

Built-in capabilities (6)

get_allocationget_assetsget_cloud_costget_custom_cost_timeseriesget_custom_cost_totalset_log_level

Tools for your AI Agents to operate OpenCost

Ask your AI agent "Show me the cost allocation for all namespaces over the last 7 days." and get the answer without opening a single dashboard. With 6 tools connected to real OpenCost data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.

Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by Vinkius — your credentials never touch the AI model, every request is auditable. Connect in under two minutes.

Why teams choose Vinkius

One subscription gives you the infrastructure to connect your AI agents to thousands of MCP servers — and deploy your own to the Vinkius Edge. Your credentials stay yours. Your data flows directly between your agent and the API. DLP blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade routing and governance, zero maintenance.

Build your own MCP Server with our secure development framework →

The OpenCost (K8s Cost) App Connector works with every AI agent you already use

…and any MCP-compatible client

CursorClaudeOpenAIVS CodeCopilotGoogleLovableMistralAWSCursorClaudeOpenAIVS CodeCopilotGoogleLovableMistralAWS

Use all 6 OpenCost (K8s Cost) tools with your AI agents right now

Vinkius routes your AI agents to OpenCost (K8s Cost) through a governed proxy. Beyond a simple connection, you get full visibility into every action your agents perform, with enterprise-grade security and up to 60% savings on AI costs.

Explore Tools Hub
get

Get allocation on OpenCost (K8s Cost)

Query costs and resources allocated to Kubernetes workloads

get

Get assets on OpenCost (K8s Cost)

Retrieve backing cost data broken down by individual assets

get

Get cloud cost on OpenCost (K8s Cost)

Retrieve cloud cost data directly from cloud provider billing reports

get

Get custom cost timeseries on OpenCost (K8s Cost)

g., Datadog, MongoDB Atlas). Get samples of third-party service costs over time steps

get

Get custom cost total on OpenCost (K8s Cost)

Get summary of third-party costs over a window

set

Set log level on OpenCost (K8s Cost)

Change OpenCost log level at runtime

What the OpenCost (K8s Cost) MCP Server unlocks

Connect your OpenCost instance to any AI agent to gain real-time visibility into your Kubernetes spending and infrastructure efficiency through natural language.

What you can do

  • Workload Allocation — Query costs and resources allocated to clusters, nodes, namespaces, controllers, and pods using get_allocation.
  • Asset Inspection — Retrieve backing cost data for physical infrastructure like Nodes, Disks, and Load Balancers via get_assets.
  • Cloud Billing Integration — Access AWS CUR, Azure Export, and GCP Billing data directly with get_cloud_cost to reconcile K8s costs with provider bills.
  • Third-Party Costs — Track external service expenses (e.g., Datadog, MongoDB Atlas) using custom cost timeseries and total summary tools.
  • Granular Filtering — Aggregate data by labels, annotations, or service levels to understand exactly where your budget is going.

How it works

1. Subscribe to this server
2. Enter your OpenCost API Base URL
3. Start auditing your cloud spend from Claude, Cursor, or any MCP client

Who is this for?

  • DevOps & Platform Engineers — Identify expensive namespaces or orphaned resources without manual dashboard diving.
  • FinOps Teams — Reconcile internal Kubernetes allocations with external cloud provider billing reports instantly.
  • Engineering Managers — Get quick summaries of project-based costs to stay within budget during development cycles.

Frequently asked questions about the OpenCost (K8s Cost) MCP Server

Can I see costs grouped by a specific Kubernetes namespace?

Yes. Use the get_allocation tool and set the aggregate parameter to 'namespace'. You can also specify a window like '7d' to see trends over the last week.

Does this server support viewing external cloud provider billing?

Absolutely. The get_cloud_cost tool retrieves data directly from cloud provider billing reports (AWS CUR, Azure Export, GCP Billing) to give you a complete financial picture.

Can I track costs for non-Kubernetes services like Datadog?

Yes, if configured in your OpenCost instance, you can use get_custom_cost_total or get_custom_cost_timeseries to query costs for third-party SaaS and infrastructure services.

Vinkius AI Gateway

We built the connector to OpenCost (K8s Cost). Now put your agents to work. Fully governed.

Vinkius is the AI Gateway with managed hosting. Stop building connectors. Every connection runs inside eight layers of security.

How it works
Infrastructure

Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.

Visibility

Every tool call, every token, every response. Logged and auditable. Data flows direct from OpenCost (K8s Cost) to your agent. Nothing is stored on our side. Ever.

Control

Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.