Duolingo
v3.0.0Duolingo profile, streak, XP, courses, words and friends; can switch the active course
Values you need
| Variable | What it is | |
|---|---|---|
DUOLINGO_USERNAME | required | Duolingo username |
DUOLINGO_JWT | required secret | Duolingo JWT token (the jwt_token cookie of a logged-in browser session) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add duolingo -e 'DUOLINGO_JWT=<DUOLINGO_JWT>' -e 'DUOLINGO_USERNAME=<DUOLINGO_USERNAME>' -- npx -y @udondan/duolingo@3.0.0 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"duolingo": {
"args": [
"-y",
"@udondan/duolingo@3.0.0",
"mcp"
],
"command": "npx",
"env": {
"DUOLINGO_JWT": "<DUOLINGO_JWT>",
"DUOLINGO_USERNAME": "<DUOLINGO_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"duolingo": {
"args": [
"-y",
"@udondan/duolingo@3.0.0",
"mcp"
],
"command": "npx",
"env": {
"DUOLINGO_JWT": "<DUOLINGO_JWT>",
"DUOLINGO_USERNAME": "<DUOLINGO_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DUOLINGO_JWT",
"id": "duolingo-jwt",
"password": true,
"type": "promptString"
},
{
"description": "DUOLINGO_USERNAME",
"id": "duolingo-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"duolingo": {
"args": [
"-y",
"@udondan/duolingo@3.0.0",
"mcp"
],
"command": "npx",
"env": {
"DUOLINGO_JWT": "${input:duolingo-jwt}",
"DUOLINGO_USERNAME": "${input:duolingo-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.duolingo]
command = "npx"
args = ["-y", "@udondan/duolingo@3.0.0", "mcp"]
env = { "DUOLINGO_JWT" = "<DUOLINGO_JWT>", "DUOLINGO_USERNAME" = "<DUOLINGO_USERNAME>" }For AI agents
- Ask the user for: DUOLINGO_USERNAME, DUOLINGO_JWT. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: duolingo_get_user_info, duolingo_get_settings, duolingo_get_streak_info, duolingo_get_daily_xp_progress, duolingo_get_languages, duolingo_get_friends, duolingo_get_calendar, duolingo_get_leaderboard, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json