# OpenAI Billing [Health: Active]

**Category:** 🗣️ Conversational AI  
**Repository:** https://github.com/mcp-dir/openai_billing-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/openai-billing

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

## Tools
Capabilities this server exposes over MCP:

- **openai_billing_list_accounts** — List OpenAI Billing admin API connections linked to this install.
- **openai_billing_usage** — Get normalized OpenAI organization usage for completions, embeddings, images, audio, vector stores, or code interpreter sessions.
- **openai_billing_cost** — Get normalized OpenAI organization costs for a date range. Returns compact totals and daily costs.
- **show_version** — Show the current MCP platform and adapter versions.
- **report_bug** — Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
- **connect** — Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
- **toolkit_info** — Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
- **marketplace** — The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
- **authenticate** — MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "openai-billing": {
    "url": "https://api.mcp.ai/p_openai_billing"
  }
}
```

## Documentation

## What OpenAI Billing MCP server does

The OpenAI Billing MCP server gives AI agents access to read-only reporting for an OpenAI organization. It returns normalized usage and cost data rather than changing settings, billing records, or other data in the OpenAI account.

The server exposes three tools. One lists the OpenAI Billing admin API connections associated with the installation. Another retrieves organization usage for supported categories, including completions, embeddings, images, audio, vector stores, and code interpreter sessions. The third returns organization costs for a selected date range.

Typical requests include showing costs for the last 30 days, grouping completion usage by day, or comparing embedding and completion usage.

## How it works

The OpenAI Billing MCP server is hosted at `https://api.mcp.ai/p_openai_billing` and communicates with clients over MCP over HTTP. A user connects an OpenAI organization through an admin API key.

After the connection is available, an MCP client can call the reporting tools and pass the relevant usage category or date range. Results are returned to the selected LLM host, such as Claude, ChatGPT, Cursor, or another compatible agent environment.

## Setup and configuration

To use the OpenAI Billing MCP server, add the hosted URL to an MCP client that supports MCP over HTTP:

```text
https://api.mcp.ai/p_openai_billing
```

The README provides direct installation links for Claude Web and Desktop, Cursor, and VS Code with Copilot Chat. It also states that ChatGPT, Manus, OpenClaw, and other MCP over HTTP clients can connect using the same URL. Claude Desktop, Cursor, VS Code, Cline, and Continue are listed as supported clients.

The available setup flow uses a magic link rather than a password. The user supplies an OpenAI organization admin API key through the connection process. No local environment variables or self-hosted runtime configuration are documented for the hosted endpoint.

## Tools and capabilities

The server provides these three tools:

- `openai_billing_list_accounts`: Lists OpenAI Billing admin API connections linked to the installation.
- `openai_billing_usage`: Retrieves normalized organization usage for completions, embeddings, images, audio, vector stores, or code interpreter sessions.
- `openai_billing_cost`: Retrieves normalized organization costs for a specified date range.

These capabilities support reporting and comparisons across supported OpenAI usage categories. They do not provide write operations.

## Limitations and notes

The OpenAI Billing MCP server is read-only. Its tools do not modify source data. The hosted MCP server is proprietary; the public repository contains the wrapper, manifests, documentation, and agent skills under the MIT license.

Data returned by the tools is sent to the LLM host selected by the user. The README identifies that host as a subprocesser outside the project’s control and recommends considering plans with training opt-outs. The listed service is free. Support is available through the project email, GitHub Issues, and the repository documentation.

_Full upstream README: https://allmcps.com/mcp/openai-billing/readme_

