Official Model Context Protocol server that enables interaction with powerful Speech-to-Text and Audio Intelligence APIs, allowing clients like Claude Desktop to transcribe audio, analyze speech, translate content, and more.
Official Gladia Model Context Protocol (MCP) server that enables interaction with powerful Speech-to-Text and Audio Intelligence APIs. This server allows MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others to transcribe audio, analyze speech, translate content, and more.
uv
(Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh
or see the uv
repo for additional install methods.{ "mcpServers": { "Gladia": { "command": "uvx", "args": ["gladia-mcp"], "env": { "GLADIA_API_KEY": "" } } } }
If you're using Windows, you will have to enable "Developer Mode" in Claude Desktop to use the MCP server. Click "Help" in the hamburger menu at the top left and select "Enable Developer Mode".
For other clients like Cursor and Windsurf, run:
pip install gladia-mcp
python -m gladia_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --print
to get the configuration. Paste it into appropriate configuration directory specified by your MCP client.Try asking Claude:
You can add the GLADIA_MCP_BASE_PATH
environment variable to the claude_desktop_config.json
to specify the base path MCP server should look for and output files specified with relative paths.
If you want to contribute or run from source:
git clone https://github.com/gladia/gladia-mcp cd gladia-mcp
uv venv source .venv/bin/activate uv pip install -e ".[dev]"
.env.example
to .env
and add your Gladia API key:cp .env.example .env # Edit .env and add your API key
./scripts/test.sh # Or with options ./scripts/test.sh --verbose --fail-fast
Install the server in Claude Desktop: mcp install gladia_mcp/server.py
Debug and test locally with MCP Inspector: mcp dev gladia_mcp/server.py
GET /health
POST /transcribe
Parameters:
file
: Audio file (multipart/form-data)diarization
: Enable speaker diarization (boolean, optional)language
: Language code (string, optional)Example using curl:
curl -X POST "http://localhost:8000/transcribe" \ -H "accept: application/json" \ -H "Content-Type: multipart/form-data" \ -F "file=@audio.wav" \ -F "diarization=true"
Logs when running with Claude Desktop can be found at:
%APPDATA%\Claude\logs\mcp-server-gladia.log
~/Library/Logs/Claude/mcp-server-gladia.log
If you encounter the error "MCP Gladia: spawn uvx ENOENT", confirm its absolute path by running this command in your terminal:
which uvx
Once you obtain the absolute path (e.g., /usr/local/bin/uvx
), update your configuration to use that path (e.g., "command": "/usr/local/bin/uvx"
). This ensures that the correct executable is referenced.
pytest
The project follows PEP 8 style guide. Use flake8 for linting:
flake8 gladia_mcp
MIT License
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!