Skip to content
Grok

costwright — agent budget analysis for Grok

io.github.hernaninverso/costwright-mcp

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

client:Grok transport:stdio runtime:npm

Install costwright — agent budget analysis in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

costwright — agent budget analysis in other clients