Skip to content
VS Code

OpenAI Billing for VS Code

io.github.mcp-dir/openai_billing-mcp

OpenAI organization usage and cost reporting through an admin API key connected by the user.

client:VS Code transport:streamable-http tools:9

Install OpenAI Billing in VS Code

.vscode/mcp.json

{
  "servers": {
    "openai_billing-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/p_openai_billing"
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

What VS Code can do once it is connected

OpenAI Billing in other clients