Skip to content
FiscaLLM logo

FiscaLLM MCP server

Tracks per-user AI API costs on your backend and joins them with RevenueCat or Stripe revenue to show margin per user.

read 2026-11-28

← Back to FiscaLLM

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "fiscallm": {
      "type": "http",
      "url": "https://fiscallm.com/api/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http fiscallm https://fiscallm.com/api/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://fiscallm.com/api/mcp as a custom connector in the settings.

Tools it offers10 tools · read 2026-11-30
  • list_llm_pricesverified Nov 28, 2026

    Current list prices (USD per 1M tokens: input, cached input, output) for OpenAI, Anthropic and Google models, with announced price changes. Use it to find a model id or to compare prices.

  • get_llm_pricedescribed by the server

    Current list price of one model by id, e.g. "gpt-4o-mini" or "claude-sonnet-4-5". Includes the long-context rate and any announced change.

  • estimate_llm_costdescribed by the server

    USD cost of a call to a model from its token counts, at list price, and the total for a number of such calls.

  • compare_llm_costsdescribed by the server

    USD cost of the same call (same token counts) on each of several models, cheapest first. Use it to pick a model or to price a switch.

  • subscription_break_evendescribed by the server

    How many AI messages a month a subscriber can send before the model cost uses up what the plan earns, after the store or payment fee. Answers: does this plan price cover this model?

  • fiscallm_setup_guidedescribed by the server

    What FiscaLLM is and the ways to send it AI usage (OpenTelemetry, LiteLLM, SDK, HTTP), connect revenue, and read margins back.

  • get_margin_overviewdescribed by the server

    The app's AI cost, revenue, margin, share of revenue spent on AI, request count and daily series over a period. Needs the app's key.

  • list_users_by_marginseen, not called yet

    Each user's AI cost, revenue and margin over a period, the users losing the most money first. Needs the app's key.

  • get_plan_marginsdescribed by the server

    AI cost, revenue and margin of each plan or product over a period. Needs the app's key.

  • get_cost_breakdowndescribed by the server

    The app's AI cost over a period split by model and by feature. Needs the app's key.

How we checked it

Should an agent connect it

Not proven either way yet
  • On Nov 28, 2026 we called its read-only tools following a fixed scenario, and 1 of 1 steps returned what the check expects.
  • Checked on 3 of the 7 days it takes to judge reliability.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 3, the first on 2026-11-28
  • INITE MCP scoreafter a weeka score needs 7 daily checks: 3 so far
  • Checked by calling it1 of 1 steps passedlatest run Nov 28, 2026, read-only calls only
  • Answeredmeasuring3 of the 7 daily checks it takes to print a share
  • Median first answer136 ms
  • Space in an agent's context≈ 1,339 tokensthe definitions of all its tools (10), which an agent carries on every turn
  • Tool definitionsA · 98 of 100
  • Typed results0 of 10 toolsdeclared outputSchema: results come typed, read once
  • Parameters without a description: in 1 of 10

Worth a look

None of the five warning signs in these definitions.

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-11-30

Grade A, 96 of 100, checked 2026-11-30 · 18 of 18 checks judged · 2 failed

Full report →

When we asked itchecked 2026-11-28
  • Stateanswerschecked 2026-11-28
  • Tools10
  • Server calls itselffiscallm
  • Server version1.0.0
  • Protocol version2025-06-18

On 2026-11-28 the server answered initialize and tools/list without a sign-in. First answer in 102 ms.

Whose server it is
  • Registry nameio.github.magna56/fiscallmin the official registry, answered when asked

The server answered on fiscallm.com when the Atlas asked at the address servers are usually mounted on, so it is the vendor's own. An entry in the official MCP registry lists that same address, and gives the server its name.

OpenAPI spec

12 paths, read 2026-11-28. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.