# MartLLM
> MartLLM (formerly UberLLM) is a pay-as-you-go marketplace API for AI models: one API key works with the OpenAI and Anthropic SDKs and reaches text, image, video, music and speech models from many providers, where sellers compete on price. Its MCP server at https://api.martllm.com/mcp (Streamable HTTP) lets an agent use the media side of that catalog without writing HTTP calls. It is listed in the official MCP Registry as dev.uberllm/mcp.

The 12 tools list models with their prices, read one model's price and request options, and quote what an image, video, music or text-to-speech request would cost without spending. Spending tools generate and edit images, start videos and music tracks as jobs (get_job and wait_job follow them until they finish), and every spending call accepts max_cost to refuse anything that could cost more. Other tools show the account balance, list brand kits that keep the same character, product or look across models, and list files kept in the account's library.

Tool calls are billed, limited and refused exactly like the same API request, and failed requests and jobs cost nothing. Agent keys can have their own allowance and a per-call limit, with calls above a set amount waiting for approval. A separate public endpoint, https://api.martllm.com/mcp/public, needs no key and offers only list_models, get_model and quote. Chat completions go through the regular /v1 API, not the MCP server.
Canonical: https://www.mcpfolio.com/servers/martllm
## Catalog record

- Publisher: MartLLM, Inc.
- Categories: development, productivity

## Website

https://martllm.com/?utm_source=mcpfolio.com&utm_medium=referral&utm_campaign=mcp_listing_md&utm_content=martllm&ref=mcpfolio.com

## Repository

https://github.com/al-global-tech/martllm

## Transports

streamable-http

## Authentication

MartLLM API key (ull_…) sent as Authorization: Bearer. Listing tools needs no key; every tool call needs one and is answered 401 without it. A no-key endpoint at https://api.martllm.com/mcp/public offers list_models, get_model and quote only.

## Tools

### balance

Your balance in US dollars: what you can spend now and what is held for requests and jobs still running.

Input schema is not included in the available catalog record.

### edit_image

