Skip to content
Grok

AI-Cost-CLI for Grok

io.github.ufhouck/aicost-cli

AI API cost calculator, recommender & MCP server. 29 models across text/image/video/audio.

client:Grok transport:stdio runtime:pypi

Install AI-Cost-CLI in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "aicost-cli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "aicost-cli"
      ]
    }
  }
}

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

AI-Cost-CLI in other clients