Llmkit MCP server
io.github.smigolsmigol/llmkit·v0.4.10·15 starsAI cost tracking: 11 tools for spend, budgets, and Claude Code + Cursor + Cline costs
15 stars106 downloads/wk
Reviews
Write oneNobody has reviewed Llmkit yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Llmkit tools (11)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
llmkit_budget_statusCheck budget limits and remaining balance
llmkit_cost_queryQuery cost breakdown grouped by provider, model, session, or day
llmkit_healthCheck proxy health and response time
llmkit_list_keysList all API keys with status and creation date
llmkit_local_agentsSubagent cost attribution for the current Claude Code session. Shows which agents cost the most.
llmkit_local_cacheCache savings analysis across all detected AI coding tools. Shows how much prompt caching saved.
llmkit_local_forecastMonthly cost projection based on local AI tool usage. Compares to Max subscription.
llmkit_local_projectsCumulative cost across all projects and sessions from all detected AI coding tools, ranked by spend.
llmkit_local_sessionCurrent session cost across all detected AI coding tools (Claude Code, Cline). No API key needed.
llmkit_session_summaryGet recent proxy sessions with cost, duration, and models used
llmkit_usage_statsGet usage statistics (spend, requests, top models) for a time period
Public scan report
scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it
- Code scan25 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Llmkit compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- Tools
- 11
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 15
- more than 90% of 28,688 servers
- Downloads a week
- 106
- more than 64% of 12,191 servers with a package
What its tools let an agent do: 11 read
Install Llmkit in Claude Code, Cursor or VS Code
Runs npx -y @f3d1/llmkit-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add llmkit -- npx -y @f3d1/llmkit-mcp-server
What the publisher says
From the Llmkit repository's README, as published. We do not edit it. Read it on GitHub
Measure what your AI agents cost. Stop requests before they exceed a budget.
Website | Docs | Pricing API | Architecture | Security | Assurance case
LLMKit is an open-source AI gateway and SDK suite for cost attribution, budget admission, and request evidence. The gateway reserves estimated spend before provider dispatch. It rejects requests that cannot fit the active budget, then settles admitted reservations to actual usage when the response completes.
The repository also ships local tracking surfaces that do not require an LLMKit account or proxy.
Choose a surface
Quick start
Local Python tracking
pip install llmkit-sdkfrom llmkit import tracked
from openai import OpenAI
costs = []
client = OpenAI(http_client=tracked(on_cost=costs.append))
client.chat.completions.create(
model="gpt-4.1",
messages=[{"role": "user", "content": "Summarize this incident."}],
)
print(f"${sum(item.total_cost or 0 for item in costs):.6f}")The transport reads provider usage metadata and estimates cost from the bundled pricing catalog. It does not send tracking data to LLMKit.
Zero-code CLI tracking
npx @f3d1/llmkit-cli -- python my_agent.pyUse -v for per-request output or --json for machine-readable results.
Gateway mode (existing key)
Gateway examples require an existing LLMKit API key. Account creation and key management are temporarily unavailable while the authenticated service is restored. If you do not already have a key, use one of the local tracking paths above.
from openai import OpenAIShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Llmkit: common questions
- Is Llmkit MCP server safe?
- Mostly: it is graded B (83/100). Read the Llmkit safety report
- How do I install Llmkit?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Llmkit need an API key?
- Yes. The registry entry asks for
LLMKIT_API_KEY. - Is Llmkit maintained?
- The last commit was 5 days ago (2026-10-30). The latest release is v0.4.10.
- How does Llmkit compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); tools 11 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.