{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.m-mustufa/ai-api-cost-mcp",
  "slug": "io.github.m-mustufa.ai-api-cost-mcp",
  "title": "AI API Cost Calculator",
  "summary": "Estimate and compare OpenAI, Claude and Gemini API costs, gross margin and break-even price.",
  "version": "0.1.0",
  "serverKey": "ai-api-cost-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.m-mustufa.ai-api-cost-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.m-mustufa.ai-api-cost-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:06:53.143770159Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ai-api-cost-mcp@0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add ai-api-cost-mcp -- npx -y ai-api-cost-mcp@0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"ai-api-cost-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"ai-api-cost-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"ai-api-cost-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"ai-api-cost-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"ai-api-cost-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"ai-api-cost-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.ai-api-cost-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"ai-api-cost-mcp@0.1.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "AI_API_COST_MCP_OFFLINE",
      "required": false,
      "secret": false,
      "description": "Set to 1 to skip the live rates download and use only the rates bundled with the package.",
      "help": "Set to 1 to skip the live rates download and use only the rates bundled with the package.",
      "placeholder": "<AI_API_COST_MCP_OFFLINE>"
    }
  ],
  "expectedTools": [
    "list_models",
    "estimate_cost",
    "compare_models"
  ],
  "agentSteps": [
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_models, estimate_cost, compare_models.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:06:53.143770159Z"
}
