dTelecom STT

Chuyển giọng nói thành văn bản thời gian thực cho trợ lý AI. Phiên âm tệp âm thanh với độ chính xác đạt chuẩn sản xuất. Thanh toán theo mức sử dụng bằng USDC qua x402 — không cần khóa API.

GitHub
1
Dùng thử MCP nàyĐược tài trợ

Tài liệu

@dtelecom/stt-mcp

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.

Tools

ToolDescription
transcribe_fileTranscribe a WAV file (PCM16, 16kHz, mono) to text
stt_pricingGet current pricing ($0.005/min)
stt_healthCheck 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

VariableRequiredDefaultDescription
DTELECOM_PRIVATE_KEYYes—EVM key (0x hex) or Solana key (base58)
DTELECOM_STT_URLNohttps://x402stt.dtelecom.orgSTT 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

Links

License

MIT