Llmkit logo

Llmkit

by smigolsmigol

Tracks AI spending, monitors budgets, and inspects coding sessions through local and gateway MCP tools.

Install Llmkit

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "smigolsmigol-llmkit": {
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

smigolsmigol/llmkit MCP server exposes tools for AI spend tracking, budget monitoring, session summaries, key management, and service health. It runs through the npm MCP package over a standard stdio configuration, with local tools for Claude Code sessions and Cline task data and gateway tools that require an existing LLMKit API key. Use it when an MCP client needs cost visibility or budget data, or when you want to inspect supported local coding-session records without sending tracking data to LLMKit.

Use cases

  • Inspect Claude Code session costs locally
  • Review Cline task data in an MCP client
  • Query LLMKit spend and budget status
  • Check gateway service health
  • Review session and key information

Key features

  • Local Claude Code session inspection
  • Local Cline task inspection
  • Spend and budget queries
  • Session and API key queries
  • Gateway service health checks
  • Stdio MCP configuration

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

18/19 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @f3d1/llmkit-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars15Stargazers on the source repository.
npm downloads371Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Llmkit works

What smigolsmigol/llmkit does

The smigolsmigol/llmkit MCP server brings LLMKit cost and session data into an MCP client. It is intended for the 💻 Developer Tools category and exposes two groups of capabilities:

  • Five local tools inspect supported Claude Code sessions and Cline task data without requiring an LLMKit account or API key.
  • Six gateway tools query spend, budgets, keys, sessions, and service health when an existing key is available.

Together, the MCP package exposes 11 tools. The local surface is useful for reviewing coding activity on the machine where the client runs. The gateway surface is for account-level or service-level information, including spend analytics and budget status.

The broader LLMKit project also provides local Python tracking, a command-line wrapper, TypeScript and AI SDK packages, and an HTTP gateway. Those surfaces are separate from the MCP server, but they provide context for how cost data can be produced and managed.

How it works

The smigolsmigol/llmkit MCP server is launched as an npm package through an MCP client's stdio transport. Local tools read supported Claude Code session and Cline task data directly, so they do not need an LLMKit account or proxy.

Gateway tools communicate with the LLMKit service and are enabled when LLMKIT_API_KEY contains an existing key. The gateway's request path estimates spend before provider dispatch, rejects requests that do not fit the active budget, and settles admitted reservations against actual usage after completion. The MCP tools query the resulting spend, budget, session, key, and health information; they are not described as a replacement for the gateway or provider SDKs.

LLMKit's pricing catalog is a bundled reference snapshot rather than a live provider quote. Estimates can differ from provider invoices because billing rules, model modality, and catalog freshness remain relevant.

Setup and configuration

Add the package to an MCP client using a stdio entry such as:

config.json
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": ["-y", "@f3d1/llmkit-mcp-server"]
    }
  }
}

For local session and task inspection, this configuration does not require an LLMKit key. Gateway functionality requires an existing LLMKIT_API_KEY. The repository states that account creation and key management are temporarily unavailable while the authenticated service is being restored, so a new user without an existing key should use the local tracking paths instead.

Tools and capabilities

The smigolsmigol/llmkit MCP server supports these documented capability areas:

  • Inspect supported Claude Code sessions.
  • Inspect Cline task data.
  • Query spend and cost analytics.
  • Monitor budgets.
  • Query session information.
  • Manage or query API keys through gateway tools.
  • Check service health.

Gateway access depends on the authenticated LLMKit service, while local inspection is designed to work without an account.

Limitations and notes

The MCP package does not make the pricing catalog a live quote or guarantee invoice-level accuracy. The public comparison endpoint prices only the exact model keys supplied to it and does not select or recommend the cheapest model.

Gateway examples require a pre-existing key. Local tools have a narrower scope: they inspect supported Claude Code and Cline records rather than providing unrestricted access to all coding-session formats.

Choose smigolsmigol/llmkit when the MCP client needs documented LLMKit spend, budget, session, key, or health data. Choose the project's Python transport or CLI when the primary requirement is local request tracking around existing provider clients.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Llmkit

smigolsmigol/llmkit is an MCP server that connects MCP clients to local Claude Code sessions, Cline task data, and the LLMKit gateway. Its main tools inspect local coding records and query gateway spend, budgets, sessions, API keys, and service health. Local tools work without an LLMKit account; gateway tools require an existing API key.

Install it by adding an MCP stdio entry that runs `npx -y @f3d1/llmkit-mcp-server`. The README provides a JSON configuration using `command: "npx"` and the package as the only argument. Local tools can then inspect supported session and task data without an LLMKit key.

Yes, the server uses a standard stdio MCP configuration and the supplied setup does not specify a client-specific requirement. Configure Cursor with the documented `npx` command and package arguments. Local tools do not require an LLMKit account; gateway tools require an existing `LLMKIT_API_KEY`.

No, a key is not needed for the five local tools that inspect supported Claude Code sessions and Cline task data. The six gateway tools require an existing `LLMKIT_API_KEY`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLlmkit AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/smigolsmigol-llmkit?style=directory)](https://allmcps.com/mcp/smigolsmigol-llmkit)
HTML Embed
<a href="https://allmcps.com/mcp/smigolsmigol-llmkit"><img src="https://allmcps.com/api/badge/smigolsmigol-llmkit?style=directory" alt="Llmkit on AllMCPs" /></a>