# Llmkit

> Llmkit is an open-source MCP server. AI cost tracking: 11 tools for spend, budgets, and Claude Code + Cursor + Cline costs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/smigolsmigol/llmkit
- **MCP Registry name:** io.github.smigolsmigol/llmkit
- **Listing updated:** 2026-11-13

## About

AI cost tracking: 11 tools for spend, budgets, and Claude Code + Cursor + Cline costs

## Install

### Claude Code (Terminal)

```sh
claude mcp add llmkit --env LLMKIT_API_KEY='<LLMKIT_API_KEY>' -- npx -y @f3d1/llmkit-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "llmkit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "llmkit": {
      "command": "npx",
      "args": [
        "-y",
        "@f3d1/llmkit-mcp-server"
      ],
      "env": {
        "LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Llmkit free?

Yes. Llmkit is open source, so you can use and self-host it for free.

### How do I add Llmkit to Claude Code?

Run this command in your terminal: claude mcp add llmkit --env LLMKIT_API_KEY='<LLMKIT_API_KEY>' -- npx -y @f3d1/llmkit-mcp-server

---
Source: https://ai-powered.com/mcp/llmkit
