Milo MCP Server

MCP server that predicts your monthly LLM spend from local Claude Code / Cursor / Codex logs. Forecasts end-of-month $, ranks spike drivers, warns

Local serverstdioPython

What is the Milo MCP server?

Most monitoring and observability work still happens through a UI a human drives. Milo MCP server moves it into the conversation instead. MCP server that predicts your monthly LLM spend from local Claude Code / Cursor / Codex logs. Forecasts end-of-month $, ranks spike drivers, warns before budget breach. Free tier + paid tier ($19/mo), MIT licensed.

The short version

Install it in Claude Code, Cursor, Continue, or any MCP-aware editor. Three free tools, one paid tool, zero phone-home.

Getting it running

Installation goes through your MCP client rather than a global install: point it at milo-usage-forecaster on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: MILO_USAGE_FORECASTER_PRO_KEY, MILO_USAGE_FORECASTER_HMAC_KEY, HMAC_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes.

This entry was verified against Milo's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Milo MCP server

{
  "mcpServers": {
    "milo-usage-forecaster": {
      "command": "mcp-usage-forecaster",
      "env": {
        "MILO_USAGE_FORECASTER_PRO_KEY": ""
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MILO_USAGE_FORECASTER_PRO_KEYCredential the server authenticates with.Yes
MILO_USAGE_FORECASTER_HMAC_KEYCredential the server authenticates with.Yes
HMAC_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Milo to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Milo directly.