Gemini Cost Simulator

v1.0.0
io.github.gowinder/geminicost Checked 2 hours ago Published 14 days ago

Gemini 4 agent-run cost simulator over MCP: true per-turn totals vs naive estimates.

Remote (hosted) discovery passed

Run in a terminal
claude mcp add --transport http geminicost https://geminicost.craftstead.app/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "geminicost": {
      "args": [
        "-y",
        "mcp-remote",
        "https://geminicost.craftstead.app/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "geminicost": {
      "url": "https://geminicost.craftstead.app/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "geminicost": {
      "type": "http",
      "url": "https://geminicost.craftstead.app/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.geminicost]
command = "npx"
args = ["-y", "mcp-remote", "https://geminicost.craftstead.app/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: estimate_agent_run, get_gemini_pricing.
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json