clickedu-mcp
A local MCP server for teachers to run Clickedu daily workflows from an AI assistant, with read tools and single confirmed write actions.
Read your weekly schedule, calendar events, subjects/rosters, session detail, current attendance, session notes, monthly accumulated attendance, one student's day-by-day log, class behaviour, evaluation/grades, inbox/chat, documents/files, and message recipients.
Write one explicit action at a time after preview and
confirm=true: mark one student's attendance, add one session observation, mark one student's homework, add one tutor conversation, justify one student's absences/lates in a date range, set one grade, recalculate one student's grades, set one subject remark, or send one message.Designed for local/stdio use with your own staff account and credentials; no bulk writes, autonomous runs, or student impersonation.
Click on "Deploy 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., "@clickedu-mcp show my schedule for today"
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.
clickedu-mcp
A local MCP server that lets a teacher run their Clickedu daily workflow from an AI assistant (Claude Desktop, Claude Code, or any MCP client): read your schedule, rosters, calendar, session detail, attendance, messages and files — and take single, confirmed write actions (mark one student's attendance, send one message).
Clickedu is a school management platform used by many schools,
each on its own subdomain (https://yourschool.clickedu.eu). This talks to your own
staff account over the same two-step login the website uses.
It is built to run on your own machine. It handles your students' data, so it runs locally over stdio and keeps your credentials, pass file and session cookie on your own disk — nothing is sent anywhere except Clickedu itself.
Ethics and scope
Use it only with your own account and the access your school already grants you.
Every write is one explicit action you confirm in the moment. There is no bulk mode, no loop over a class, and no scheduled/autonomous run.
Student impersonation (Clickedu's
popup_suplantar_alu) is not implemented and will not be accepted as a contribution.You are responsible for complying with your school's and your country's data rules.
Related MCP server: wilma
Quick start (runs on your laptop)
If you use Codex CLI, Claude Code, Cursor, or any tool that runs a local MCP server, this is the whole setup. It runs on your own laptop; your students' data never leaves your machine.
Install uv (one line — see its site), then:
# 1) one-time: enter your school URL, login and pass file
uvx --from git+https://github.com/elehmanndev/clickedu-mcp clickedu-mcp setup
# 2) add it to Codex (one line)
codex mcp add clickedu -- uvx --from git+https://github.com/elehmanndev/clickedu-mcp clickedu-mcpsetup stores everything under ~/.clickedu-mcp/ and tests your login before you
finish. For Claude Code the second line is
claude mcp add clickedu -- uvx --from git+https://github.com/elehmanndev/clickedu-mcp clickedu-mcp.
For Claude Desktop / Cursor, use the same command/args in their MCP config.
ChatGPT and the Codex cloud connector only accept remote MCP servers over OAuth, which cannot run locally like this. Local MCP (above) is the simple path; a remote deployment is far more involved and is out of scope for most teachers.
Tools
Read (return clean JSON):
Tool | Clickedu page |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| student file "Dia a dia" (each absence, late, homework, observation by date) |
|
|
|
|
| compose directory (read-only) |
Every read answers with a status: ok (has data), empty (read fine, nothing
there) or error (could not read: login, a Clickedu alert such as "No disposeu de
permisos", or a parsing problem). An error never looks like an empty list.
Write (gated — preview first, then confirm=true):
Tool | Action |
| set one student |
| write one student's observation for one session; optionally tick "Enviar correu electrònic" (emails the family) |
| set one student's homework |
| record one interview summary in a tutored student's file (Converses del tutor); participants ticked, never notified |
| justify one tutored student's absences/lates in a date range (Justificar en bloc); optionally also sessions where the register was not taken |
| set or clear one student's grade for one activity, section or the final grade (Avaluar, Guardar); sections and final are not recalculated |
| recalculate one student's section and final grades (the per-student "calcular" button) and save them |
| write one student's end-of-term subject remark, for the report card ( |
| send one message to one recipient |
mark_attendance re-reads the whole session form and flips only the one student, so
no one else's attendance is touched, then re-reads the page to verify the change.
Requirements
uv (Python toolchain and runner).
Your Clickedu pass file (the
arxiu de pasyour school issued you — the file you upload as the second login step).
Setup
git clone https://github.com/elehmanndev/clickedu-mcp
cd clickedu-mcp
cp .env.example .env # then edit .env
uv syncFill .env with your school URL, your login, and the absolute path to your pass file.
Leave CLICKEDU_ID_USUARI blank — it is scraped on first login and printed so you can
pin it. Confirm login works:
uv run python -c "from clickedu_mcp.session import get_session; get_session(); print('login ok')"Use it from your assistant
Register it as a stdio MCP server. Claude Code:
claude mcp add clickedu -- uv --directory /ABSOLUTE/PATH/TO/clickedu-mcp run clickedu-mcpClaude Desktop / other MCP clients (claude_desktop_config.json):
{
"mcpServers": {
"clickedu": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/clickedu-mcp", "run", "clickedu-mcp"]
}
}
}The server reads .env from its own directory, performs the two-step login
(username/password, then pass-file upload), reuses the cookie jar, and re-logs in
automatically when the session expires. Each page is decoded with the charset it
declares (most Clickedu pages are ISO-8859-15, some AJAX answers are UTF-8).
Notes
Parsers were validated against one school's Clickedu instance. The login flow and page structure are shared across Clickedu, but if a page parses empty on your school, open an issue with the (redacted) HTML and it can be adjusted.
get_inbox/get_chat_contactsmay add anotewhen a module is a broadcast hub or a JSON SPA with nothing to show for your account.get_class_behaviourwas only validated on a class with nothing recorded; filled reports are read generically from their table headers. Report any odd output.Grades are read-only. Writing grades, creating sections/activities, and family history/attachments are not implemented yet.
add_observation,mark_homeworkandmark_attendancesave the whole session form the way the page's Guardar button does, replaying every other student unchanged. Withnotify_family, Clickedu itself sends the email on save; the page does not confirm delivery.
Agent skills
skills/ ships one Agent Skill per teacher task, so the assistant is triggered by
what a teacher actually says (in Catalan and Spanish) and knows the right tool
chain and guardrails. Clients that support skills (Claude Code, Codex, Cursor)
pick them up from the repo.
Skill | Teacher says | Covers |
| passar llista · pasar lista · marcar falta · qui ha faltat | read attendance + mark absent/present (preview → confirm) |
| posar un retard · marcar retraso/tardanza · ha arribat tard | mark late (preview → confirm) |
| el meu horari · mi horario · què tinc avui | the weekly schedule |
| les meves classes · mis alumnos · llista de classe | subjects and class rosters |
| la sessió de · què toca · contingut de la sessió | one session's detail |
| enviar missatge a família · avisar a | send one message (preview → confirm) |
| missatges rebuts · mi bandeja · xat | read inbox and chat contacts |
| calendari · eventos | calendar events |
| documents · arxius · ficheros | documents and files |
| posa una observació · avisa la família · pon una observación | one student's session observation, optional family email (preview → confirm) |
| anota l'entrevista · resum de l'entrevista · conversa del tutor | one interview summary in a tutored student's file (preview → confirm) |
| justifica les faltes de · justificar en bloc · justificar faltas | one tutored student's absences/lates in a date range (preview → confirm) |
| no ha fet els deures · falta de deberes · marca deures | one student's homework for a session (preview → confirm) |
| resum mensual acumulat · quants retards porta el grup · incidències del grup | class monthly A/AJ/R/RJ and behaviour (read-only) |
| seguiment de l'alumne · dia a dia · quines faltes té · ha fet els deures | one student's day-by-day log (read-only) |
| les notes de · posa-li un 7 a · ponle un 7 en · notas de la 1ª evaluación | sections, activities, weights and grades; one grade or one student's recalculation at a time (preview → confirm) |
| observació del butlletí · comentario del boletín · nota per al tutor | one student's end-of-term subject remark (preview → confirm) |
Write skills (clickedu-assistencia, clickedu-retards, clickedu-observacions, clickedu-deures, clickedu-converses, clickedu-justificar, clickedu-avaluacio, clickedu-butlleti, clickedu-missatges)
encode the per-action preview-then-confirm and the no-bulk / no-impersonation rules.
Contributing
PRs welcome, with one rule: you are the author of what you submit and can explain and have run it. Keep secrets out of code, tests and fixtures. Do not add bulk writes, autonomous runs, or impersonation. See AGENTS.md for the tool and skill conventions.
License
MIT — see LICENSE.
Available Tools
25 toolsadd_observationA
Write ONE student's free-text observation ('Observacions') for ONE session, optionally ticking "Enviar correu electrònic" so Clickedu emails the family. Single action only.
Without confirm=True it returns a PREVIEW (session, student, the current and new text, whether the family gets an email) and changes nothing. Call again with confirm=True only after the teacher approves. Every other student's attendance, homework and observations are replayed unchanged.
The text replaces this student's observation for this session; to add to an existing one, include the existing text (shown in the preview).
Inputs: cgap (required), text (required), alu_id (required), sessio (required), +2 more. Returns: result
add_tutor_conversationA
Record ONE tutor conversation (an interview summary) in a student's file: 'Comunicació > Converses del tutor > Nova', with a title and a message, and the participants ticked. Only the student's tutor can do this.
The 'Notificar als participants' box is NEVER ticked: nobody is emailed.
text may be Markdown (e.g. a Granola summary): it is converted to plain text, because Clickedu shows the message literally. Headings, paragraphs, line breaks and list items are kept; #, ** and other markers are removed. The preview shows the exact text that will be saved.
participants: who took part, matched against the names or roles on the form ("alumne", "pare", "mare", or a name). Omit it to tick everyone listed (the student and every linked parent); the preview shows who is ticked.
Without confirm=True it returns a PREVIEW (student, participants, title, text) and saves nothing. Call again with confirm=True only after the teacher approves. After saving it re-reads the new conversation and checks title, message (accents included) and participants. alu_id comes from get_roster of the tutor's class.
Inputs: text (required), title (required), alu_id (required), confirm, +1 more. Returns: result
calculate_gradesA
Recalculate ONE student's section and final grades in the 'Avaluar' page (the per-student 'calcular' button) and save the result (Guardar). Clickedu computes the values from the grades already entered and the weights; this tool only stores what Clickedu computed. Single student only.
Without confirm=True it returns a PREVIEW of the computed values next to the stored ones and saves nothing; call again with confirm=True only after the teacher approves. The final grade the teacher chose by hand (the final select) is left as it is; only the calculated value next to it changes.
Inputs: alu_id (required), subject_id (required), confirm, term_id. Returns: result
get_attendanceA
Read the CURRENT attendance state for one session: each student with their status (present / absent / late), reason, and justified flag. cgap and sessio come from the attendance_link in get_session_detail (assistencia/index.php?cgap=...&sessio=...&n=...). Read-only.
Inputs: cgap (required), sessio (required), n. Returns: result
get_calendarA
Your Clickedu calendar events, each with date (YYYY-MM-DD), time, title, owner and event_id. view is "week" (default) or "month"; date (YYYY-MM-DD) picks the week/month to show, default today.
Inputs: date, view. Returns: result
get_chat_contactsC
Your chat contacts (Messaging/Chat).
Inputs: no named parameters. Returns: result
get_class_behaviourA
Behaviour record ('Comportament': incidències and mèrits) of one class group for a date range, as Clickedu's reports. status "empty" means the page was read and there is nothing recorded in that range. Read-only: it never creates or changes an incident or sanction.
class_id from get_subjects_and_rosters; dates YYYY-MM-DD, default the current school year. For one student's day-by-day items (behaviour notes included) use get_student_daily.
Inputs: class_id (required), date_to, date_from. Returns: result
get_documentsC
Your most recent documents (Documents registry).
Inputs: no named parameters. Returns: result
get_evaluationA
Read the 'Avaluar' page of one subject for one term: its sections and activities with their weights (%), and every grade already entered, per student and activity. Read-only; it never saves anything.
subject_id is the assignatura id (the number in the 'EvaluateTermly&id=' link that get_subjects_and_rosters returns, e.g. 3376). term_id picks the term (ids are listed in the answer as term_ids); omit it for the current one. Grades come from Clickedu as entered; a final grade that Clickedu computes in the page is not stored until the teacher saves, so it may be missing here.
Inputs: subject_id (required), term_id. Returns: result
get_filesC
Your files area (files/index.php).
Inputs: no named parameters. Returns: result
get_inboxC
Your communications inbox (Communication module).
Inputs: no named parameters. Returns: result
get_monthly_attendanceA
'Resum mensual acumulat' for one class group: every student on the list (also those with no incidents), per month and in total, with A (unjustified absences), AJ (justified absences), R (unjustified lates), RJ (justified lates) and number of sessions, plus percentages. R and RJ are separate.
class_id comes from get_subjects_and_rosters. months is a list of two-digit month numbers ("09", "10", ...); omit it to get Clickedu's default selection. To get the whole school year so far, pass every month from "09" to the current one. Read-only.
Inputs: class_id (required), months. Returns: result
get_rosterA
The student roster for one class group. class_id comes from get_subjects_and_rosters (the Classes/Students id).
Inputs: class_id (required). Returns: result
get_scheduleA
Your weekly teaching timetable: each class session with day, time, subject, group, room, co-teachers, and a link to the session detail.
Inputs: no named parameters. Returns: result
get_session_detailA
Detail for one class session (content, valoracio fields, attendance link). assig and sessio come from a session_link in get_schedule.
Inputs: assig (required), sessio (required). Returns: result
get_session_notesA
Read, for one class session, the per-student items besides attendance: homework (fets / no fets / no demanats) and its note, the free-text observation, and the other views the school has (Treball, Comportament, mobile use, reading...), with their available options. Also each student's "Enviar correu electrònic" (notify family) checkbox state. Read-only.
cgap and sessio come from the attendance_link of get_session_detail. View ids are read from the page, so use the ids this tool returns.
Inputs: cgap (required), sessio (required). Returns: result
get_student_dailyA
Day-by-day log of ONE student ('Dia a dia' in the student file): every recorded absence, justified absence, late, justified late, homework done/not done, work and behaviour item and teacher observation, each with date, time, subject and result, plus a count summary.
alu_id comes from get_roster, class_id from get_subjects_and_rosters. date_from / date_to are YYYY-MM-DD; default is the whole current school year. Read-only.
Inputs: alu_id (required), class_id (required), date_to, date_from. Returns: result
get_subjects_and_rostersA
Your subjects and class groups, with the class_id for each so you can pull a roster with get_roster, plus your tutor/course tool links.
Inputs: no named parameters. Returns: result
justify_absencesA
Justify ONE student's absences and lates in a date range, the way 'Detall d'assistència > Justificar en bloc' does in the student file. One student per call; never loops over a class.
Without confirm=True it lists what can be justified in the range and which items would be, and changes nothing. Each item has a key, date, time, subject and type: "absent" / "late" (unjustified), or with include_not_taken=True also "not_taken" (a session where the teacher did not take the register, shown by the page's eye icon). Call again with confirm=True only after the teacher approves.
keys picks items from that list; omit it to justify every absent/late item (and not_taken ones if include_not_taken). Justifying a not_taken session records the student as absent-with-justification there; only do it when the teacher says the student was not in class. note is the optional annotation (e.g. "Visita mèdica"). The 'email me a copy' box is never ticked. Dates are YYYY-MM-DD; date_to defaults to date_from. After saving it re-reads the range and reports each item's new state.
Inputs: alu_id (required), date_from (required), keys, note, +3 more. Returns: result
list_message_recipientsA
List message recipients from the compose directory (teachers, admin, contacts). Optional query filters by name substring. Use to find a recipient_id for send_message. Read-only.
Inputs: query. Returns: result
mark_attendanceA
Set ONE student's attendance for ONE session. Single action only.
Without confirm=True this returns a PREVIEW of the exact change and does not write anything. Call again with confirm=True only after the teacher approves. It replays every other student's current state unchanged and flips only this student, so no one else's attendance is touched.
status is "absent", "late" (retard), or "present" (clears any absence/late). reason_code is the motive code for absent/late (e.g. 10=MALALT, 11=METGE, 12=GESTIONS). justified marks an absent/late as justified.
Inputs: cgap (required), alu_id (required), sessio (required), status, +3 more. Returns: result
mark_homeworkA
Set ONE student's homework ('Deures') for ONE session: "fets", "no fets" or "no demanats", with an optional homework note, and optionally tick "Enviar correu electrònic" so Clickedu emails the family. Single action only.
Without confirm=True it returns a PREVIEW and changes nothing; call again with confirm=True only after the teacher approves. Every other student's data is replayed unchanged. An empty note keeps the existing homework note.
Inputs: cgap (required), alu_id (required), sessio (required), note, +3 more. Returns: result
send_messageA
Send ONE message to ONE recipient. Single action only.
Without confirm=True this returns a PREVIEW (resolved recipient, subject, body) and sends nothing. Call again with confirm=True only after the teacher approves. recipient_id is a directory id like 'u_1610' from list_message_recipients, or a plain email address.
Inputs: body (required), subject (required), recipient_id (required), confirm. Returns: result
set_gradeA
Set ONE grade for ONE student in the 'Avaluar' page of one subject and term: one activity or section (item = its item_id or code, as get_evaluation lists them, or "final" for the final grade). grade "" clears it. Single action only, like typing in one cell and pressing Guardar (not "Guardar i tancar"); every other grade is posted back unchanged.
Without confirm=True it returns a PREVIEW and changes nothing; call again with confirm=True only after the teacher approves. Clickedu does not recalculate section or final grades on save; that is the page's 'calcular' button, which this tool does not press. If the page was saved elsewhere after this read, the write stops instead of overwriting.
Inputs: item (required), grade (required), alu_id (required), subject_id (required), +2 more. Returns: result
set_subject_remarkA
Write ONE student's subject remark for one term, in the 'Observacions de les notes' page of the subject (the remarks that go to the report card or to the tutor). Replaces that one text; every other remark and grade is posted back unchanged. text "" clears it.
kind: "butlleti" (Observacions per al butlletí, printed on the report card the family sees) or "tutor" (Observacions per al tutor, internal). block: "observacions" (the subject's general remarks) or "aspectes" (Aspectes acadèmics, personals i evolutius).
Without confirm=True it returns a PREVIEW with the current and the new text and saves nothing; call again with confirm=True only after the teacher approves the exact text.
Inputs: text (required), alu_id (required), subject_id (required), kind, +3 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools target clearly distinct resources: grades (get_evaluation/set_grade/calculate_grades), attendance at different granularities (get_attendance/session, get_monthly_attendance/monthly, get_student_daily/student), and messaging (send_message/list_message_recipients). The main overlap is among the attendance tools and between get_student_daily and get_class_behaviour, but the descriptions explicitly cross-reference each other (e.g. 'for one student's day-by-day items use get_student_daily'), making selection clear.
All tools follow a consistent snake_case verb_noun pattern: get_*, set_*, mark_*, add_*, send_message, list_message_recipients, calculate_grades, justify_absences. There are no mixed conventions (no camelCase, no ambiguous bare nouns). The verb choice reflects the action (get for reads, set/mark/add for writes).
25 tools is at the heavy end of the scale. The breadth of the LMS (grades, attendance, behaviour, messaging, files, chat, calendar, tutor conversations) justifies most of them, but the surface is large enough that an agent must navigate many similar-looking attendance and messaging tools.
Coverage is strong across the teacher's core workflows: grades (read/set/calculate/clear), attendance (read/mark/justify/monthly/daily), behaviour, homework, observations, remarks, tutor conversations, and messaging. Minor gaps exist (no calendar event creation, no inbox message detail/reply, behaviour is read-only), but these are workaroundable for a teacher-facing tool.
Maintenance
Related MCP Connectors
Run the Geduk LMS from an AI assistant: courses, sessions, enrolments, users and catalogue.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Use your own Windows, Mac or Linux computer from ChatGPT, Claude, Cursor or Gemini CLI: run commands, read, write and search files, run long processes. Your computer only makes an outgoing connection (no open ports or VPN). Read-only mode, allowed folders, blocked commands and an action log keep you in control. Free plan available.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables natural-language, read-only access to a user's own learning-management account for courses, assignments and deadlines, lecture attendance, notices, grades, and syllabus evidence, including reading page/slide/cell locations inside PDF, Office, HWP/HWPX, HTML, and ZIP attachments. Runs locally over stdio or remotely over OAuth-protected Streamable HTTP for desktop and mobile clients, and can compare changes against a locally encrypted baseline.19MIT
- AlicenseAqualityAmaintenanceConnects AI assistants and agents to Finland's school system, enabling retrieval of schedules, homework, exams, grades, messages, absences, and related school information for all of a family's children across multiple accounts. It runs locally, logs in only to the school service, and cannot send messages or change data.22089MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to browse a Moodle-based university LMS using the user's own account — listing courses, upcoming deadlines, and course materials, reading file contents as text, generating file links, and downloading files. Runs locally over stdio or as a hosted HTTP connector for web chat clients.71MIT
- AlicenseNot gradedqualityBmaintenanceExposes 22 typed, read-only MCP tools that let an agent answer questions about a student's own Ed discussion threads, Moodle deadlines and course materials, Gmail inbox, and OnTrack task feedback. Runs locally over stdio with credentials captured once by a CLI login, so the agent never handles passwords and never writes to any service.33 npm1MIT