Feedback

@vk0/agent Cost Mcp

@vk0dev Claim

Basic information

Runtime
node
Version
2.3.3
Category
License
MIT
Transports
stdio
Author
vk0dev
Submitted by
Community

About @vk0/agent Cost Mcp Server

Local-first Claude Code cost analyzer. Parses JSONL session logs to surface per-tool spend, daily trends, and optimization hints.

@vk0/agent Cost Mcp is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by vk0dev. Supported transport: stdio. Runtime: node. License: MIT. Source code is hosted on github.com. Related topics: ai-agent, anthropic, claude, claude-code, cost-tracking.

Setup

{
    "mcpServers": {
        "agent-cost": {
            "command": "npx",
            "args": [
                "-y",
                "@vk0/agent-cost-mcp"
            ]
        }
    }
}

@vk0/agent Cost Mcp config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "agent-cost": {
            "command": "npx",
            "args": [
                "-y",
                "@vk0/agent-cost-mcp"
            ]
        }
    }
}

@vk0/agent Cost Mcp tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is @vk0/agent Cost Mcp?

Local Cost Guard and runtime guardrails for AI agents in Claude Code. It reads your local JSONL session logs to show where spend is coming from, forecast where it is heading, attribute cost by provider/model/tool, roll up subagent trees, and let operators push signed monitor-webhook alerts—all without a hosted control plane, cloud, or API key.

How to use @vk0/agent Cost Mcp?

Install by adding an npx-based MCP server to your client configuration (Claude Desktop, Claude Code CLI, Cursor, or Cline). No global install required. Once configured, ask the agent “What tools does agent-cost expose?” to see the eleven available tools. Operates on existing session logs at ~/.claude/projects/.

Key features of @vk0/agent Cost Mcp

  • Cost queries: get_session_cost, get_tool_usage, get_cost_trend, get_subagent_tree
  • Optimization analytics: get_tool_roi, suggest_optimizations, detect_cost_anomalies
  • Predictive tools: get_cost_forecast, estimate_run_cost
  • Configuration tools: configure_budget, set_monitor_webhook
  • Operates entirely locally on JSONL session logs from Claude Code
  • Privacy-preserving with zero cloud dependencies

Use cases of @vk0/agent Cost Mcp

  • Identify which tool, subagent, or branch burned the budget in a Claude Code session
  • Catch retry loops and runaway patterns before costs compound silently
  • Set budget thresholds and route monitor alerts for pre-spend guardrails
  • Attribute cost across parent/subagent session trees with get_subagent_tree
  • Detect daily cost anomalies against a local baseline

Frequently asked questions

1 What does @vk0/agent Cost Mcp do that native `/cost` does not?

Native /cost gives quick current-session totals and statusline numbers. @vk0/agent Cost Mcp provides per-tool cost share, ROI ranking, anomaly detection, cost forecasts, and agent-readable budget guardrails—all machine-readable from local JSONL logs.

2 How do I install @vk0/agent Cost Mcp?

Use npx -y @vk0/agent-cost-mcp as the command in your MCP client’s server configuration (e.g., claude_desktop_config.json, .mcp.json, or .cursor/mcp.json). No global installation needed.

3 Where does the data come from?

The tool reads session logs stored locally at ~/.claude/projects/<project>/. No data leaves your machine.

4 Is this a replacement for billing dashboards or org-wide spend tracking?

No. It is for developers and operators who want Cost Guard–style answers from local Claude Code logs, not for chargeback reporting, company-wide spend accounting, or live runtime introspection.

5 What transports and authentication are supported?

The server communicates over stdio MCP transport. No authentication or API keys are required.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