Skip to main content
Glama

@dtelecom/stt-mcp

Contract scope and current gateway

This package documents the legacy x402stt.dtelecom.org STT payment/session protocol. Its URLs, rates and automatic session-payment behavior below belong to that contract; they are not the current multi-service gateway contract. This documentation update does not verify or retire the legacy deployment.

For new integrations use x402-client with x402.dtelecom.org: prepaid wallet-authenticated live STT ($0.004/connected session minute), optional partials/Smart Turn, and a separate uploaded-file transcription/diarization API ($0.003/decoded minute, rounded to started seconds). This legacy client's file helper streams audio through live STT; it is not the new asynchronous batch API. Do not substitute the new base URL into this client without migrating authentication, session and event handling. The new SDK does not automatically buy credits or retry inference.

MCP (Model Context Protocol) server for dTelecom real-time speech-to-text with x402 micropayments.

Lets AI assistants (Claude, Cursor, etc.) transcribe audio files using dTelecom STT — pay-per-use with USDC, no API keys needed.

Related MCP server: Deepgram MCP Server

Tools

Tool

Description

transcribe_file

Transcribe a WAV file (PCM16, 16kHz, mono) to text

stt_pricing

Get current pricing ($0.005/min)

stt_health

Check service health

Setup

1. Install

npm install -g @dtelecom/stt-mcp

2. Get a wallet

You need a private key with USDC. Either:

  • EVM (Base): Ethereum private key (0x hex) with USDC on Base — MetaMask, etc.

  • Solana: Solana private key (base58) with USDC on Solana — Phantom, Solflare, etc.

3. Configure your AI assistant

Claude Code (~/.claude.json):

{
  "mcpServers": {
    "dtelecom-stt": {
      "command": "dtelecom-stt-mcp",
      "env": {
        "DTELECOM_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "dtelecom-stt": {
      "command": "npx",
      "args": ["-y", "@dtelecom/stt-mcp"],
      "env": {
        "DTELECOM_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
      }
    }
  }
}

Cursor (Settings > MCP Servers > Add):

{
  "dtelecom-stt": {
    "command": "npx",
    "args": ["-y", "@dtelecom/stt-mcp"],
    "env": {
      "DTELECOM_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
    }
  }
}

4. Convert audio (if needed)

The tool accepts WAV files in PCM16 16kHz mono format. Convert with:

ffmpeg -i input.mp3 -ar 16000 -ac 1 -acodec pcm_s16le output.wav

Environment Variables

Variable

Required

Default

Description

DTELECOM_PRIVATE_KEY

Yes

—

EVM key (0x hex) or Solana key (base58)

DTELECOM_STT_URL

No

https://x402stt.dtelecom.org

STT service URL

Pricing

  • $0.005/min, billed per session

  • Minimum 5 minutes ($0.025)

  • Paid in USDC on Base or Solana via x402 protocol

  • No accounts, no API keys, no subscriptions

License

MIT

Available Tools

3 tools
stt_healthA

Check if the dTelecom STT service is running and healthy.

Inputs: no named parameters.

stt_pricingA

Get current dTelecom STT pricing information. No payment required.

Inputs: no named parameters.

transcribe_fileA

Transcribe a WAV audio file to text using dTelecom STT. The file must be PCM16, 16kHz, mono. Convert with: ffmpeg -i input.mp3 -ar 16000 -ac 1 -acodec pcm_s16le output.wav

Inputs: path (required), minutes, language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a single, clearly distinct purpose: transcribing audio, checking pricing, and checking service health. There is no overlap or ambiguity between them.

    Naming Consistency3/5

    transcribe_file follows an action_noun pattern, while stt_pricing and stt_health follow a prefix_noun pattern. The names are readable, but the conventions are mixed.

    Tool Count5/5

    Three tools is well-scoped for a focused STT service: one core operation plus two supporting informational tools. Each tool earns its place and there is no bloat.

    Completeness5/5

    The core transcription action is covered, and pricing and health checks round out the expected surface for this narrow service. No obvious missing operations are apparent from the provided scope.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers