Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Duolingo

by udondanversion 2.3.0i★ 6iRuns on your computerRepository ↗

How to install

What it does

Duolingo profile, streak, XP, courses, words and friends; can switch the active course

  • Connects Runs on your computer
  • Account or key Needs DUOLINGO_JWT · 1 setting to fill in (DUOLINGO_USERNAME)
  • Category Games, sports, food & learning

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity10/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score22/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Duolingo. Follow https://mcp.popnx.com/i/udondan-duolingo.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 28, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Duolingo for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "duolingo": { "command": "npx", "args": [ "-y", "@udondan/duolingo", "mcp" ], "env": { "DUOLINGO_USERNAME": "your-value", "DUOLINGO_JWT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DUOLINGO_JWT, DUOLINGO_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Duolingo tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Duolingo key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • DUOLINGO_USERNAME Duolingo username

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "duolingo": {
          "command": "npx",
          "args": [
            "-y",
            "@udondan/duolingo",
            "mcp"
          ],
          "env": {
            "DUOLINGO_USERNAME": "your-value",
            "DUOLINGO_JWT": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Duolingo and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Duolingo or shows a Duolingo tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Duolingo yet

Duolingo runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Duolingo

  • You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)
  • You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)
  • You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)

B · Others in Games, sports, food & learning that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Duolingo for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user duolingo --env DUOLINGO_USERNAME=your-value --env DUOLINGO_JWT=your-value -- npx -y @udondan/duolingo mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DUOLINGO_JWT, DUOLINGO_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Duolingo tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Duolingo key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • DUOLINGO_USERNAME Duolingo username

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user duolingo --env DUOLINGO_USERNAME=your-value --env DUOLINGO_JWT=your-value -- npx -y @udondan/duolingo mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Duolingo listed as connected

  7. Try it

    Use Duolingo and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Duolingo or shows a Duolingo tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Duolingo for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "duolingo": { "command": "npx", "args": [ "-y", "@udondan/duolingo", "mcp" ], "env": { "DUOLINGO_USERNAME": "your-value", "DUOLINGO_JWT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DUOLINGO_JWT, DUOLINGO_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Duolingo tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Duolingo key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • DUOLINGO_USERNAME Duolingo username

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Duolingo settings, DUOLINGO_JWT, DUOLINGO_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Duolingo and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Duolingo or shows a Duolingo tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Duolingo key (create it on the maker’s site) · 1 setting(s) to fill in (DUOLINGO_USERNAME) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Duolingo for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "duolingo": { "type": "stdio", "command": "npx", "args": [ "-y", "@udondan/duolingo", "mcp" ], "env": { "DUOLINGO_USERNAME": "your-value", "DUOLINGO_JWT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DUOLINGO_JWT, DUOLINGO_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Duolingo tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Duolingo key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • DUOLINGO_USERNAME Duolingo username

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Duolingo settings, DUOLINGO_JWT, DUOLINGO_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Duolingo and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Duolingo or shows a Duolingo tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Duolingo💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user duolingo --env DUOLINGO_USERNAME=your-value --env DUOLINGO_JWT=your-value -- npx -y @udondan/duolingo mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "duolingo": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/duolingo",
        "mcp"
      ],
      "env": {
        "DUOLINGO_USERNAME": "your-value",
        "DUOLINGO_JWT": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "duolingo": {
      "command": "npx",
      "args": [
        "-y",
        "@udondan/duolingo",
        "mcp"
      ],
      "env": {
        "DUOLINGO_USERNAME": "your-value",
        "DUOLINGO_JWT": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "duolingo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@udondan/duolingo",
        "mcp"
      ],
      "env": {
        "DUOLINGO_USERNAME": "your-value",
        "DUOLINGO_JWT": "your-value"
      }
    }
  }
}

Values you fill in

  • DUOLINGO_USERNAME required env
    Duolingo username
  • DUOLINGO_JWT secret required env
    Duolingo JWT token (the jwt_token cookie of a logged-in browser session)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.udondan/duolingo
Downloads per weeki
73/wk
Connection
Runs on your computer
Latest versioni
2.3.0
Published to registryi
Nov 28, 2026
Code last changedi
Nov 27, 2026
Maker
udondan
Packages
npm: @udondan/duolingo
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 28, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account udondan, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/udondan-duolingo.svg)](https://mcp.popnx.com/en/servers/udondan-duolingo)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Games, sports, food & learningi

  • More stars than 96% of the other 1922 servers in this category
  • Published to the registry more recently than 99% of the other 1922 servers in this category
  • Basic checks equal to or better than 99% of the other 1922 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Duolingo safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DUOLINGO_JWT

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (2.3.0) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: LearnHouse, Anime Garden, WilmAI, Lumify Sports Intelligence, guessit-js

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

LearnHouse

Build, edit and run courses, learning paths and communities in your LearnHouse academy.

by learnhouseWidely used★ 2.5KUpdated 9 days ago

Connect now (has URL) · sign-in✓ service owner · learnhouse.app

Anime Garden

Anime Garden MCP for anime torrent discovery.

by yjl9903Growing★ 1.4KUpdated 24 days ago

Connect now (has URL)1 tools · light✓ animes.garden

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

by aikarjalGrowing↓ 1.4K/wk★ 89 Stars for the whole repoUpdated 19 days ago

Runs on your computer✓ service owner · wilm.ai

Lumify Sports Intelligence

Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.

by lumifyaiEarly★ 17Updated 4 months ago

Connect now (has URL)29 tools · medium✓ service owner · lumify.ai

guessit-js

Parse movie and TV filenames: title, year, season, episode, codecs, languages, release group.

by opensubtitlesGrowing↓ 1.4K/wk★ 15Updated 2 days ago

Connect now (has URL)3 tools · light✓ opensubtitles.com
Compared with similar ones
This one
Duolingo
LearnHouseAnime GardenWilmAILumify Sports Intelligenceguessit-js
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/35/54/43/34/45/5
LicenseMITAGPL-3.0AGPL-3.0MITMITLGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@udondan/duolingo

[!NOTE]

Unofficial community project. Not affiliated with, endorsed or authorized by Duolingo.

A TypeScript package that provides a client library for the Duolingo API, a command line interface (duolingo) and an [MCP](https://modelcontextprotocol.io) server for LLM agents (e.g. Claude).

Built natively in TypeScript against the unofficial Duolingo REST API — no third-party Duolingo library dependency.

Table of Contents

  • Getting Your JWT Token
  • CLI
  • Installation
  • Credentials
  • Commands
  • With Docker
  • MCP Server
  • Installation
  • Claude Desktop
  • Claude Code
  • Docker MCP Toolkit
  • Available Tools
  • Library
  • Installation
  • Quick Start
  • API Reference
  • Development
  • Disclaimer

Getting Your JWT Token

The CLI, the MCP server and the library all require a Duolingo JWT token for authentication.

  1. Log in to duolingo.com in your browser.
  2. Open the browser developer console (F12 → Console tab).
  3. Run:
   document.cookie.match(new RegExp('(^| )jwt_token=([^;]+)'))[0].slice(11);
  1. Copy the output — that is your JWT token.

Note: JWT tokens expire. If you get authentication errors, repeat the steps above.


CLI

CLI Installation
npm install -g @udondan/duolingo

duolingo --help

Or run it without installing: npx -y @udondan/duolingo --help.

The CLI and the MCP server are also available as the Docker image udondan/duolingo (amd64 and arm64), no Node.js needed. See With Docker.

Credentials

The CLI reads DUOLINGO_USERNAME and DUOLINGO_JWT from the environment. You can also put them in ~/.config/duolingo/config:

mkdir -p ~/.config/duolingo

cat > ~/.config/duolingo/config <<'EOF' DUOLINGO_USERNAME=your_username DUOLINGO_JWT=your_jwt_token EOF chmod 0600 ~/.config/duolingo/config

The file is only read when no other user can access it (mode 0600). Environment variables take precedence over the file.

Commands

Output is JSON by default. Use --format markdown (or -f markdown) for the same readable text the MCP tools return.

duolingo streak

duolingo --format markdown progress es duolingo known-words fr --username someone duolingo leaderboard --unit month

CommandDescription
user [-u name]Profile: name, bio, location, followers, languages
settingsAccount settings
streak [-u name]Current streak, daily goal and longest streak
xpXP earned and lessons completed today
languages [-u name] [-a]Languages being learned (-a for abbreviations)
courses [-u name]All courses, including Math, Chess and Music
switch-course [--from abbr]Make another language course the active one
friendsUsers the authenticated user follows
calendar [-u name]Recent activity of the current course
`leaderboard [--unit week\month]`Friends ranked by XP
shopShop items and prices
healthHearts and refill status
currenciesGem and lingot balances
streak-goalCurrent streak goal and checkpoints
language [-u name]Level, points and streak of a language (e.g. French)
progress Detailed progress in a language (e.g. fr)
known-topics [-u name]Learned topics
unknown-topics [-u name]Topics not learned yet
golden-topics [-u name]Fully mastered topics
reviewable-topics [-u name]Learned topics that need review
known-words [-u name]Words learned
learned-skills [-u name]Learned skills in learning order
voices [abbr]Text-to-speech voices
audio-url [abbr] [--voice v] [--no-random]Pronunciation audio URL
language-name [-u name]Full name of a language (fr → French)
abbreviation [-u name]Abbreviation of a language (French → fr)
mcpStart the MCP server (stdio)

Errors go to stderr and the CLI exits with code 1.

With Docker

Arguments after the image name are passed to the CLI. -e NAME without a value takes the variable from your shell:

docker run --rm -e DUOLINGO_USERNAME -e DUOLINGO_JWT udondan/duolingo streak

As an alias, the image behaves like an installed duolingo:

alias duolingo='docker run --rm -e DUOLINGO_USERNAME -e DUOLINGO_JWT udondan/duolingo'

duolingo --format markdown progress es

The config file ~/.config/duolingo/config is not visible inside the container, so pass the credentials as environment variables.


MCP Server

MCP Installation

The server is listed in the MCP Registry as io.github.udondan/duolingo.

Option A — run directly with npx (no install needed):

DUOLINGO_USERNAME=your_username DUOLINGO_JWT=your_jwt npx -y @udondan/duolingo mcp

Option B — install globally:

npm install -g @udondan/duolingo

DUOLINGO_USERNAME=your_username DUOLINGO_JWT=your_jwt duolingo mcp

Option C — run the Docker image:

docker run --rm -i -e DUOLINGO_USERNAME -e DUOLINGO_JWT udondan/duolingo

Without arguments, the image starts the MCP server. -i keeps stdin open, which the server uses to talk to the client.

Option D — clone and build from source:

git clone https://github.com/udondan/duolingo.git

cd duolingo bun install && bun run build node dist/cli.js mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "duolingo": { "command": "npx", "args": ["-y", "@udondan/duolingo", "mcp"], "env": { "DUOLINGO_USERNAME": "your_username", "DUOLINGO_JWT": "your_jwt_token" } } } }

