lingua.direct MCP Server
Official# lingua.direct MCP Server
Official Model Context Protocol (MCP) server for the [lingua.direct API v2](https://lingua.direct/developers).
Give Claude Desktop, Cursor, Claude Code, VS Code, or any MCP-compatible client direct access to:
- **Text translation & batch translation** across 277 languages
- **Natural Text-to-Speech (MP3)** saved straight to disk or returned as base64
- **Audio clip transcription & speech translation**
- **Async audio & video translation jobs** (up to 1 GB / 6 hours) with **SRT / VTT subtitle export**
- **1-to-many live Event Broadcasts** (with listener page, QR code, and RTMP/SRT/WebSocket ingest)
- **Live Meeting Interpreter Bots** for Zoom, Google Meet, Microsoft Teams, Webex, GoTo Meeting, and Slack Huddles
- **Language capability lookup** and **EUR API wallet balance**
Every new API account at [lingua.direct/developers](https://lingua.direct/developers) includes **EUR 5.00 free start credit** on its first API key.
## Quick Setup
1. Create an API key at [lingua.direct/developers/keys](https://lingua.direct/developers/keys).
2. Add the server to your MCP client configuration:
### Claude Desktop (`claude_desktop_config.json`)
```json
{
"mcpServers": {
"linguadirect": {
"command": "npx",
"args": ["-y", "github:invenix/linguadirect-mcp"],
"env": {
"LINGUADIRECT_API_KEY": "ld_live_your_key_here"
}
}
}
}
```
### Cursor (`.cursor/mcp.json`) / VS Code (`.vscode/mcp.json`)
```json
{
"mcpServers": {
"linguadirect": {
"command": "npx",
"args": ["-y", "github:invenix/linguadirect-mcp"],
"env": {
"LINGUADIRECT_API_KEY": "ld_live_your_key_here"
}
}
}
}
```
### Claude Code
```bash
claude mcp add linguadirect -e LINGUADIRECT_API_KEY=ld_live_your_key_here -- npx -y github:invenix/linguadirect-mcp
```
## Environment Variables
- `LINGUADIRECT_API_KEY` (required): Your `ld_live_...` API key from `https://lingua.direct/developers/keys`.
- `LINGUADIRECT_API_BASE` (optional): Override API base URL (default: `https://lingua.direct/api/v2`).
## Available Tools
| Tool | Endpoint | Description |
|---|---|---|
| `translate_text` | `POST /text/translate` | Translate one string or up to 50 strings in a batch |
| `text_to_speech` | `POST /text/speech` | Generate spoken MP3 audio (save to file or base64) |
| `transcribe_audio` | `POST /audio/transcribe` | Transcribe a local audio clip (up to 25 MB, 120 s) |
| `translate_audio` | `POST /audio/translate` | Transcribe + translate a clip, optionally saving spoken MP3 |
| `create_audio_job` | `POST /audio/jobs` | Start an async audio/video job (up to 1 GB, 6 hours, 1-5 targets) |
| `get_audio_job` | `GET /audio/jobs/{id}` | Inspect async job status |
| `get_audio_job_subtitles` | `GET /audio/jobs/{id}/subtitles` | Download or save SRT/VTT subtitles |
| `create_broadcast` | `POST /broadcasts` | Create a 1-to-many live event broadcast (`listen_url`, `qr_url`, `ingest`) |
| `list_broadcasts` | `GET /broadcasts` | List broadcasts |
| `stop_broadcast` | `POST /broadcasts/{id}/stop` | Stop a live broadcast |
| `get_broadcast_transcript` | `GET /broadcasts/{id}/transcript` | Fetch timed cues from a broadcast |
| `create_meeting_bot` | `POST /meetings` | Dispatch a two-way interpreter bot to Zoom/Meet/Teams/Webex/GoTo/Slack |
| `get_meeting` | `GET /meetings/{id}` | Check live status and `view_url` |
| `leave_meeting` | `POST /meetings/{id}/leave` | Remove bot from meeting |
| `get_meeting_transcript` | `GET /meetings/{id}/transcript` | Fetch translated meeting segments |
| `list_languages` | `GET /languages` | List 300+ languages and STT/translate/TTS capabilities |
| `get_usage` | `GET /usage` | Check live EUR wallet balance, daily cap, and today spend |
## Local Development
```bash
npm install
npm test
npm run build
```
## Links
- Developer Portal: https://lingua.direct/developers
- API Docs: https://lingua.direct/developers/docs
- OpenAPI 3.1: https://lingua.direct/api/v2/openapi.yaml
- Pricing: https://lingua.direct/developers/pricing
- `llms.txt`: https://lingua.direct/llms.txt
TDQS
Scored across 17 tools
Most tools target clearly distinct actions or resources, such as text translation, TTS, transcription, broadcasts, and meetings. The main potential confusion is between translate_audio (synchronous, short clips) and create_audio_job (asynchronous, long files with subtitles), but the descriptions explicitly clarify the boundary.
Names overwhelmingly follow a consistent snake_case verb_noun pattern: translate_text, create_audio_job, get_broadcast_transcript, leave_meeting, list_languages, etc. The main minor deviation is text_to_speech, which follows a resource/action form rather than verb_noun.
Seventeen tools is slightly heavy, but the server covers several distinct subdomains: text translation, speech synthesis, transcription, audio jobs, live broadcasts, and meeting bots. Each tool earns its place, and no obvious redundant tool inflates the count.
Core workflows are well covered: text and audio translation, TTS, transcription, asynchronous job creation/status/subtitles, broadcast lifecycle, and meeting bot lifecycle. Minor gaps exist, such as listing or cancelling audio jobs and retrieving a single broadcast's details, but these are unlikely to block common agent workflows.