Skip to main content

deepctl-cmd-mcp

Part of deepctl — Official Deepgram CLI

MCP server for deepctl: Deepgram documentation search over stdio

Installation

This package is included with deepctl and does not need to be installed separately.

Install deepctl

# Install with pip
pip install deepctl

# Or install with uv
uv tool install deepctl

# Or install with pipx
pipx install deepctl

# Or run without installing
uvx deepctl --help
pipx run deepctl --help

Commands

Command Entry Point
deepctl mcp deepctl_cmd_mcp.command:McpCommand

MCP Server Setup

The deepctl mcp command runs an MCP (Model Context Protocol) server over stdio that gives AI code editors one tool: search of Deepgram's documentation.

Prerequisites

# Login to Deepgram (stores credentials in system keyring)
deepctl login

# Or set the environment variable
export DEEPGRAM_API_KEY="your-api-key"

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "uvx",
      "args": ["deepctl", "mcp"]
    }
  }
}

Or pass DEEPGRAM_API_KEY through the editor's env block, which forwards it from your shell (a key saved by deepctl login takes precedence):

{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "uvx",
      "args": ["deepctl", "mcp"],
      "env": { "DEEPGRAM_API_KEY": "${DEEPGRAM_API_KEY}" }
    }
  }
}

Don't write the key itself into .mcp.json or any other file you commit.

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "deepgram": {
      "command": "uvx",
      "args": ["deepctl", "mcp"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "deepgram": {
      "command": "uvx",
      "args": ["deepctl", "mcp"]
    }
  }
}

Alternative: pipx

Replace uvx with pipx run in any of the above configurations:

{
  "command": "pipx",
  "args": ["run", "deepctl", "mcp"]
}

Alternative: Local development

If running from a local clone of the repository:

{
  "command": "uv",
  "args": ["run", "dg", "mcp"]
}

Transport modes

The MCP server runs over stdio: your editor starts dg mcp and talks to it over stdin and stdout. --transport sse was removed in deepctl 0.4.1. --transport streamable-http was never supported. Both exit with an error, so remove them from your MCP config.

Dependencies

  • mcp>=1.22.0,<2.0.0
  • rich>=13.9.4
  • click>=8.1.7
  • pydantic>=2.10.1

License

MIT — see LICENSE

Metadata

Release files for deepctl-cmd-mcp 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepctl-cmd-mcp 0.1.16
File Size Uploaded Provenance Actions
deepctl_cmd_mcp-0.1.16.tar.gz 13.0 kB Without provenance Details for deepctl_cmd_mcp-0.1.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deepctl-cmd-mcp 0.1.16
File Interpreter ABI Platform Actions
deepctl_cmd_mcp-0.1.16-py3-none-any.whl Python 3 none any Details for deepctl_cmd_mcp-0.1.16-py3-none-any.whl

Total release size: 26.6 kB

Release files / deepctl_cmd_mcp-0.1.16.tar.gz

Download URL deepctl_cmd_mcp-0.1.16.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cce61dde5cb8c3bf8530aa7d477e44df31af1714be02aa0c100326a3c7a4fbe6
BLAKE2b-256 checksum
How to use checksums
943008eb87a77fb49c1e61b01730e09a93a96f6f135a583917bb681d894169a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / deepctl_cmd_mcp-0.1.16-py3-none-any.whl

Download URL deepctl_cmd_mcp-0.1.16-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c348aad22280d240dd9071589161c98dc6d66dfaa263dd3815af5025bde258a5
BLAKE2b-256 checksum
How to use checksums
0d178eb4912d73d665b6056dda4f0d120a8ff882ff5ca497fc9356453a7d707d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for deepctl-cmd-mcp 0.1.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page