OpenCost (K8s Cost) MCP Server with 6 Tools for Claude, Cursor, and AI Agents
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.
Ask AI about this server
Compatible with every major AI agent and IDE

* 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)
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


















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.
Get allocation on OpenCost (K8s Cost)
Query costs and resources allocated to Kubernetes workloads
Get assets on OpenCost (K8s Cost)
Retrieve backing cost data broken down by individual assets
Get cloud cost on OpenCost (K8s Cost)
Retrieve cloud cost data directly from cloud provider billing reports
Get custom cost timeseries on OpenCost (K8s Cost)
g., Datadog, MongoDB Atlas). Get samples of third-party service costs over time steps
Get custom cost total on OpenCost (K8s Cost)
Get summary of third-party costs over a window
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_costto 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.
More in this category

Heroku (PaaS)
10 toolsManage Heroku apps via AI — list apps, restart dynos, toggle maintenance mode, and audit config vars.

Lambda Labs (GPU Cloud)
7 toolsManage AI infrastructure via Lambda Labs — launch GPU instances, monitor ML workloads, and manage SSH keys.

Mux
11 toolsManage video assets and live streams via Mux — create assets and track performance directly from your AI agent.

Amazon EventBridge Bus
1 toolsEvent-driven architecture for AI agents — scoped event dispatching strictly limited to one EventBus for zero-trust security.
You might also like

Opsgenie
11 toolsAutomate incident management via Opsgenie — manage alerts, track on-calls, and coordinate incidents directly from any AI agent.

idloom
10 toolsManage events, attendees, and invoices via idloom.events API.

Clearbit (HubSpot)
8 toolsEnrich person and company data via Clearbit — track leads, monitor firmographics, and audit B2B intelligence directly from any AI agent.

Azure AI Search
6 toolsExecute RAG queries against Azure AI Search natively — search vectors, full-text documents, and audit cloud indexes directly from your AI agent.
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.
Hosted, sandboxed, and live on AWS. You don't provision anything. You don't maintain anything. You connect.
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.
Eight governance layers on every request. Sensitive data redacted before it reaches the model. Kill switch if anything goes sideways. Always on.
