Pronunciation & Voice Coach

v0.3.0
io.github.JuhongPark/pronunciation Checked 5 days ago Published 7 months ago

Local MCP voice coach with English pronunciation, grammar, and fluency feedback.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

converse Voice conversation with English feedback

Record the user speaking, transcribe it, and return the transcript plus quick English feedback. This is the primary tool for voice conversations: call it, read the transcript + feedback, then respond conversationally in your own words — weaving the feedback in naturally or mentioning it only if it matters. Recording auto-stops when the user finishes speaking (silence detection). Use this tool when: - The user wants to chat with you by voice instead of typing - The user wants casual English feedback while talking with you - You want to hear what the user…

ParameterTypeDescription
durationnumberMaximum recording duration in seconds. The server accepts 1 to 120 seconds and auto-stops earlier on silence.
target_hintOptional target sentence or phrase the user is trying to say. Leave null for open-ended voice conversation.

practice Focused pronunciation drill

Drill mode: the user reads a specific sentence aloud and gets a detailed pronunciation assessment. Use this when the user explicitly wants to practice reading a particular sentence, not for free-form chat. For voice conversation with casual feedback, use `converse` instead. Recording auto-stops when the user finishes speaking. Args: reference_text: The sentence the user will read aloud. duration: Maximum recording duration in seconds (default 15, max 120). Returns: Detailed pronunciation assessment report.

ParameterTypeDescription
reference_text *stringExact sentence or phrase the user should read aloud for drill mode.
durationnumberMaximum recording duration in seconds. The server accepts 1 to 120 seconds and auto-stops earlier on silence.

retry Retry the last pronunciation drill

Retry the last sentence the user was practicing. Re-records and re-assesses using the same reference text from the previous `practice` or `converse` call. Use this to let the user try again after getting feedback. Args: duration: Maximum recording duration in seconds (default 15, max 120). Returns: Pronunciation assessment report for the new attempt.

ParameterTypeDescription
durationnumberMaximum recording duration in seconds. The server accepts 1 to 120 seconds and auto-stops earlier on silence.

quick_practice Random pronunciation drill

Pick a random practice sentence and drill it immediately. Combines `suggest_sentence` + `practice` into one step: picks a sentence matching the criteria, then records and assesses. Args: focus: Phoneme focus area. Options: "th", "f_v", "r_l", "vowels", "general". If not specified, picks randomly. difficulty: Difficulty level. Options: "beginner", "intermediate", "advanced". If not specified, picks randomly. duration: Maximum recording duration in seconds (default 15, max 120). Returns: The sentence to read, followe…

ParameterTypeDescription
difficultyOptional practice difficulty filter. Use beginner, intermediate, or advanced. Leave null to choose randomly.
durationnumberMaximum recording duration in seconds. The server accepts 1 to 120 seconds and auto-stops earlier on silence.
focusOptional pronunciation focus filter. Use th, f_v, r_l, vowels, or general. Leave null to choose randomly.

suggest_sentence Suggest a practice sentence

Suggest a practice sentence the user can read aloud. Args: focus: Phoneme focus area. Options: "th", "f_v", "r_l", "vowels", "general". If not specified, picks randomly. difficulty: Difficulty level. Options: "beginner", "intermediate", "advanced". If not specified, picks randomly. Returns: A practice sentence with its focus area and difficulty.

ParameterTypeDescription
difficultyOptional practice difficulty filter. Use beginner, intermediate, or advanced. Leave null to choose randomly.
focusOptional pronunciation focus filter. Use th, f_v, r_l, vowels, or general. Leave null to choose randomly.

record Record microphone audio

Record audio from the microphone without assessing it. Recording auto-stops when the user finishes speaking (silence detection). The duration is the maximum time — you don't have to wait the full duration. Most of the time prefer `converse` or `practice`, which record AND analyze in one step. Only use `record` alone if you want the raw WAV file. Args: duration: Maximum recording duration in seconds (default 10, max 120). Returns: Path to the recorded WAV file.

ParameterTypeDescription
durationnumberMaximum recording duration in seconds. The server accepts 1 to 120 seconds and auto-stops earlier on silence.

assess Assess a recorded pronunciation attempt

Assess the last recording (or a specific audio file) without re-recording. When `reference_text` is provided, the assessor: - Aligns the user's speech to the reference word-by-word (Needleman-Wunsch; single deletions/insertions no longer cascade into phantom substitutions). - Runs wav2vec2 CTC forced alignment to verify which reference words the user actually produced — mitigates Whisper-bias mistranscriptions on rare proper nouns and domain terms by checking acoustic evidence against the reference directly. - Surfaces per-word phon…

ParameterTypeDescription
audio_pathOptional local path to a WAV file to assess. When omitted, the most recent recording from this server session is used.
reference_textOptional expected sentence for the recorded audio. When omitted, only transcript and general prosody feedback are returned.

check_mic Check microphone devices

List available audio input devices and verify microphone access. Use this if the user reports recording problems — it shows which devices are available and which one is the default. Returns: List of available microphone devices.