Skip to content
Cursor

costwright — agent budget analysis for Cursor

io.github.hernaninverso/costwright-mcp

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

client:Cursor transport:stdio runtime:npm

Install costwright — agent budget analysis in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "costwright-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "costwright-mcp"
      ],
      "env": {
        "COSTWRIGHT_API_KEY": "<COSTWRIGHT_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

costwright — agent budget analysis in other clients