LingoChunk MCP
The LingoChunk MCP server connects a coding agent to your LingoChunk account, enabling it to act as a personalized language tutor grounded in your personal listening and learning history.
Access Personal Learning Data
Browse vocabulary – List your words with FSRS maturity states (known/learning/new/due), filterable by language, status, or CEFR level, with incremental sync support.
Look up words – Get detailed context (translation, gender, CEFR, FSRS state) for a specific word, with fallback to a shared lexicon.
List episode library – Browse ready-to-study episodes from your own submissions and followed collections, with cursor pagination.
Fetch transcripts – Get timestamped sentences with translations for any episode, sliceable by sentence position or time range.
Search examples – Find example sentences across your library by lemma or text substring.
Manage Audio
Get audio URLs – Retrieve short-lived presigned URLs for full native episode audio (supports HTTP Range for streaming).
Download audio clips – Cut and save native-audio snippets (up to 60s) to a local file, suitable for embedding in lessons.
Create & Manage Learning Materials
List decks – View all study decks with card counts (total/new/due) to select a target for card additions or exports.
Add flashcards – Insert vocabulary or custom front/back cards into your FSRS review queue.
Export Anki decks – Export a deck as an Anki
.apkgfile, with built-in polling; returns a download URL when ready.Save lessons – Store a self-contained HTML lesson (up to 10 MB) in your private LingoChunk library with a short-lived view URL.
AI-Driven Workflows (via skills)
lingochunk-lesson– Build comprehensive HTML lessons with exercise types like gap-fill, multiple-choice, listening, and blur-reveal.lingochunk-discuss– Engage in conversational discussions about episodes.
Allows exporting Anki decks from LingoChunk vocabulary and adding review cards.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LingoChunk MCPlook up 'perro' in my vocabulary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LingoChunk MCP
A Model Context Protocol server (and Claude Code plugin) that turns a coding agent into a language tutor grounded in your own LingoChunk listening history: your FSRS-graded vocabulary, native-audio transcripts and clips, and your library.
It is a thin client over the LingoChunk public API (/api/v1): read-only tools
for your vocabulary, transcripts and audio, plus write tools to add review cards,
export Anki decks and save lessons. The app stays closed source; this repo is
the client, the committed API spec, and the skills - and the skills are open to
contributions (see CONTRIBUTING.md).
Install:
/plugin marketplace add lingochunk/lingochunk-mcpin Claude Code (server plus lesson skills), ornpx -y @lingochunk/mcpas a standalone MCP server.
What it gives an agent
Twelve tools, each wrapping one public endpoint. The first seven are read-only; the last five write to your account.
Tool | Scope | What it does |
|
| Your vocabulary, aggregated per word with FSRS maturity (known/learning/new/due). Filterable; incremental sync via |
|
| One word: your own context plus a shared-lexicon gender/CEFR fallback. Grounds an LLM's guesses. |
|
| Your ready-to-study episodes (own + followed collections), cursor-paginated. |
|
| A submission's timestamped sentences + translations, sliceable by sentence or time range. |
|
| A short-lived presigned URL to the full native audio (Range-capable). |
|
| Example sentences across your library, by word ( |
|
| Cuts a short native-audio snippet, saves it to a local file, and returns |
|
| Your study decks with card counts, for picking a |
|
| Adds a card to your review queue (FSRS, starts new). Preferred: the |
|
| Exports a deck to Anki |
|
| Saves a lesson to your private library (100 max). Preferred: a structured |
|
| Permanently deletes one saved lesson by id (destructive; owner-scoped server-side). Mainly for iterating: re-saving creates a new lesson, so superseded drafts count against the 100-lesson cap. |
Plus three skills:
lingochunk-lesson- composes a coursebook-stylelesson.v1document (listen, text, vocabulary, one grammar point, graded exercises, review) from the tools above, filtering out words you already know; the app renders it natively and can export an offline HTML worksheet.lingochunk-cards- builds native-grade flashcards with thecard.v1kinds: verbatim transcript anchors, per-kind guidance (grammar = production cloze of the morpheme with a hint), and a quality rubric distilled from the known failure modes of AI-generated cards.lingochunk-discuss- a lighter, conversational "talk me through this episode" workflow.
Related MCP server: Levelang MCP Server
Prerequisites
Node.js >= 18.
A LingoChunk personal access token: in LingoChunk, open Settings -> API access, create a token, and grant the scopes you need (
vocab:read+content:readcover the read tools; addcards:write,decks:exportandlessons:writefor the write tools). The token is shown once and starts withlcp_. The 403 errors from the tools name the exact scope you are missing.
Use it
Option A - Claude Code plugin (the server plus the lesson skills)
This repo is its own plugin marketplace. In Claude Code:
/plugin marketplace add lingochunk/lingochunk-mcp
/plugin install lingochunk@lingochunk-mcpThe plugin's .mcp.json runs the published server via npx, pinned to the
exact version the plugin was released with (no build step needed), and reads
your token from the environment, so export it in the shell you start Claude
Code from:
export LINGOCHUNK_TOKEN=lcp_your_token_hereThe skills/ (lesson builder and episode discussion) are picked up
automatically with the plugin.
Option B - standalone MCP server (tools only, no skills)
claude mcp add --scope user lingochunk --env LINGOCHUNK_TOKEN=lcp_... -- npx -y @lingochunk/mcpFor development against a local checkout, run the built server directly:
npm install # installs deps and builds dist/ via the prepare script
claude mcp add lingochunk --env LINGOCHUNK_TOKEN=lcp_... -- node /absolute/path/to/lingochunk-mcp/dist/index.jsUse with other agents
Nothing in the server is Claude-specific: it is a standard stdio MCP server,
so any MCP-capable agent can run it. The recipe is always the same - run
npx -y @lingochunk/mcp with LINGOCHUNK_TOKEN in its environment - and
most clients express it as JSON like this:
{
"mcpServers": {
"lingochunk": {
"command": "npx",
"args": ["-y", "@lingochunk/mcp"],
"env": { "LINGOCHUNK_TOKEN": "lcp_your_token_here" }
}
}
}Where that config lives per client (differences noted):
Client | Where |
Claude Desktop | Settings -> Developer -> Edit Config ( |
Cursor |
|
Windsurf |
|
VS Code (Copilot agent mode) |
|
Gemini CLI |
|
Codex CLI |
|
Where your client supports it, prefer referencing an environment variable
over pasting the token into the config file (VS Code can prompt for it via
inputs; CLI clients usually inherit your shell environment).
The skills are not Claude-specific either: each one is a plain-markdown
playbook (skills/<name>/SKILL.md). Claude Code auto-loads them through the
plugin; with any other agent, point it at the file (or paste it as context)
and ask for a lesson. Every hard guarantee - the schema, verbatim transcript
quoting, sentence positions - is enforced server-side on save, so the
quality contract holds no matter which agent is driving.
Updating and checking versions
Two artefacts ship from this repo and version separately:
Artefact | Carries | Check the version with |
Claude Code plugin | the skills + the server launcher |
|
npm package | the MCP server (the tools) |
|
Update the plugin (Claude Code)
/plugin marketplace update lingochunk-mcp
/reload-pluginsThe first refreshes the marketplace; the second activates updated skills in the RUNNING session (new sessions load them automatically). To compare the installed version against what the marketplace offers:
claude plugin list --json --availableSet-and-forget alternative: /plugin -> Marketplaces -> select
lingochunk-mcp -> Enable auto-update (third-party marketplaces have it
disabled by default; official ones are on). With it enabled, Claude Code
refreshes at startup and prompts /reload-plugins when something changed.
An update only appears when the plugin's version was bumped - Claude Code
uses it as the cache key, which is why our release rule (CONTRIBUTING.md)
bumps it on every user-visible change.
Update the MCP server
The plugin pins the exact server version in its .mcp.json, so updating
the plugin updates the server too - no separate step. A running session
keeps its old server process; /reload-plugins (or a new session)
reconnects to the new one.
Standalone installs (claude mcp add ... npx -y @lingochunk/mcp, or the
other-agents configs above) are exposed to an npx trap: npx caches packages
in ~/.npm/_npx and does NOT re-check the registry once cached, so an
unpinned @lingochunk/mcp can run a stale server indefinitely. To check and
fix:
npx -y @lingochunk/mcp --version # what npx actually runs
npm view @lingochunk/mcp version # latest published
rm -rf ~/.npm/_npx # blunt fix: clear the npx cache, relaunchOr make your config always-fresh by using @lingochunk/mcp@latest (checks
the registry on every launch: ~1-3 s extra startup and a registry
dependency), or pin @lingochunk/mcp@<version> and move the pin yourself
when you want the update.
Configuration
Variable | Required | Default | Meaning |
| yes | - | Your personal access token ( |
| no |
| API origin override (for self-host/testing). |
| no |
| Where |
The token is only ever sent as an Authorization: Bearer header to the
configured origin; it is never written to disk or logged.
Building a lesson
Ask your agent something like "build me a lesson from yesterday's German episode"
or "quiz me on the words I'm learning". The lingochunk-lesson skill drives the
workflow: pick the source, pull a transcript slice, gather and filter your
vocabulary (never quizzing you on mastered words), then compose a structured
lesson.v1 document that the app renders natively - real episode audio, live
word state, crosslinks, Ask AI - with an offline HTML export available in-app.
A submission can hold many lessons, so different skills (or repeated runs) add
lessons side by side under the episode's Lessons tab. See
skills/lingochunk-lesson/.
Repository layout
src/ the MCP server (TypeScript, stdio)
skills/lingochunk-lesson/ the coursebook lesson skill
skills/lingochunk-cards/ the flashcard (card.v1) skill
skills/lingochunk-discuss/ the "discuss an episode" skill
skills/*/examples/ example lesson.v1 documents (CI-validated)
docs/skill-authoring.md how to write a new skill
docs/skill-template.md SKILL.md starting point
docs/integrations/fluent.md how to plug this into the fluent tutor plugin
spec/openapi-public-v1.json the committed public API spec (the contract)
scripts/validate-lesson.ts validate a lesson.v1 document against the spec
scripts/smoke.ts live smoke test (run by hand, never in CI)
test/ vitest unit tests (mocked fetch) + example validation
.claude-plugin/plugin.json Claude Code plugin manifest
.mcp.json MCP server definition for the pluginContributing a skill
Skills are markdown pedagogy, not code: a SKILL.md playbook plus an example
lesson.v1 document that CI validates against the committed spec. Anyone can
contribute one - a dictation drill, an exam rehearsal, a due-words review
session - and AI-drafted skills are explicitly welcome. Start with
CONTRIBUTING.md and
docs/skill-authoring.md.
Development
npm install # deps + build (prepare)
npm run build # compile src/ -> dist/
npm run typecheck # type-check without emitting
npm test # vitest unit tests (mocked fetch; no network) + skill example validation
npm run validate:lesson -- <doc.json> # validate a lesson.v1 document (Node 22.6+)spec/openapi-public-v1.json is the source contract; it is exported from the
LingoChunk repo (make generate-openapi-public) and refreshed here on each API
release. This copy was taken from LingoChunk commit 0db02377.
Live smoke test
scripts/smoke.ts exercises a real API and is not part of npm test. Build
first, then run it by hand with a real token:
npm run build
LINGOCHUNK_TOKEN=lcp_... [LINGOCHUNK_BASE_URL=http://localhost:8000] \
node --experimental-strip-types scripts/smoke.tsLicense
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lingochunk/lingochunk-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server