A

Agent Cost

Verified Integration
Author: @spawningCategory: ServerApplication
JSON-RPC 2.0
Protocol Standard
Sub-second
Execution Latency
Active
Operational Status

Client Configuration

— Connect Agent Cost to Claude Desktop or Cursor in seconds
{
  "mcpServers": {
    "agent-cost-1": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-agent-cost-1"
      ],
      "env": {}
    }
  }
}
Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Architecture & Capabilities

System Overview

Analyzes Claude Code session logs to provide per-tool spend, daily cost trends, and optimization suggestions, all locally and without cloud services.

Indexed Date

7/21/2026

License

Open Source

Protocol Layer

stdio / SSE RPC

Frequently Asked Questions

Architecture and operational details for Agent Cost

The cost estimates closely track Claude Code's built-in `/cost` output, typically within ~5% on our test sessions. While highly accurate for analysis and trend tracking, it is not a billing source of truth and should be reconciled with your official provider statement.

Related MCP Servers

Browse all servers →
0
@configuring
0xArchive

Provides comprehensive historical and real-time crypto market data, including orderbooks, trades, candles, and more, from Hyperliquid, HIP-3, and Lighter.xyz.

MCP Server5 FAQs
Learn more
0
@spawning
0xGasless

Facilitates gasless blockchain transactions and interactions directly from Claude AI conversations.

MCP Server4 FAQs
Learn more
0
@spawning
0xGasless

Bridges Claude AI with blockchain networks, enabling gasless transactions, swaps, and transfers directly from natural language conversations.

MCP Server5 FAQs
Learn more