With Docker instead of npx, the entry looks like this. -e NAME without a value passes the variable from env to the container:

{

"mcpServers": { "duolingo": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "DUOLINGO_USERNAME", "-e", "DUOLINGO_JWT", "udondan/duolingo" ], "env": { "DUOLINGO_USERNAME": "your_username", "DUOLINGO_JWT": "your_jwt_token" } } } }

Claude Code
claude mcp add duolingo -- npx -y @udondan/duolingo mcp

Then set the environment variables before starting Claude Code:

export DUOLINGO_USERNAME="your_username"

export DUOLINGO_JWT="your_jwt_token"

Docker MCP Toolkit

With the Docker MCP Toolkit of Docker Desktop, the server runs as a container behind the MCP Gateway. The gateway starts the container on demand and passes its tools on to the connected clients. The credentials are stored as secrets in Docker Desktop instead of in plain text in the client configuration.

Requires Docker Desktop with the MCP Toolkit enabled.

  1. Download the server definition docker-mcp.yml and add it to a Toolkit profile. The Toolkit only reads such files from its catalogs directory:
   mkdir -p ~/.docker/mcp/catalogs

curl -fsSL https://raw.githubusercontent.com/udondan/duolingo/main/docker-mcp.yml -o ~/.docker/mcp/catalogs/duolingo.yml

new profile "duolingo" ...

docker mcp profile create --name duolingo --id duolingo --server "file://$HOME/.docker/mcp/catalogs/duolingo.yml"

... or add it to an existing profile

docker mcp profile server add default --server "file://$HOME/.docker/mcp/catalogs/duolingo.yml"

The profile keeps the image at the version it had when it was added. Run profile server add again to update.

  1. Store the credentials as secrets (see Getting Your JWT Token):
   docker mcp secret set duolingo.username=your_username

docker mcp secret set duolingo.jwt=your_jwt_token

  1. Connect a client to the profile:
   docker mcp client connect claude-desktop --profile duolingo

docker mcp client connect --help lists more clients such as claude-code, cursor or vscode. This also works in Docker Desktop under _MCP Toolkit_.

docker mcp gateway run --profile duolingo --dry-run --verbose checks the setup without starting a client. The output should end with duolingo: (N tools).

Available Tools

All tools are read-only except duolingo_switch_course, which changes the active course of your account.

Account
ToolDescription
duolingo_get_user_infoProfile: username, name, bio, location, avatar, followers, learning language

| duolingo_get_settings | Notification and

Only the beginning is shown; read the rest in the repo