# Rosetta MCP server

> Translates Excel files using Claude AI while preserving all formatting, formulas, charts, and data integrity.

- Repository: https://github.com/ewalid/rosetta
- Page: https://hostedmcp.org/servers/ewalid/rosetta
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add --env 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' rosetta -- npx -y @ewalid/rosetta-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "rosetta": {
      "command": "npx",
      "args": [
        "-y",
        "@ewalid/rosetta-mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "rosetta": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ewalid/rosetta-mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"rosetta","type":"stdio","command":"npx","args":["-y","@ewalid/rosetta-mcp"],"env":{"ANTHROPIC_API_KEY":"<YOUR_ANTHROPIC_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "rosetta": {
      "command": "npx",
      "args": [
        "-y",
        "@ewalid/rosetta-mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add rosetta --env 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' -- npx -y @ewalid/rosetta-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.rosetta]
command = "npx"
args = ["-y", "@ewalid/rosetta-mcp"]

[mcp_servers.rosetta.env]
ANTHROPIC_API_KEY = "<YOUR_ANTHROPIC_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' rosetta npx -- -y @ewalid/rosetta-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "rosetta": {
      "command": "npx",
      "args": [
        "-y",
        "@ewalid/rosetta-mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ANTHROPIC_API_KEY` | yes | yes | Your Anthropic API key from console.anthropic.com. Required to perform translations using Claude AI. |

## FAQ

### Does translating an Excel file break my formulas or formatting?

No, Rosetta translates text while preserving formulas, calculations, formatting, merged cells, charts, images, and dropdown menus.

### What API key is required to use Rosetta?

You need a Claude API key from Anthropic to use the service.

### How can I improve the accuracy of translations for specific industries?

You can add domain-specific context to the command to help the AI understand specialized terminology.
