# Cartesia

This MCP server for Claude Code connects an agent to Cartesia voice tools. It generates speech, transcribes audio, and manages voices.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 18 repo stars
- Author: cartesia-ai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cartesia-ai/cartesia-mcp
- Updated: 2026-11-14
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cartesia

## What it does

The server gives an agent access to Cartesia tools for speech generation, audio transcription, and voice management. It can clone a voice, adapt one to another language, edit pronunciation dictionaries, and retrieve available voices and model details.

For hosted access, sign in to Cartesia; an MCP API key is created for the organization if needed. A local setup requires `uv`, Python 3.13+ installed through `uvx`, and a `CARTESIA_API_KEY`. Checking credit usage requires the separate `CARTESIA_ADMIN_API_KEY`; a standard key does not work for that operation.

A prompt can also synthesize speech and transcribe the result for verification. The local server saves audio in its working directory by default; set `OUTPUT_DIRECTORY` to choose another folder.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://mcp.cartesia.ai/mcp`
- Environment variables: `CARTESIA_API_KEY`, `CARTESIA_ADMIN_API_KEY`, `OUTPUT_DIRECTORY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http cartesia-mcp https://mcp.cartesia.ai/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env CARTESIA_API_KEY=<CARTESIA_API_KEY> --env CARTESIA_ADMIN_API_KEY=<CARTESIA_ADMIN_API_KEY> --env OUTPUT_DIRECTORY=<OUTPUT_DIRECTORY> --transport stdio cartesia -- uvx cartesia-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cartesia-mcp <command>

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add cartesia --url https://mcp.cartesia.ai/mcp
```

2. **Platform CLI**
```bash
codex mcp add cartesia --env CARTESIA_API_KEY=<CARTESIA_API_KEY> --env CARTESIA_ADMIN_API_KEY=<CARTESIA_ADMIN_API_KEY> --env OUTPUT_DIRECTORY=<OUTPUT_DIRECTORY> -- uvx cartesia-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cartesia-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cartesia": {
            "url": "https://mcp.cartesia.ai/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cartesia": {
            "command": "uvx",
            "args": [
                "cartesia-mcp"
            ],
            "env": {
                "CARTESIA_API_KEY": "<CARTESIA_API_KEY>",
                "CARTESIA_ADMIN_API_KEY": "<CARTESIA_ADMIN_API_KEY>",
                "OUTPUT_DIRECTORY": "<OUTPUT_DIRECTORY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cartesia-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cartesia": {
            "type": "http",
            "url": "https://mcp.cartesia.ai/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cartesia": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "cartesia-mcp"
            ],
            "env": {
                "CARTESIA_API_KEY": "<CARTESIA_API_KEY>",
                "CARTESIA_ADMIN_API_KEY": "<CARTESIA_ADMIN_API_KEY>",
                "OUTPUT_DIRECTORY": "<OUTPUT_DIRECTORY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cartesia-mcp <command>

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http cartesia https://mcp.cartesia.ai/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e CARTESIA_API_KEY=<CARTESIA_API_KEY> -e CARTESIA_ADMIN_API_KEY=<CARTESIA_ADMIN_API_KEY> -e OUTPUT_DIRECTORY=<OUTPUT_DIRECTORY> cartesia uvx cartesia-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from cartesia-mcp <command>

## When to use it
- turn text into audio with a selected voice
- transcribe an audio file into text
- clone a voice and adapt it to another language
- create a pronunciation dictionary for speech generation

## Example prompts
- Turn this text into audio using a Cartesia voice.
- Transcribe this audio file into text.
- Clone the voice in this file and adapt it to another language.

## Similar
- [cartesia-sonic](https://affpapa.org/en/nevibecode/skills/cartesia-sonic.md) — skill · 135 installs
- [reMarkable MCP Server](https://affpapa.org/en/nevibecode/mcp/wavyrai-remarkable-mcp-server.md) — MCP server · ★ 22 repo stars
- [Jaxonomy — hybrid dynamical systems on JAX](https://affpapa.org/en/nevibecode/mcp/jaxonomy-hybrid-dynamical-systems-on-jax.md) — MCP server · ★ 22 repo stars
- [Memwyre](https://affpapa.org/en/nevibecode/mcp/memwyre.md) — MCP server · ★ 22 repo stars
- [Ripple](https://affpapa.org/en/nevibecode/mcp/ripple.md) — MCP server · ★ 21 repo stars
- [editmamei-photoshop-mcp](https://affpapa.org/en/nevibecode/mcp/editmamei-photoshop-mcp.md) — MCP server · ★ 21 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
