OpenCost (K8s Cost) MCP Server for Google ADKGive Google ADK instant access to 6 tools to Get Allocation, Get Assets, Get Cloud Cost, and more
Google Agent Development Kit (ADK) is Google's framework for building production AI agents. Add OpenCost (K8s Cost) as an MCP tool provider through Vinkius and your ADK agents can call every tool with full schema introspection.
Ask AI about this MCP Server for Google ADK
The OpenCost (K8s Cost) MCP Server for Google ADK is a standout in the Cloud Infrastructure category — giving your AI agent 6 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import (
StreamableHTTPConnectionParams,
)
# Your Vinkius token. get it at cloud.vinkius.com
mcp_tools = McpToolset(
connection_params=StreamableHTTPConnectionParams(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
)
)
agent = Agent(
model="gemini-2.5-pro",
name="opencost_k8s_cost_agent",
instruction=(
"You help users interact with OpenCost (K8s Cost) "
"using 6 available tools."
),
tools=[mcp_tools],
)
* 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
About OpenCost (K8s Cost) MCP Server
Connect your OpenCost instance to any AI agent to gain real-time visibility into your Kubernetes spending and infrastructure efficiency through natural language.
Google ADK natively supports OpenCost (K8s Cost) as an MCP tool provider. declare Vinkius Edge URL and the framework handles discovery, validation, and execution automatically. Combine 6 tools with Gemini's long-context reasoning for complex multi-tool workflows, with production-ready session management and evaluation built in.
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.
The OpenCost (K8s Cost) MCP Server exposes 6 tools through the Vinkius. Connect it to Google ADK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 6 OpenCost (K8s Cost) tools available for Google ADK
When Google ADK connects to OpenCost (K8s Cost) through Vinkius, your AI agent gets direct access to every tool listed below — spanning kubernetes, cost-optimization, cloud-billing, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
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
Connect OpenCost (K8s Cost) to Google ADK via MCP
Follow these steps to wire OpenCost (K8s Cost) into Google ADK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Google ADK
pip install google-adkReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenCreate the agent
Explore tools
Why Use Google ADK with the OpenCost (K8s Cost) MCP Server
Google ADK provides unique advantages when paired with OpenCost (K8s Cost) through the Model Context Protocol.
Google ADK natively supports MCP tool servers. declare a tool provider and the framework handles discovery, validation, and execution
Built on Gemini models, ADK provides long-context reasoning ideal for complex multi-tool workflows with OpenCost (K8s Cost)
Production-ready features like session management, evaluation, and deployment come built-in. not bolted on
Seamless integration with Google Cloud services means you can combine OpenCost (K8s Cost) tools with BigQuery, Vertex AI, and Cloud Functions
OpenCost (K8s Cost) + Google ADK Use Cases
Practical scenarios where Google ADK combined with the OpenCost (K8s Cost) MCP Server delivers measurable value.
Enterprise data agents: ADK agents query OpenCost (K8s Cost) and cross-reference results with internal databases for comprehensive analysis
Multi-modal workflows: combine OpenCost (K8s Cost) tool responses with Gemini's vision and language capabilities in a single agent
Automated compliance checks: schedule ADK agents to query OpenCost (K8s Cost) regularly and flag policy violations or configuration drift
Internal tool platforms: build self-service agent platforms where teams connect their own MCP servers including OpenCost (K8s Cost)
Example Prompts for OpenCost (K8s Cost) in Google ADK
Ready-to-use prompts you can give your Google ADK agent to start working with OpenCost (K8s Cost) immediately.
"Show me the cost allocation for all namespaces over the last 7 days."
"What are the backing asset costs for our nodes today?"
"Get the total summary for third-party service costs for the current month."
Troubleshooting OpenCost (K8s Cost) MCP Server with Google ADK
Common issues when connecting OpenCost (K8s Cost) to Google ADK through Vinkius, and how to resolve them.
McpToolset not found
pip install --upgrade google-adkOpenCost (K8s Cost) + Google ADK FAQ
Common questions about integrating OpenCost (K8s Cost) MCP Server with Google ADK.
How does Google ADK connect to MCP servers?
Can ADK agents use multiple MCP servers?
Which Gemini models work best with MCP tools?
Explore More MCP Servers
View all →
Docdown
10 toolsEquip your AI agent to generate documents, manage templates, and track output files via the Docdown API.

ScrapingAnt
5 toolsExtract web data reliably with rotating proxies, headless Chrome rendering, and CAPTCHA solving built into every request.

ProjectManager
11 toolsAutomate project planning and tracking via ProjectManager — manage projects, tasks, and timesheets directly from any AI agent.

Uptime.com
12 toolsMonitor website and API uptime from 30+ global locations with instant alerts when downtime hits any of your services.
