Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

On this pageOverview

MCP Server

The dg CLI includes a built-in MCP (Model Context Protocol) server that gives AI coding tools direct access to Deepgram APIs.

Shell
dg mcp

Starts a server using stdio transport (default).

For HTTP-based MCP clients:

Shell
dg mcp --transport sse --port 8000

Add to your project's .claude/mcp.json:

JSON
{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "dg",
      "args": ["mcp"]
    }
  }
}

Or add globally:

Shell
claude mcp add deepgram --scope user --command dg --args mcp

Add to .cursor/mcp.json:

JSON
{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "dg",
      "args": ["mcp"]
    }
  }
}

Add to .windsurf/mcp.json:

JSON
{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "dg",
      "args": ["mcp"]
    }
  }
}

dg mcp proxies the tools exposed by the Deepgram developer API to your editor. The remote service owns the available tool list, so inspect the connected MCP client for the current tools and their schemas.

The MCP server uses your stored credentials (dg login) automatically.

For CI environments:

Shell
DEEPGRAM_API_KEY=sk_xxx dg mcp
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu