Costwright — Agent Budget Analysis MCP Server

Static worst-case token-budget analysis for LLM-agent workflows + signed budget certificates.

Remote serverstreamable-httpPython

What is the Costwright — Agent Budget Analysis MCP server?

Most AI and media services work still happens through a UI a human drives. Costwright — Agent Budget Analysis MCP server moves it into the conversation instead. Static worst-case token-budget analysis for LLM-agent workflows + signed budget certificates.

The short version

The key is sent as X-RapidAPI-Key (RapidAPI channel) by default; set COSTWRIGHT_DIRECT=1 to send it as Authorization: Bearer for the direct channel. verify and pubkey work with no key.

What it needs from you

Configuration is passed through the environment: COSTWRIGHT_API_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.

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

How it compares

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by hernaninverso; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • 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 to install the Costwright — Agent Budget Analysis MCP server

{
  "mcpServers": {
    "costwright": {
      "command": "npx",
      "args": ["-y", "costwright-mcp"],
      "env": { "COSTWRIGHT_API_KEY": "your_rapidapi_key" }
    }
  }
}

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

Configuration

VariableDescriptionRequired
COSTWRIGHT_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

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