MCP Server
Use the Deepgram CLI as an MCP server for AI coding tools.
The dg CLI includes a built-in MCP (Model Context Protocol) server that gives AI coding tools direct access to Deepgram APIs.
Start the MCP Server
Starts a server using stdio transport (default).
HTTP/SSE Transport
For HTTP-based MCP clients:
Configuration
Claude Code
Add to your project’s .claude/mcp.json:
Or add globally:
Cursor
Add to .cursor/mcp.json:
Windsurf
Add to .windsurf/mcp.json:
Available Tools
The MCP server exposes these capabilities:
transcribe_audio— Transcribe audio from URL or file pathsynthesize_speech— Generate speech from textanalyze_text— Sentiment, topics, summarizationlist_models— List available Deepgram modelsget_usage— Check API usage
Authentication
The MCP server uses your stored credentials (dg login) automatically.
For CI environments: