The unified Model Context Protocol server for French school platforms.
Connect Pronote (+ ENT), ÉcoleDirecte, and Skolengo to your AI assistant in seconds.
Available on PyPI: pypi.org/project/edu-mcp
flowchart LR
AI["AI Assistant<br/>Antigravity · Claude · Cursor · Windsurf"] <-->|MCP stdio| Server["Edu MCP<br/>(uvx edu-mcp)"]
Server --> P1["Pronote (+ ENT)"]
Server --> P2["ÉcoleDirecte"]
Server --> P3["Skolengo"]
Server --- Store[("~/.edu_mcp/.env (0600)<br/>Session Cache & Device UUID")]
Important
Privacy & Security by Design
- Zero-leak login: Pronote & Skolengo authenticate directly in your native browser — passwords never enter the chat.
- Read-only messaging: Your AI can read school announcements and discussion threads, never send messages.
- Local-only storage: Tokens and session caches stay on your machine in
~/.edu_mcp/.env(chmod 600).
Paste this into your MCP configuration file — no cloning or manual Python setup required:
{
"mcpServers": {
"edu-mcp": {
"command": "uvx",
"args": ["edu-mcp"]
}
}
}Where is my MCP config file? (Antigravity, Claude Desktop, Cursor, Windsurf, VS Code)
| Client | Configuration Path |
|---|---|
| Antigravity | ~/.gemini/config/mcp_config.json |
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code (Copilot) | .vscode/mcp.json |
Alternative: Run via pip or from a local git clone
pip install edu-mcp
edu-mcpOr from a cloned repository:
{
"mcpServers": {
"edu-mcp": {
"command": "python",
"args": ["-m", "edu_mcp"],
"cwd": "/path/to/edu-mcp"
}
}
}Just ask your assistant:
"Connect my Pronote / ÉcoleDirecte / Skolengo account"
- The assistant calls
edu_setup_accountand guides you through the exact flow for your platform. - Pronote / Skolengo: your browser opens on the official login page; sign in normally (ENT + 2FA) and your durable token is captured automatically.
- ÉcoleDirecte: sign in once with QCM 2FA verification; trusted device tokens (
cn/cv) are saved for future sessions.
| Category | What Your Assistant Can Do |
|---|---|
| Schedule | Fetch daily/weekly timetables, room changes, cancellations, and lesson content; export .ics or .pdf. |
| Homework | List upcoming assignments with attachments and mark homework as done/pending. |
| Grades & Analytics | Read grades, subject & class averages, skill evaluations, report cards, simulate grades, and track progression. |
| School Life | Check absences, delays, punishments, canteen menus, and school news. |
| Messaging | Read unread threads and announcements (strictly read-only). |
| Parent Mode | List linked children and switch active child seamlessly. |
Full MCP Tool, Resource & Prompt Reference (25+ tools)
| Tool | Description |
|---|---|
edu_list_platforms |
List supported platforms and search Skolengo schools. |
edu_setup_account |
Chat-guided setup for Pronote, ÉcoleDirecte, or Skolengo. |
edu_get_user_info |
Active user profile (name, class, school, account type). |
edu_get_timetable |
Timetable lessons for a date range. |
edu_get_homework / edu_set_homework_done |
Homework list and completion toggle. |
edu_get_grades / edu_get_averages |
Individual grades and subject/class averages. |
edu_get_absences |
Absences, delays, and punishments. |
edu_get_news |
School announcements and news items. |
edu_get_discussions / edu_get_discussion_messages |
Read-only messaging threads and messages. |
edu_list_children / edu_select_child |
Multi-child switching for parent accounts. |
Pronote-specific & Analytics tools (
pronote_weekly_radar,pronote_simulate_grade,pronote_analyze_progression,pronote_get_evaluations,pronote_get_report,pronote_get_canteen_menu,pronote_export_ical,pronote_export_timetable_pdf,pronote_download_attachment) are also registered.
- Resources:
pronote://student/profile,pronote://timetable/today,pronote://homework/pending,pronote://grades/overview,pronote://messages/unread,pronote://academics/weekly-radar - Prompts:
pronote_daily_briefing,pronote_homework_planner,pronote_period_review
Environment Variables (resolved from PRONOTE_ENV_FILE, ~/.edu_mcp/.env, or local .env)
| Variable | Description |
|---|---|
EDU_PLATFORM |
Active platform: pronote, ecoledirecte, or skolengo. |
PRONOTE_MCP_HOME |
Custom directory for .env, session cache, and logs (default: ~/.edu_mcp). |
PRONOTE_ENV_FILE |
Explicit path to a .env file. |
PRONOTE_URL |
Full Pronote web space URL (eleve.html or parent.html). |
PRONOTE_USERNAME / PRONOTE_TOKEN |
Username and durable token (auto-generated). |
PRONOTE_ACCOUNT_PIN |
Optional 4-digit 2FA PIN. |
EDU_ED_CN / EDU_ED_CV |
ÉcoleDirecte trusted 2FA device tokens. |
EDU_SKOLENGO_TOKEN / EDU_SKOLENGO_REFRESH_TOKEN |
Skolengo OAuth2 tokens. |
PRONOTE_DOWNLOAD_DIR |
Directory for downloaded attachments and exports (default: ./downloads). |
git clone https://github.com/jujukingg/edu-mcp.git
cd edu-mcp
pip install -e ".[dev]"
pytest tests/unit -vReleased under the MIT License.