Skip to main content
Glama

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-mcp

setup 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

get_schedule

assignatures/el_meu_horari.php

get_calendar

calendari/index.php

get_subjects_and_rosters

go/Index.php?ctr=Subjects/Subjects

get_roster(class_id)

go/Index.php?ctr=Classes/Students&id=

get_session_detail(assig, sessio)

assignatures/sessio.php

get_attendance(cgap, sessio, n)

assistencia/index.php (current state)

get_inbox

go/Index.php?ctr=Communication/Communication

get_chat_contacts

go/Index.php?ctr=Messaging/Chat

get_documents

go/Index.php?ctr=Documents/DocumentsRegistry&do=Last

get_files

files/index.php

get_session_notes(cgap, sessio)

assistencia/index.php (homework, observation and other per-student views of a session)

get_monthly_attendance(class_id, months)

go/Index.php?ctr=Classes/Attendance&do=MonthlyAccumulated (A / AJ / R / RJ per student and month)

get_student_daily(alu_id, class_id, date_from, date_to)

student file "Dia a dia" (each absence, late, homework, observation by date)

get_class_behaviour(class_id, date_from, date_to)

go/Index.php?ctr=Classes/Behaviour (incidents and merits)

get_evaluation(subject_id, term_id)

go/Index.php?ctr=Evaluate/EvaluateTermly (sections, activities, weights, grades)

list_message_recipients(query)

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

mark_attendance(cgap, sessio, alu_id, status, reason_code, justified, confirm)

set one student absent, late or present for one session

add_observation(cgap, sessio, alu_id, text, notify_family, confirm)

write one student's observation for one session; optionally tick "Enviar correu electrònic" (emails the family)

mark_homework(cgap, sessio, alu_id, status, note, notify_family, confirm)

set one student's homework fets / no fets / no demanats for one session

add_tutor_conversation(alu_id, title, text, participants, confirm)

record one interview summary in a tutored student's file (Converses del tutor); participants ticked, never notified

justify_absences(alu_id, date_from, date_to, keys, include_not_taken, note, confirm)

justify one tutored student's absences/lates in a date range (Justificar en bloc); optionally also sessions where the register was not taken

set_grade(subject_id, alu_id, item, grade, term_id, confirm)

set or clear one student's grade for one activity, section or the final grade (Avaluar, Guardar); sections and final are not recalculated

calculate_grades(subject_id, alu_id, term_id, confirm)

recalculate one student's section and final grades (the per-student "calcular" button) and save them

set_subject_remark(subject_id, alu_id, text, kind, block, term_id, confirm)

write one student's end-of-term subject remark, for the report card (butlleti, families read it) or the tutor

send_message(recipient_id, subject, body, confirm)

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 pas your 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 sync

Fill .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-mcp

Claude 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_contacts may add a note when a module is a broadcast hub or a JSON SPA with nothing to show for your account.

  • get_class_behaviour was 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_homework and mark_attendance save the whole session form the way the page's Guardar button does, replaying every other student unchanged. With notify_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

clickedu-assistencia

passar llista · pasar lista · marcar falta · qui ha faltat

read attendance + mark absent/present (preview → confirm)

clickedu-retards

posar un retard · marcar retraso/tardanza · ha arribat tard

mark late (preview → confirm)

clickedu-horari

el meu horari · mi horario · què tinc avui

the weekly schedule

clickedu-classes

les meves classes · mis alumnos · llista de classe

subjects and class rosters

clickedu-sessio

la sessió de · què toca · contingut de la sessió

one session's detail

clickedu-missatges

enviar missatge a família · avisar a

send one message (preview → confirm)

clickedu-safata

missatges rebuts · mi bandeja · xat

read inbox and chat contacts

clickedu-calendari

calendari · eventos

calendar events

clickedu-documents

documents · arxius · ficheros

documents and files

clickedu-observacions

posa una observació · avisa la família · pon una observación

one student's session observation, optional family email (preview → confirm)

clickedu-converses

anota l'entrevista · resum de l'entrevista · conversa del tutor

one interview summary in a tutored student's file (preview → confirm)

clickedu-justificar

justifica les faltes de · justificar en bloc · justificar faltas

one tutored student's absences/lates in a date range (preview → confirm)

clickedu-deures

no ha fet els deures · falta de deberes · marca deures

one student's homework for a session (preview → confirm)

clickedu-tutoria

resum mensual acumulat · quants retards porta el grup · incidències del grup

class monthly A/AJ/R/RJ and behaviour (read-only)

clickedu-alumne

seguiment de l'alumne · dia a dia · quines faltes té · ha fet els deures

one student's day-by-day log (read-only)

clickedu-avaluacio

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)

clickedu-butlleti

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 tools
add_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

    B3.4/5.0

    Scored across 25 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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).

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      19
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Connects 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.
      2
      20
      89
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      7
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes 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 npm
      1
      MIT