Odel
Vocametrix Voice Analysis

Vocametrix Voice Analysis

Local
@pmarmaroliTypeScriptMITUpdated 3mo ago

Clinical voice analysis MCP server — AVQI, DSI, jitter/shimmer, pronunciation assessment, and more.

@vocametrix/mcp-server

smithery badge

Official Model Context Protocol server for the Vocametrix voice analysis API.

Gives any MCP-compatible AI assistant (Claude Desktop, Cursor, Cline, etc.) direct access to clinical voice metrics, pronunciation assessment, speech transcription, and AI-powered therapy planning.

Quick start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "vocametrix": {
      "command": "npx",
      "args": ["-y", "@vocametrix/mcp-server"],
      "env": {
        "VOCAMETRIX_API_KEY": "your-api-key-here"
      }
    }
  }
}

Get an API key at vocametrix.com/registration. Free trial: 5 minutes of analysis.

Tools

Voice quality (acoustic)

ToolDescription
vocametrix_avqiAcoustic Voice Quality Index (AVQI) — overall dysphonia severity
vocametrix_dsiDysphonia Severity Index (DSI)
vocametrix_cpp_cppsCepstral Peak Prominence — breathiness, hoarseness
vocametrix_hnrHarmonics-to-Noise Ratio (multi-band)
vocametrix_jitter_shimmerPeriod and amplitude perturbation
vocametrix_vrpVoice Range Profile
vocametrix_prosody_similarityProsody similarity between two utterances

Advanced voice analysis

ToolDescription
vocametrix_spectralSpectral tilt, slope, and formant energy
vocametrix_formantsFormant frequencies F1–F4
vocametrix_sz_ratioS/Z phonation ratio
vocametrix_gneGlottal-to-Noise Excitation
vocametrix_h1h2H1–H2 harmonic difference
vocametrix_abiAcoustic Breathiness Index
vocametrix_voice_dynamicsDynamic range and fundamental frequency statistics

Ingestion utilities

ToolDescription
vocametrix_upload_audioUpload a WAV file (base64) → returns a stable blobUrl
vocametrix_ingest_urlIngest a public HTTPS WAV URL → returns a stable blobUrl

Speech and pronunciation

ToolDescription
vocametrix_assess_pronunciationPhoneme-level pronunciation scoring
vocametrix_assess_pronunciation_pitchPronunciation + pitch analysis combined
vocametrix_transcribeStreaming ASR transcription with progress
vocametrix_ttsText-to-speech synthesis
vocametrix_tts_timingTTS with word-level timing data

Audio measures

ToolDescription
vocametrix_sound_leveldB SPL and intensity statistics
vocametrix_egemapsExtended Geneva Minimalistic Acoustic Parameter Set
vocametrix_phoneme_detectionPhoneme presence/absence detection
vocametrix_classify_stutteringDysfluency classification

AI agents

ToolDescription
vocametrix_agent_interpret_metricsClinical interpretation of voice metrics
vocametrix_agent_exercisesPersonalized voice/speech exercise generation
vocametrix_agent_word_listTarget word list generation for therapy
vocametrix_agent_therapist_chatConversational AI speech-language therapist
vocametrix_agent_french_ipaFrench text → IPA phonetic transcription
vocametrix_agent_spellSpelling correction agent
vocametrix_agent_syntaxSyntax checking agent
vocametrix_agent_vocabulary_tutorVocabulary tutoring agent
vocametrix_agent_adaptive_exerciseAdaptive exercise generation

Therapy planning

ToolDescription
vocametrix_generate_therapy_planGenerate an AI therapy plan
vocametrix_get_therapy_statusPoll therapy plan generation status
vocametrix_get_therapy_resultFetch completed therapy plan
vocametrix_approve_therapy_planApprove a therapy plan

Workflow tools

ToolDescription
vocametrix_full_voice_assessmentParallel AVQI + CPP + HNR + jitter/shimmer + spectral
vocametrix_batch_pronunciationAssess a folder of WAV files
vocametrix_full_therapy_workflowGenerate → poll → fetch → approval flow

Resources

  • vocametrix://docs/api — API quick reference (auth, rate limits, audio requirements, error codes)
  • vocametrix://thresholds/{metric} — Clinical reference thresholds for avqi, dsi, cpp, hnr, jitter-shimmer, gne

Prompts

  • interpret_voice_assessment — Generate a clinical SLP-style interpretation report from assessment JSON
  • compare_pre_post_therapy — Quantified pre/post therapy narrative with metric-by-metric comparison
  • generate_session_report — SOAP-format progress note from pronunciation assessment data

Audio requirements

  • Format: WAV (16-bit PCM recommended)
  • Sustained vowel tasks: 3+ seconds of /a/ phonation
  • Connected speech tasks: 5–30 seconds of read passage
  • Minimum sampling rate: 16 kHz

How to pass audio to a tool

The audioPath parameter accepts several input types, but which ones are valid depends on how the MCP server is running:

InputHosted / remote serverStdio / local server (npx, Claude Desktop)
https://... blobUrl from vocametrix_upload_audio✅ recommended
Public https://... URL to a WAV file
Public URL via vocametrix_ingest_url → returned blobUrl✅ recommended for URL inputs
data:audio/wav;base64,... data URL
Raw base64 string (≥ 512 chars)
Absolute local path (/home/..., C:\...)❌ rejected⚠️ requires VOCAMETRIX_MCP_LOCAL_FS=1

For chat clients that attach audio in the conversation (Claude.ai web/mobile, etc.), the LLM cannot pass an absolute path to a hosted server — it must call vocametrix_upload_audio first with the file content base64-encoded, then pass the returned blobUrl as audioPath to any analysis tool. The MCP descriptions guide the LLM toward this workflow automatically.

For stdio/local deployments where the MCP runs on the user's own machine, set VOCAMETRIX_MCP_LOCAL_FS=1 to allow analysis tools to read absolute local paths directly — convenient for batch processing of files already on disk.

Environment variables

VariableRequiredDescription
VOCAMETRIX_API_KEYYesYour Vocametrix API key
VOCAMETRIX_MCP_LOCAL_FSNoSet to 1 to allow analysis tools to read absolute local file paths (stdio/local deployments only). Default off — local paths are rejected with an actionable error so chat clients are pushed toward the vocametrix_upload_audioblobUrl workflow.

Development

git clone https://github.com/pmarmaroli/vocametrix-mcp.git
cd vocametrix-mcp
npm install
npm run build
npm test            # run unit tests
npm run inspector   # test with MCP Inspector

MCP Registry

Listed in the official MCP Registry under io.github.pmarmaroli/vocametrix-mcp. Available for one-click installation in MCP-compatible clients (Claude Desktop, Cursor, Zed, Windsurf, and more).

Related projects

The Vocametrix ecosystem:

  • 📘 Vocametrix API documentation — full reference for the underlying REST API powering this MCP server.
  • 📐 OpenAPI 3.1 specification — machine-readable schema for all 48 endpoints.
  • 🐍 vocametrix-python — official Python SDK if you want direct API access from Python (pip install vocametrix).
  • 🟦 vocametrix-js — official TypeScript / JavaScript SDK used internally by this MCP server (npm install vocametrix).

License

MIT — see LICENSE