Change a picture you give (image_url or input_images, as https:// links or data: URIs) following a prompt, with an editing model. Spends from your balance.

Input parameters: model, prompt, n, size, aspect_ratio, max_cost, return_image, kit, options, image_url, input_images

### generate_image

Make pictures from a prompt. Spends from your balance; the answer carries the links and what it cost (usage.cost_usd).

Input parameters: model, prompt, n, size, aspect_ratio, max_cost, return_image, kit, options

### get_job

The status of a video or music job, its progress and, once it succeeded, the links to its files and what it cost.

Input parameters: job_id

### get_model

One model: its price, what it makes and, for an image, video, music or speech model, a JSON Schema of the options a request takes (parameters).

Input parameters: model

### list_kits

Your brand kits: named sets of reference pictures (faces, products), style notes and a voice. Pass a kit's id or name as kit to generate_image, edit_image, start_video or start_music to keep the same character, product or look across models. Make and edit kits at https://martllm.com/dashboard/kits.

Input schema is not included in the available catalog record.

### list_library

Files kept in your library (pictures, videos and audio you made, when the account keeps a library), newest first. Filter by kind (image, video, audio), model, project id or none, and pass next_cursor to page. Each file has a download link that works for an hour; a picture's id (file_...) can be the source image of a new request.

Input parameters: kind, model, project, cursor, limit

### list_models

Models you can call right now, with their price. Filter by type (chat, image, video, music, speech, transcription) and by words in the id or name.

Input parameters: type, search

### quote

Check an image, video, music or text-to-speech request against the model and price it, without making anything or spending. Returns the listed price (cost_usd; the bill is what the provider charges, which can be less or more) and what is held while it runs (max_cost_usd: it is never billed more).

Input parameters: model, prompt, options

### start_music

Start making music or a sound effect with a music model. Returns a job; call wait_job with its id until it is done. Spends from your balance when the track is made; a failed job costs nothing.

Input parameters: model, prompt, duration_seconds, max_cost, idempotency_key, kit, options

### start_video

Start making a video. Returns a job; call wait_job with its id until it is done. Spends from your balance when the video is made; a failed job costs nothing.

Input parameters: model, prompt, image_url, end_image_url, duration_seconds, resolution, aspect_ratio, max_cost, idempotency_key, kit, options

### wait_job

Wait until a video or music job ends, for at most timeout_seconds (50 at most). Returns the job; if done is false, call wait_job again.

Input parameters: job_id, timeout_seconds

## Sources

- [official](https://martllm.com/docs/mcp)
- [official](https://martllm.com/llms.txt)
- [official](https://martllm.com/pricing)
- [official](https://registry.modelcontextprotocol.io/v0/servers?search=uberllm)
- [official](https://github.com/al-global-tech/martllm)

## Client setup instructions

### Cursor

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "type": "http",
      "url": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Open Cursor Settings → Tools & MCP; restart or reconnect the server if Cursor does not pick up the saved project configuration.

Verify the connection:

- Open Cursor Settings → Tools & MCP and confirm the server is enabled with its tools listed. Ask for a harmless read-only operation only after authentication.

Official client guide: [Cursor](https://martllm.com/docs/mcp)

### VS Code

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "type": "http",
      "url": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Run `MCP: List Servers` from the Command Palette and use its Start/Restart action, or reload the VS Code window if needed.

Verify the connection:

- Run `MCP: List Servers`; confirm the server is running and its tools appear in Copilot Chat's Agent mode.

Official client guide: [VS Code](https://martllm.com/docs/mcp)

### Claude Desktop

Status: needs user input.

Configuration:

```json
Remote connector URL: https://api.martllm.com/mcp
Add it in Claude Desktop → Settings → Connectors → Add custom connector.
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- For a remote connector, enable it from Claude's Connectors UI. After editing `claude_desktop_config.json` or installing a local extension, fully quit and reopen Claude Desktop; the config is read only at launch.

Verify the connection:

- Open the Connectors/tools picker and confirm the server and its tools are available. Check Settings → Developer for local server status and logs for startup failures.

Official client guide: [Claude Desktop](https://martllm.com/docs/mcp)

### Claude Code

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "type": "http",
      "url": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Start or restart the Claude Code session in the project if it was already open. Review and approve a new project-scoped server when Claude Code asks.

Verify the connection:

- Run 'claude mcp get martllm' or 'claude mcp list'; in an interactive session, use '/mcp'. Confirm the status is connected and tools are listed. A configured entry alone is not proof of connection.

Official client guide: [Claude Code](https://martllm.com/docs/mcp)

### Gemini CLI

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "httpUrl": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Gemini CLI reads its settings on startup. Restart the CLI after direct file edits; its `mcp add` command writes the configuration.

Verify the connection:

- Run 'gemini mcp list' and confirm martllm reports Connected. For local stdio servers, trust the current folder if Gemini CLI requires it.

Official client guide: [Gemini CLI](https://martllm.com/docs/mcp)

### Codex CLI

Status: needs user input.

Configuration:

```json
[mcp_servers.martllm]
url = "https://api.martllm.com/mcp"
http_headers = { "Authorization" = "Bearer ${env:MARTLLM_API_KEY}" }
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Restart an already-open Codex session or IDE extension if the server does not appear; the IDE extension offers a Restart action.

Verify the connection:

- Run 'codex mcp list' or '/mcp' in the Codex TUI. Confirm the server is enabled/connected and its tools are available.

Official client guide: [Codex CLI](https://martllm.com/docs/mcp)

### Windsurf

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "serverUrl": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Save `mcp_config.json`, then restart or reconnect the server from Cascade's MCP controls.

Verify the connection:

- Open Cascade's MCP panel and confirm the server is enabled and lists tools. Note: this documentation applies to legacy Cascade; newer Devin Local setup may differ.

Official client guide: [Windsurf](https://martllm.com/docs/mcp)

### ChatGPT

Status: needs user input.

Configuration:

```json
Remote MCP endpoint: https://api.martllm.com/mcp
Add it in ChatGPT web → Settings/Workspace Settings → Apps → Create.
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Save/Create the app draft, then open a new chat and select the app from the tools menu. Admin approval or publishing may be required for workspace use.

Verify the connection:

- Confirm the app appears as a draft or enabled app, its tool scan completes, and the tools are available in a chat. ChatGPT web cannot connect directly to local stdio servers.

Official client guide: [ChatGPT](https://martllm.com/docs/mcp)

### Manual

Status: needs user input.

Configuration:

```json
{
  "mcpServers": {
    "martllm": {
      "type": "http",
      "url": "https://api.martllm.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:MARTLLM_API_KEY}"
      }
    }
  }
}
```

Prerequisites:

- A MartLLM account and API key (sign up with email or Google; no ID check)
- Prepaid credit, added by card or PayPal from $5; credit never expires
- An MCP client that supports remote Streamable HTTP servers with custom headers (or mcp-remote for Claude Desktop)

Required inputs:

- MARTLLM_API_KEY: Required credential for this server. Find or create it in the publisher's official account/dashboard. Enter it only into the client's local secure input or environment; never paste it into chat. (required)

Authentication:

- Complete the provider's documented credential flow in the client's supported secure credential or environment storage. Do not put credentials in this setup plan or chat.

Setup steps:

- Create an API key in your MartLLM dashboard and add credit
- Claude Code: claude mcp add --transport http uberllm https://api.martllm.com/mcp --header "Authorization: Bearer $KEY"
- Claude Desktop: add an mcpServers entry that runs npx -y mcp-remote https://api.martllm.com/mcp --header Authorization:${UBERLLM_AUTH}, with UBERLLM_AUTH set to Bearer ull_your_key, then restart
- Cursor and other clients: add {"url": "https://api.martllm.com/mcp", "headers": {"Authorization": "Bearer ull_your_key"}} under mcpServers
- Prices only, no key: claude mcp add --transport http uberllm-prices https://api.martllm.com/mcp/public
- Usual flow: list_models, get_model, quote, then generate_image or start_video and wait_job

Reload:

- Restart/reload the selected client only if its documentation requires it.

Verify the connection:

- Use the selected client's MCP status view and verify the server exposes tools; do not report connected based only on a saved config.

Official client guide: [Manual](https://martllm.com/docs/mcp)