
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@f3d1/llmkit-mcp-server
Advanced tools
AI cost tracking: 11 tools for spend, budgets, and Claude Code costs
AI cost tracking for Claude Code, Cline, Cursor, and Claude Desktop. 11 tools for spend queries, budgets, local session costs, and agent attribution across 11 LLM providers.
Part of LLMKit, an open-source API gateway with cost tracking and budget enforcement.
Add to your .mcp.json (Claude Code) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"llmkit": {
"command": "npx",
"args": ["@f3d1/llmkit-mcp-server"],
"env": {
"LLMKIT_API_KEY": "llmk_your_key_here"
}
}
}
}
The local tools (llmkit_local_*) work immediately with no API key. They auto-detect Claude Code, Cline, and Cursor data on your machine. For the proxy tools, create a free key at the dashboard.
| Tool | What it does |
|---|---|
llmkit_usage_stats | Spend, requests, top models for a period |
llmkit_cost_query | Costs grouped 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 keys with status and creation date |
llmkit_health | Proxy ping with response time |
Auto-detect installed AI coding tools and aggregate data from all of them.
| Tool | What it does |
|---|---|
llmkit_local_session | Current session cost across all detected tools |
llmkit_local_projects | Cumulative cost across all projects and sessions |
llmkit_local_cache | Prompt caching savings analysis |
llmkit_local_forecast | Monthly projection vs Max subscription |
llmkit_local_agents | Subagent cost attribution (Claude Code) |
Auto-log session costs when Claude Code exits:
{
"hooks": {
"SessionEnd": [
{
"type": "command",
"command": "npx @f3d1/llmkit-mcp-server --hook"
}
]
}
}
| Variable | Required | Description |
|---|---|---|
LLMKIT_API_KEY | No | API key for proxy tools. Local tools work without it. |
LLMKIT_PROXY_URL | No | Proxy URL (defaults to hosted service) |
LLMKIT_CLINE_DIR | No | Override Cline data directory path |
The local tools detect data from:
~/.claude/projects/)MIT
FAQs
AI cost tracking: 11 tools for spend, budgets, and Claude Code costs
We found that @f3d1/llmkit-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.