lescribeaudio-mcp
Official# `lescribeaudio-mcp` — Official Model Context Protocol (MCP) Server for Le Scribe Audio
[](https://glama.ai/mcp/servers/lescribeaudio/lescribeaudio-mcp)
[](./LICENSE)
[](https://nodejs.org/)
[](./package.json)
[](https://doi.org/10.5281/zenodo.24087382)
Official open-source, zero-dependency **Model Context Protocol (MCP)** server (`Node.js >= 18`, `STDIO` transport, Docker-ready) for [**Le Scribe Audio**](https://lescribeaudio.com/integrations-mcp).
Run it locally via `npx -y lescribeaudio-mcp` or Docker in **Claude Desktop**, **Cursor**, **Windsurf**, **Claude Code**, or **VS Code** to:
- **Process transcripts & subtitles locally offline** (no API key required): clean `.SRT`/`.VTT` files with YouTube rolling-caption deduplication and French typographic spacing, generate UTF-8 **IRaMuTeQ / Alceste / TXM** qualitative research corpora, and estimate realistic drafting & proofreading workloads.
- **Query and manage your Le Scribe Audio workspace** via the Le Scribe Audio API (with a personal bounded-TTL token `lsa_mcp_...`): list and search speaker-diarized transcriptions, read executive + chrono-thematic summaries, globally rename/code speaker diarization labels, and retrieve 100% editable Word (`.docx`), PDF, SRT/VTT, and IRaMuTeQ export URLs.
---
## 9 MCP Tools Exposed (`tools/call`)
### Local Offline Tools (no API key required — executed directly in Node.js)
| MCP Tool | Mode | Parameters | Description |
| :--- | :---: | :--- | :--- |
| **`clean_subtitles_srt_vtt`** | Local offline | `content` *(required)*, `deduplicate_rolling`, `merge_sentences`, `french_typography`, `preserve_speakers` | Extracts clean spoken prose from raw `.srt` / `.vtt` subtitles: strips timecodes & cue indices, deduplicates YouTube rolling captions, preserves WebVTT `<v Speaker>` tags, and applies French non-breaking-space typography (`: ; ? ! « »`). |
| **`format_iramuteq_corpus`** | Local offline | `transcript_text` *(required)*, `id`, `variables`, `interviewer_mode`, `split_by_speaker_starred`, `clean_input_first` | Converts a speaker-diarized transcript (or raw subtitles) into a valid UTF-8 **IRaMuTeQ / Alceste / TXM** starred corpus (`**** *id *var_val *locuteur_x`, zero stray asterisks, interviewer `keep` / `tag` / `exclude`). |
| **`estimate_transcription_workload`** | Local offline | `audio_duration_minutes` *(required)*, `words_per_minute` | Calculates estimated word count, manual typing duration (`4–7 h` per audio hour), full ear-checked proofreading time after 2-pass AI pre-transcription (`2–3 h` per audio hour — dividing drafting time by 2), and certified human double-proofreading budget (`60 EUR HT/h` by two successive transcribers). |
### Workspace API Tools (authenticated with `LESCRIBEAUDIO_MCP_TOKEN`)
| MCP Tool | Mode | Parameters | Description |
| :--- | :---: | :--- | :--- |
| **`list_transcriptions`** | API read-only | `limit` *(1–50)*, `status` *(`all`, `completed`, `processing`, `failed`)* | Lists recent recordings (`file_id`, title, `HH:MM:SS` duration, status, date, and summary availability). |
| **`search_transcriptions`** | API read-only | `query` *(required)*, `limit` *(1–20)* | Full-text search across titles, summaries, and unlocked transcripts with timestamped snippets. |
| **`get_transcription_text`** | API read-only | `file_id` *(required)*, `include_timecodes`, `max_chars`, `offset_chars` | Reads speaker-diarized transcript text (`[00:14:20] M. Martin : …`) with character pagination up to 10-hour sessions. |
| **`get_transcription_summary`** | API read-only | `file_id` *(required)* | Retrieves the **executive summary followed by the chrono-thematic development** generated for a recording. |
| **`rename_speaker_label`** | API write (idempotent) | `file_id`, `old_speaker`, `new_speaker` *(required)* | Globally renames or codes a **speaker diarization label** (e.g., `Intervenant 1` → `Enquêté P1` or `Mme Dubois`) across all turns and refreshes the 100% editable Word (`.docx`) export. |
| **`get_export_urls`** | API read-only | `file_id` *(required)* | Returns the interactive Studio player link and export URLs: standard **100% editable Word (`.docx`)**, `.pdf`, `.srt` / `.vtt`, `.txt`, and `IRaMuTeQ` corpus. |
---
## Installation & Quickstart
### 1. Local MCP Server (`npx` — Claude Desktop, Cursor, Windsurf, Claude Code)
You can run the local MCP server immediately for the 3 offline tools (no token needed), or pass `LESCRIBEAUDIO_MCP_TOKEN` (generated at [**lescribeaudio.com/integrations-mcp**](https://lescribeaudio.com/integrations-mcp#mcp-config-builder), bounded TTL 30, 90, or 180 days) to enable the 6 workspace tools as well:
```json
{
"mcpServers": {
"lescribeaudio": {
"command": "npx",
"args": ["-y", "lescribeaudio-mcp"],
"env": {
"LESCRIBEAUDIO_MCP_TOKEN": "lsa_mcp_YOUR_PERSONAL_TOKEN"
}
}
}
}
```
### 2. Run with Docker
```bash
docker build -t lescribeaudio-mcp .
docker run -i --rm -e LESCRIBEAUDIO_MCP_TOKEN="lsa_mcp_YOUR_PERSONAL_TOKEN" lescribeaudio-mcp
```
### 3. CLI Diagnostics (`--info` & `--check`)
```bash
# Display the local catalog of all 9 MCP tools
npx lescribeaudio-mcp --info
# Check API reachability and optional personal token authentication
npx lescribeaudio-mcp --check
LESCRIBEAUDIO_MCP_TOKEN="lsa_mcp_..." npx lescribeaudio-mcp --check
```
### 4. Alternative Hosted Endpoint
For clients that prefer connecting directly to a hosted Streamable HTTP endpoint without running Node.js locally, Le Scribe Audio also exposes `https://lescribeaudio.com/api/mcp` (`Authorization: Bearer lsa_mcp_...`).
---
## Architecture, Accuracy & GDPR Compliance
- **Zero External Dependencies (`src/server.mjs`, `src/local-tools.mjs`)**: Pure Node.js ESM implementation (`>= 18`) handling the full MCP JSON-RPC 2.0 lifecycle (`initialize`, `ping`, `tools/list`, `tools/call`, `resources/list`, `prompts/list`) locally over `STDIO`, with zero third-party supply-chain risk.
- **Reproducible French Accuracy Benchmark (v2.0 — 25 Nov. 2026)**: Ranked **#1 out of 20 AI systems** (10 software apps + 10 APIs, 60 public Microsoft Word `Review > Compare` proof PDFs, Zenodo DOI [`10.5281/zenodo.24087382`](https://doi.org/10.5281/zenodo.24087382)) with **`82.0` real words to fix on average over 10 minutes of recording** — enabling editors and researchers to **divide drafting time in half** (`2–3 h` of full ear-checked proofreading per audio hour vs. `4–7 h` of manual typing from scratch). See the [Open Benchmark](https://lescribeaudio.com/benchmarks-precision-transcription-ia-francais).
- **Optional Human Double Proofreading**: Available at **60 € HT / hour** (`1.00 € HT / min`), performed by **two successive human transcribers** (double cross-listening).
- **GDPR & European Infrastructure**: Audio files and database stored in **France at OVHcloud (AES-256)** with immediate 1-click permanent deletion; AI inference performed via **Google Cloud Vertex AI (Europe region)** with contractual *Zero Data Retention* and no training on user data ([Security & GDPR](https://lescribeaudio.com/securite-rgpd)).
---
## Présentation en Français (FR)
`lescribeaudio-mcp` est le **serveur Model Context Protocol (MCP) open-source officiel** de [**Le Scribe Audio**](https://lescribeaudio.com/integrations-mcp) (`0` dépendance externe, Node.js `>= 18`, transport `STDIO` et image `Docker`).
Il embarque directement :
1. **3 outils locaux hors-ligne** (sans clé API) : nettoyage de sous-titres `.SRT`/`.VTT` (déduplication YouTube et typographie française insécable), conversion en **corpus étoilé IRaMuTeQ / Alceste / TXM**, et estimateur réaliste du temps de relecture (`2 à 3 h` pour `1 h` d'audio avec pré-transcription IA en 2 passes, contre `4 à 7 h` en frappe manuelle intégrale au casque).
2. **6 outils connectés à votre espace Le Scribe Audio** (`LESCRIBEAUDIO_MCP_TOKEN`) : listage, recherche plein texte, lecture diarisée, **synthèse exécutive suivie d'un développement chrono-thématique**, **renommage / codage global des étiquettes d'intervenants (diarisation)** et liens d'export (**Word `.docx` standard 100 % modifiable**, PDF, SRT/VTT, TXT, IRaMuTeQ).
---
## Running Tests Locally
```bash
node --test test/test.mjs
```
## Publisher, Support & License
- **Publisher**: **LE SCRIBE AUDIO** (EURL, RCS Rennes 890 049 927)
- **Official Documentation**: [https://lescribeaudio.com/integrations-mcp](https://lescribeaudio.com/integrations-mcp)
- **Security & GDPR**: [https://lescribeaudio.com/securite-rgpd](https://lescribeaudio.com/securite-rgpd)
- **Accuracy Benchmarks**: [https://lescribeaudio.com/benchmarks-precision-transcription-ia-francais](https://lescribeaudio.com/benchmarks-precision-transcription-ia-francais)
- **Phone**: `09 61 44 46 64` (`+33 9 61 44 46 64`)
- **Contact**: `contact@lescribeaudio.com`
- **License**: [MIT](./LICENSE)
TDQS
Scored across 9 tools
Each tool targets a clearly distinct operation: search/list/retrieve text/summary, rename speaker, export URLs, clean subtitles, format IRaMuTeQ, and estimate workload. The only mild overlap is between clean_subtitles_srt_vtt and format_iramuteq_corpus, but their input/output purposes are explicitly different.
All names use snake_case with a verb_noun pattern (search_transcriptions, get_transcription_text, rename_speaker_label, etc.). Longer names include format qualifiers, but the overall convention is predictable and consistent.
Nine tools is well-scoped for an audio transcription access and export server. Each tool covers a meaningful capability without excessive surface area.
The set covers discovery, reading, summaries, speaker relabeling, export, and local post-processing utilities. It lacks obvious create/upload and delete/update-transcript operations, but agents can still complete the core retrieval/export workflows.