MCP Server

11 tools for cost tracking inside your IDE. 5 work locally without an account or API key.

install

$ npx @f3d1/llmkit-mcp-server

Add to your MCP client config

.mcp.json (Claude Code) or .cursor/mcp.json (Cursor)
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": ["@f3d1/llmkit-mcp-server"]
    }
  }
}

No API key needed for local tools. Add LLMKIT_API_KEY to env for proxy tools.

Local tools no account needed

Reads Claude Code, Cursor, and Cline session data from your machine.

llmkit_local_session

Current session cost across all detected AI coding tools

llmkit_local_projects

Cumulative cost per project, ranked by spend

llmkit_local_cache

Cache savings analysis: how much prompt caching saved

llmkit_local_forecast

Monthly cost projection, compared to Claude Max subscription

llmkit_local_agents

Subagent cost attribution for the current session

Proxy tools requires API key

Queries your LLMKit proxy for spend, budgets, and sessions.

llmkit_usage_stats

Spend, requests, top models for a time period

llmkit_cost_query

Cost breakdown by provider, model, session, or day

llmkit_budget_status

Budget limits and remaining balance

llmkit_session_summary

Recent sessions with cost, duration, models

llmkit_list_keys

All API keys with status

llmkit_health

Proxy health and response time

Supported coding tools

Claude Code

Reads JSONL session files, full cost + token breakdown

Cursor

Via VS Code extension storage, all variants detected

Cline

Parses task data from saoudrizwan.claude-dev extension

Windsurf

VS Code server dirs, auto-detected alongside others

WSL

Scans WSL distros for remote VS Code server data

MIT licensed. Built with Claude Code. Source on GitHub

MCP Server - LLMKit