Skip to content
MCP server

Llmledger

Compare AI model prices and ratings, estimate costs and track price changes from chat

Runs locally

Llmledger is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
What it can do
Can change data (1 tool)
Version
0.2.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add llmledger -- uvx llmledger-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "llmledger": {
      "command": "uvx",
      "args": [
        "llmledger-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "llmledger": {
      "command": "uvx",
      "args": [
        "llmledger-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "llmledger": {
      "command": "uvx",
      "args": [
        "llmledger-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "llmledger": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "llmledger-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add llmledger -- uvx llmledger-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.llmledger]
command = "uvx"
args = ["llmledger-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "llmledger": {
      "command": "uvx",
      "args": [
        "llmledger-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user llmledger uvx -- llmledger-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "llmledger": {
          "command": "uvx",
          "args": [
            "llmledger-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Llmledger

Llmledger answers the question of which model to use and what it will cost without leaving your assistant. It draws on LiteLLM's public price catalogue, Arena ratings by task and a record of price changes since 2023, rebuilt daily. The author notes that many logged price changes were really corrections to wrong catalogue entries, and the price history tool flags those.

The server runs on your own machine through uvx with no keys and nothing to host. It caches the day's data and bundles a copy for offline use; the only network call is the daily download of the data file. Prompts and result files you hand to it are read for numbers and names only, and timed runs stay local.

Beyond lookups it can forecast a promptfoo job, price a ccusage export on other models, and weigh buying local hardware against cloud calls. It is independent of LiteLLM, BerriAI and Arena.

Tools this server provides (11)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 11 tools changes data; 9 names don't say.

From the server's own tool labels and tool names; not verified by us.

suggest_for_project
Suggest a model and effort level for a project
compare_models
Compare models for a kind of work
estimate_cost
Estimate cost for a call volume, with cache savings
find_modelsName suggests: reads
Find models by rating, price and capability
price_history
Show price changes and the likelihood of change
not_yet_priced
List new Arena models with no price yet
estimate_time
Estimate run time from your own logged runs
log_runName suggests: changes
Log a timed run or a promptfoo results file
forecast_job
Forecast cost and time of a whole job from a sample run
local_or_cloud
Compare buying local hardware with paying for cloud calls
price_my_usage
Price a usage export on other models

What it does

Model comparison
Compares models on price and Arena rating for a given kind of work.
Cost estimates
Estimates spend for a call volume, including cache read and write savings.
Price history
Shows past price changes, their likelihood to change again and likely corrections.
Usage repricing
Prices a ccusage or codeburn export against other models.
Job forecasting
Predicts cost and duration of a full promptfoo job from a small sample.
Local or cloud
Weighs buying a computer for a local model against paying for API calls.
Runs locally
Needs uv, no keys and no hosting; data is cached for a day.

Good for

  • Pick a model and effort level for a new project
  • Estimate monthly API cost for a call volume
  • Check whether a model's price recently changed
  • Find the cheapest well-rated vision model
  • Decide between running a model at home or in the cloud

Pricing

Open source

Free; data licences MIT, CC BY 4.0 and public domain

Llmledger FAQ

Does Llmledger need API keys?

No. It runs on your computer with nothing to host and no keys.

Where does the pricing data come from?

LiteLLM's price catalogue, Arena ratings, EIA electricity data and llmledger's own price history.

Is the data live?

It is rebuilt daily, and answers carry the data date and warn when it is three or more days old.

Is Llmledger financial advice?

No. The README says costs and ratings are estimates and not financial or procurement advice.

How do I add Llmledger to Claude Code?

Run this command in your terminal: claude mcp add llmledger -- uvx llmledger-mcp

What are the best alternatives to Llmledger?

The closest alternatives to Llmledger are headroom, omniget, next-ai-draw-io, mcp-for-blender and Claude Code Ultimate Guide.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers