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., "@Levelang MCP ServerTranslate 'I need a taxi' into French at a beginner level"
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.
levelang.app MCP Server
An MCP server that exposes the levelang.app translation API to AI assistants. Unlike standard translators that always produce native-speaker complexity, levelang.app constrains translations to the learner's proficiency level.
Features
Level-Aware Translation — Translate text at beginner, intermediate, advanced, or fluent proficiency with grammar constraints enforced per level
Multi-Language Support — French, German, Italian, Mandarin Chinese, Cantonese, with transliteration where applicable
Mood Control — Casual, polite, and formal translation styles
Language Discovery — Query available languages, levels, and moods dynamically from the backend
MCP Resources —
levelang://languagesandlevelang://languages/{code}for pulling language configs into contextStateless Wrapper — No database, no shared state; translates MCP tool calls into backend HTTP requests
Quick Start
Prerequisites: Python 3.12+, uv, a running Levelang backend (local or remote)
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. A hammer icon in the chat input indicates MCP tools are available.
The same configuration works for Cursor (.cursor/mcp.json) and Claude Code.
Example Usage
Once connected, ask your AI assistant things like:
Translate "I would like to order a coffee, please" into French at the beginner level.
What languages does Levelang support?
Compare how "I'm worried the new rules might prevent us from finishing on time" translates into German at beginner vs advanced level.
Configuration
All configuration is through environment variables, set in the env block of your MCP client config.
Variable | Required | Default | Description |
| No |
| Levelang backend URL |
| Depends | — | Service key ( |
| No |
| Transport: |
| No |
| Port when using HTTP transport |
LEVELANG_API_KEY is required when connecting to a remote backend (staging/production). It may be omitted for local development if the backend has auth disabled.
Local development (no auth):
Staging (requires service key):
Development
Setup
This enables pre-commit (auto-fix lint + format) and pre-push (lint + format check + tests) hooks.
Running Tests
MCP Inspector
The MCP Inspector provides a web UI for browsing and invoking tools and resources:
Project Structure
Architecture
The MCP server is a stateless wrapper. It translates MCP tool calls into HTTP requests to the Levelang backend and formats responses as human-readable text for the LLM. It does not share code, database connections, or deployment with the backend.
License
MIT