Skip to main content
Glama
README.md
# English Tutor

A personal English tutor for the AI you already use: Claude, ChatGPT, Cursor, or any other app that supports [MCP](https://modelcontextprotocol.io).
It remembers you, builds each lesson on the last one, talks with you by voice, and adds new words to your Anki.

<img src="docs/demo.gif" width="760" alt="A voice lesson: the tutor remembers the learner's trip, fixes a past-tense mistake in red, and teaches a new phrase">

## Install in one step

Paste this into your AI agent (Claude Code, Claude Desktop, Cursor, Codex, …):

```text
Install the English tutor MCP server for me: https://github.com/GnesnyDmitry/english-tutor-mcp — follow "Setup for AI agents" in its README.
```

Restart the app when it's done, then say **"Let's have an English lesson"**.

## What it does

- **Remembers you.** It keeps your goals, interests, life events and recurring mistakes. The next lesson picks up where the last one stopped: *"How did the interview go?"*
- **Real lessons, not just chat.** Each lesson has a warm-up, practice on your weak spots, three new phrases, a recall round for your hard words, and role-play for your goal.
- **Voice calls.** You get a call window with subtitles. Corrections appear in red, and the phrase to repeat is highlighted. Hold Space to talk. Speech recognition runs on your computer.
- **Anki.** Your forgotten cards come up in the lesson. New phrases go back into Anki as two-way cards.
- **Private and free.** Everything stays in `~/.english-tutor` on your computer, and updates never touch it. The license is MIT.

## Use

- **"Let's have an English lesson"** for a text lesson.
- **"English lesson by voice"** opens the call window.
- **"Lesson about job interviews"** gives the lesson your own topic.
- **"What do you remember about me?"** shows your profile and progress.

## Anki (optional)

Install [Anki](https://apps.ankiweb.net) with the [AnkiConnect](https://ankiweb.net/shared/info/2055492159) add-on (code `2055492159`). Keep Anki open during lessons. New cards go to the `English::Tutor` deck.

---

## Setup for AI agents

1. Make sure `uv` is installed (`uv --version`). If it is missing, install it:
   - macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
   - Windows: `powershell -c "irm https://astral.sh/uv/install.ps1 | iex"`
2. Register the MCP server in the user's AI app. Use the absolute path to `uvx` if the app does not see the shell `PATH` (Claude Desktop on macOS).
   - Claude Code: `claude mcp add -s user english-tutor -- uvx --python 3.12 --from "english-tutor-mcp[voice] @ git+https://github.com/GnesnyDmitry/english-tutor-mcp" english-tutor`
   - Other apps (Claude Desktop `claude_desktop_config.json`, Cursor `~/.cursor/mcp.json`, Windsurf, LM Studio, …): add this to `mcpServers`:

     ```json
     "english-tutor": {
       "command": "uvx",
       "args": ["--python", "3.12", "--from", "english-tutor-mcp[voice] @ git+https://github.com/GnesnyDmitry/english-tutor-mcp", "english-tutor"]
     }
     ```

   - Text-only lessons (small install, no speech models): use `english-tutor-mcp @ git+…` without `[voice]`.
3. Tell the user three things:
   - Restart the app.
   - The first voice lesson downloads speech models (~0.8 GB) once.
   - Anki works only with AnkiConnect installed (see above).

**Update.** Updates are safe because data lives outside the package and is migrated automatically, with daily backups in `~/.english-tutor/backups`. To update, run `uv cache clean english-tutor-mcp` and restart the app.

## Settings

All settings are optional environment variables in the server config:

- `TUTOR_HOME` is the data folder.
- `TUTOR_ANKI_DECK` sets the deck. Set it to your own English deck so the tutor also drills words you already study.
- `TUTOR_WHISPER_MODEL` sets the speech model: `small.en` by default, `base.en` for slow PCs.
- `TUTOR_WHISPER_DEVICE` is `cpu` or `cuda`.
- `TUTOR_WHISPER_URL` points to your own whisper.cpp server.
- `TUTOR_VOICE` and `TUTOR_VOICE_SPEED` set the voice.
- `TUTOR_PORT` sets the port for the call window.

## License

MIT

TDQS

B3.4/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have distinct roles, but the memory-related pair (update_profile for basics vs. remember for individual facts) and the lesson-bootstrap pair (learner_overview vs. start_lesson, which also returns learner knowledge) sit close together. The voice pair call/wait_answer is subtle but the descriptions clearly explain that wait_answer is a continuation after 'NO ANSWER YET', so an agent can follow the intended flow.

Naming Consistency3/5

All snake_case, but conventions are mixed: verb_noun (start_lesson, update_profile, anki_add_cards), noun-first (learner_overview, anki_status), and bare verbs (call, remember, wait_answer). The anki_ prefix grouping is a helpful touch, but the overall set is inconsistent in verb/noun ordering.

Tool Count5/5

Nine tools is well within a comfortable range for a tutoring agent, and each one maps to a distinct phase of the lesson lifecycle (start, converse, remember, finish, Anki sync). Nothing appears redundant or bloated.

Completeness4/5

The session lifecycle is well covered: starting/finishing lessons, learner memory, voice interaction, and Anki add/status. The main gap is that Anki data is write-only plus a summary — there is no way to fetch or drill the actual due cards/words, which a tutor would plausibly need.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues