Skip to main content
Glama

WilmAI

Wilma, Finland's school system, with AI. Two ways to use it, both free and open source:

For your AI assistant or agent An MCP server, a CLI and agent skills. Ask Claude, ChatGPT, Codex, OpenClaw, Grok Bot or Meta Muse about school in plain words, or let your agent post one briefing for the whole family every morning.

Set up your assistant →

WilmAI Home, the desktop app A fast, modern Wilma app for students and parents: lessons, messages, homework, exams and grades in one view, a notification when something needs you, and AI if you want it. Free and open, now in beta, for Mac and Windows.

Download WilmAI Home → · More

npm downloads GitHub stars npm version MIT license

wilm.ai (English and Finnish) · Set up · WilmAI Home, the desktop app · Changelog

You: What do the kids have at school tomorrow?

Your assistant: Kiia has crafts, geography and math, 8:30–14:00, and her English exam is on Thursday (units 7–9). Eino starts at 9:15 with swimming, so pack a swimsuit and a towel.

You: Is there anything I need to do this week?

Your assistant: Two things. Eino's trip on Friday needs your permission: return the form by Wednesday. And Kiia's art lesson on Monday is marked as an absence, so explain it in Wilma.

WilmAI connects Wilma, the system Finnish schools use for schedules, homework, exams, grades and messages, to the AI assistant or agent you already use. It's an MCP server, a command-line tool and two agent skills, free and open source. There's also WilmAI Home, a desktop app of its own for students and parents.

Disclaimer: This is an independent open-source project by a parent, not affiliated with, endorsed by, or connected to Visma or the official Wilma service.

What you get

  • 20 MCP tools. Summary, schedule, homework, exams, grades and the gradebook, lesson notes and absences, class and teachers, messages with replies, news with attachments, printouts, and a logout. One call covers every child, across every Wilma the family uses.

  • A CLI for people and agents. Text in a terminal, JSON when a program reads it: the same JSON as the MCP tools. wilma summary --since yesterday returns only what's new, for daily runs.

  • It all runs on your computer. No WilmAI server, no account, no telemetry. It logs in only to your school's Wilma and can't send messages or change anything there. The password goes into a local login page, never into a chat, and is kept in a file only you can read or, if you prefer, in your computer's keychain.

  • Agent skills. wilma teaches an agent the tools and commands; wilma-triage turns them into a morning briefing that flags what needs doing and puts exams in the family calendar.

  • Any school on Wilma. The login page finds your school's Wilma by city or school name. Two-step verification and families with several Wilmas work.

  • Students can use it too. With their own Wilma login, a student asks about their own lessons, homework and exams.

Related MCP server: Vigilo MCP Server

Try it in one line

# Claude Code
claude mcp add --scope user wilma -- npx -y @wilm-ai/wilma-cli@2 mcp

# Codex
codex plugin marketplace add aikarjal/wilmai && codex plugin add wilma@wilmai

# Any MCP client
npx -y @wilm-ai/wilma-cli@2 mcp

# Just the terminal (Node.js 20.18 or newer)
npm i -g @wilm-ai/wilma-cli && wilma login && wilma summary

Then ask about school. The first time, a login page opens in your browser: pick your school's Wilma and log in. The login is saved on your computer.

Add WilmAI to your assistant

Step-by-step guides for parents, in English and Finnish: wilm.ai.

Assistant

How

Guide

Claude Desktop (Mac, Windows)

Download wilmai.mcpb and open it; Claude asks whether to install it

wilm.ai#claude

ChatGPT desktop app (Mac, Windows)

In Work mode (not Chat), send ChatGPT one message and it installs the plugin itself; or add the MCP server npx -y @wilm-ai/wilma-cli@2 mcp yourself

wilm.ai#chatgpt

Grok Bot

Send one message; the bot installs the CLI and skill itself

wilm.ai#grok

Meta Muse (not in Finland yet)

Send one message; Muse installs the CLI and skill itself, and asks you to save your Wilma login in its vault

wilm.ai#muse

OpenClaw

Send one message and OpenClaw installs the CLI and the wilma skill; a second one starts a daily briefing with wilma-triage

wilm.ai#openclaw

Claude Code

claude mcp add --scope user wilma -- npx -y @wilm-ai/wilma-cli@2 mcp

wilm.ai#claude-code

Codex

codex plugin marketplace add aikarjal/wilmai, then codex plugin add wilma@wilmai

wilm.ai#codex

Terminal

npm i -g @wilm-ai/wilma-cli, then wilma login

wilm.ai#cli

Not supported: Claude and ChatGPT on the web and in the phone apps. Your login stays on your own devices and WilmAI runs no server in between; for updates on your phone, use an agent with its own computer, such as OpenClaw or Grok Bot. Not yet available in Finland: Meta Muse (US and Canada so far), Instinct, and OpenAI dots on consumer plans.

What you can ask

In your own words; every question covers all your children.

  • "What do my kids have going on at school this week?"

  • "Is there any homework for tomorrow?"

  • "Are there any exams coming up? What should she study?"

  • "Has any teacher left a note about Eino this month?"

  • "Any new messages from school? Read the attached letter too."

  • "How did the last exams go? What was on the spring report card?"

Or give an agent a routine: "Every weekday at 7, post a school briefing for both kids to the family channel, and put new exams in the family calendar." The wilma-triage skill does exactly that.

What's inside

  • packages/wilma-client – TypeScript Wilma client (auth + parsing + tenant list)

  • packages/wilma-cli – CLI (wilma), browser login (wilma login), and MCP server (wilma mcp)

  • skills/ – Agent skills (wilma, wilma-triage); also the plugin root for Claude Code and Codex

  • apps/site – wilm.ai (Next.js, built as static files and served by Cloudflare Workers)

  • apps/home – WilmAI Home, the desktop app (Tauri), and its eval suite

Logging in

wilma login

Opens a one-time page on 127.0.0.1 in your browser. Pick your school's Wilma, log in, and the verified login is saved to ~/.config/wilmai/config.json (or $XDG_CONFIG_HOME/wilmai/config.json; override with WILMAI_CONFIG_PATH). The password is entered on that page — never in an agent's chat — and kept in that file, or in your computer's keychain if you choose (see Credentials & Privacy).

Children on different Wilmas (say, a city school and a private school or lukio)? Press Add another school's Wilma on the same page, or run wilma login again. The page works like WilmAI Home's: one row per Wilma with its children, where you can untick a child Wilma lists twice, log in again or remove a Wilma. Every saved login is used together: every command covers all your children. wilma accounts lists the saved logins and wilma accounts remove <number> removes one. If a parent's login and a child's own login on the same Wilma are both saved (with wilma login --tenant), that child is read through the parent's.

Wilma allows one session per account: when WilmAI logs in, Wilma logs you out in your browser, and the other way round. WilmAI keeps its session and logs in again only when Wilma has ended it. To use Wilma in the browser, run wilma logout or ask your assistant to log out of Wilma (wilma_logout). That ends WilmAI's session and keeps the login; the next command or question logs in again.

Without a browser (scripts, agents on cloud computers), first find the Wilma address:

wilma find-school <city or school>

then:

WILMA_PASSWORD=... wilma login --tenant <city> --username you@example.com
printf '%s' "$PASSWORD" | wilma login --tenant https://<school>.inschool.fi --username you@example.com --password-stdin

Or skip the saved login entirely by setting environment variables, e.g. in an agent's secret settings:

Variable

Value

WILMA_TENANT

Wilma address (https://<school>.inschool.fi) or city/school name

WILMA_USERNAME

Wilma username

WILMA_PASSWORD

Wilma password

WILMA_TOTP_SECRET

Authenticator setup key, if the account uses two-step verification

Running wilma without arguments in a terminal opens an interactive menu.

MCP server

wilma mcp

A stdio MCP server with these tools: wilma_summary, wilma_schedule, wilma_homework, wilma_upcoming_exams, wilma_grades, wilma_gradebook, wilma_contacts, wilma_lesson_notes, wilma_lesson_notes_summary, wilma_list_messages, wilma_read_message, wilma_list_news, wilma_read_news, wilma_get_news_attachment, wilma_list_printouts, wilma_get_printout, wilma_account, wilma_find_school, wilma_login, wilma_logout. They only read from Wilma, except that wilma_logout ends WilmAI's Wilma session. Every tool covers all children unless student is given, and the JSON is the same as the CLI's. If nobody is logged in, tools open the browser login and tell the assistant what to relay.

Any MCP client can run it with npx -y @wilm-ai/wilma-cli@2 mcp. For Claude Code: claude mcp add --scope user wilma -- npx -y @wilm-ai/wilma-cli@2 mcp (--scope user makes it available in every project).

Build the Claude Desktop extension locally with pnpm --filter @wilm-ai/wilma-cli build:mcpb (output: packages/wilma-cli/build/wilmai.mcpb). The release workflow attaches it to each GitHub release.

CLI

npm i -g @wilm-ai/wilma-cli

wilma summary                 # daily briefing for every child
wilma schedule tomorrow
wilma exams
wilma notes --days 7          # absences and teachers' feedback
wilma messages 27164611       # one message with its replies
wilma news 73291 download 1   # a file linked from a bulletin
wilma help <command>

Every command covers all children (--student narrows), prints JSON when another program reads it and text in a terminal, and gives times in Finnish time. Commands continue the last Wilma session instead of logging in each time. See the CLI README.

News JSON includes structured resources for every link in a bulletin. Any resource can be downloaded with wilma news <news-id> download <resource-id> --output <directory>. Wilma-hosted files download through the authenticated session; external URLs are fetched with an isolated, unauthenticated request that never carries Wilma credentials. The CLI does not guess whether a URL is a file — it attempts the download and reports downloaded or not_a_file (a web page answered, e.g. a sign-in wall).

Skills

npx skills add aikarjal/wilmai

From source

pnpm install
pnpm --filter @wilm-ai/wilma-client build
pnpm --filter @wilm-ai/wilma-cli build
node packages/wilma-cli/dist/index.js

Working on WilmAI or releasing it: DEVELOPING.md. Tests: TESTING.md.

WilmAI Home, the desktop app

School, sorted. WilmAI Home is a fast, modern Wilma app for students and parents, free and open, now in beta: messages, timetables, homework, exams and grades for every child in one view, a notification when something new needs you, and optional AI that reads each new message and picks out what needs you and by when.

Download for Mac or Windows · What it does · Releases

  • Children at different schools. When your children's schools are on different Wilmas (another town, an upper secondary school, a private school), sign in to each one, and every view shows all the children together.

  • Reads and writes. Reply to teachers, write new messages, sign up for parents' evenings and report absences, without opening Wilma. Pin the messages you keep coming back to.

  • In your language. The app is in English, Finnish or Swedish, and with AI on it translates messages, bulletins and teachers' notes as they arrive, into Finnish, Swedish, English, Ukrainian or Arabic.

  • For a student too. Sign in with a student's own Wilma account and choose "A student": the app then reads things from the student's side.

  • AI is optional. No AI (the default), OpenAI with your own API key (usually tens of cents a month; the app stops at a monthly limit you set), or local AI on an Apple Silicon Mac with 16 GB of memory, where nothing goes to an AI service.

  • Stays on your computer. No WilmAI server and no tracking. Your Wilma password goes only to your school's Wilma; the app keeps it only if you turn on staying signed in, and then in your computer's keychain (the macOS Keychain or Windows Credential Manager), like your OpenAI key.

  • Updates itself. New versions arrive in the app, signed with the project's update key; you choose when to install them.

Mac (Apple Silicon, macOS 13.3 or later) and Windows 10 or 11. The installers aren't signed by Apple or Microsoft yet, so the first start needs one extra step: on a Mac, System Settings → Privacy & Security → Open Anyway (the install window has a link); on Windows, More info → Run anyway. On Windows, notifications and local AI aren't there yet.

The source is in apps/home (Tauri, React and Rust), with its own README for building and the eval suite that measures how well the AI reads school messages.

Troubleshooting

fetch failed on a managed or corporate laptop

If any command fails with a TLS certificate error, your network is very likely intercepting TLS ("break-and-inspect") and re-signing certificates with a private root CA — standard on devices behind a corporate secure web gateway. Node ships its own CA bundle and ignores the operating system trust store, so a root your browser already trusts is invisible to Node.

The CLI reports the underlying cause code (for example UNABLE_TO_GET_ISSUER_CERT_LOCALLY) and the fix. In order of preference:

# 1. Node >=22.19 / >=24.6
NODE_USE_SYSTEM_CA=1 wilma summary

# 2. Node >=22.15 (the flag has wider version support than the env var)
node --use-system-ca "$(command -v wilma)" summary

# 3. Point Node at the proxy root explicitly
NODE_EXTRA_CA_CERTS=/path/to/root-ca.pem wilma summary

Never set NODE_TLS_REJECT_UNAUTHORIZED=0. It disables certificate verification entirely, on a network that is already inspecting your traffic.

Two things that make this hard to recognise:

  • A working npm install proves nothing. Inspection policies commonly exempt registry.npmjs.org, so installing the CLI succeeds while every Wilma request fails.

  • curl and your browser work fine, because they use the OS trust store. Only Node is affected, which makes the network look healthy.

Credentials & Privacy

Your Wilma login is stored locally in ~/.config/wilmai/config.json (or $XDG_CONFIG_HOME/wilmai/config.json), readable only by your user account. By default the password is in that file too, obfuscated (not encrypted): one file, the same on every platform, and it works on servers and in unattended runs.

Prefer the keychain? Since 2.5.0 the CLI can keep the password and the authenticator key in your operating system's keychain instead: the macOS Keychain, Windows Credential Manager, or a Linux desktop's Secret Service.

wilma config secrets auto   # the keychain where there is one, the file where there isn't
wilma config secrets        # where each saved login's password is now
wilma config secrets file   # back to the file

Switching moves your saved logins without logging in again. On a server, a cloud computer or anything that runs unattended (cron, CI, an agent's own computer), keep the file: with nobody logged in, a keychain can be locked. That includes a Mac used as a server, such as a Mac mini running an agent: on a Mac auto always picks the Keychain, which can be locked after a restart or over SSH, and the next new Wilma login would then fail. WilmAI Home keeps its passwords and your OpenAI key in the keychain by itself. Details: packages/wilma-cli/README.md.

The current Wilma session is kept next to the config (wilmai-sessions.json, readable only by you, at most 6 hours) so commands don't log in each time; set WILMAI_NO_SESSION_CACHE=1 to turn that off. wilma logout ends the session in Wilma and removes it, keeping the login; wilma config clear removes both, and any keychain entries.

The CLI, the MCP server and the Claude Desktop extension have no server behind them: they log in only to your school's Wilma. Besides Wilma, they open links from school bulletins when you ask for an attachment (only public websites, never with your Wilma login), and once a day they ask npm whether a newer version is out (not when started through npx, which fetches the newest version itself; WILMAI_NO_UPDATE_CHECK=1 turns it off). When an AI assistant uses WilmAI, the school information it reads goes to that assistant's provider, the same as pasting it into a chat; your password does not.

Do not share your config file. It accesses the same data as the official Wilma app or website; it is your responsibility to handle that data appropriately.

License

MIT. Questions, bugs and ideas: GitHub issues. If WilmAI is useful to you, a star helps other parents find it.

Available Tools

20 tools
wilma_accountWilma account statusA
Read-onlyIdempotent

Which Wilma logins are connected: each one's Wilma, username, role ("guardian", or "student" for a student's own login) and the children it lists. Families with children on different Wilmas connect one login per Wilma (wilma_login adds another). When two logins on one Wilma list the same child (a parent's and the child's own), tools read that child through the guardian's login, and the other login's entry for the child says readVia. A child unticked on the login page (a profile Wilma lists twice) has hidden: true and isn't read.

Inputs: no named parameters.

wilma_contactsClass and teachersA
Read-onlyIdempotent

Each child's class (e.g. 9A), class teacher and other supervisors with their role as Wilma names it (e.g. Luokanvalvoja), and the child's own teachers as Wilma's message recipients list them, with the subjects each teaches the child in this and next week's timetable (empty when none). Other school staff aren't included. Lessons with times and rooms are in wilma_schedule.

Inputs: student.

wilma_find_schoolFind a school's WilmaA
Read-onlyIdempotent

Search Finland's Wilma addresses by city or by school or organisation name. Most city schools share their city's Wilma (big cities don't list each school), while many colleges, private schools and small municipalities' schools have their own. Use it to help the user pick their Wilma, e.g. when setting WILMA_TENANT; several can serve one city, so ask which is theirs.

Inputs: query (required).

wilma_get_news_attachmentGet bulletin attachmentA

Fetch a file linked from a bulletin (e.g. a PDF letter or menu) so you can read it. Returns the file content when it is a file, or 'not_a_file' with the URL when the link is a web page. Set save=true to also save it to the user's Downloads folder.

Inputs: news_id (required), resource_id (required), save, student.

wilma_get_printoutGet printoutA

Fetch one printout PDF so you can read it. Set save=true to also save it to the user's Downloads folder.

Inputs: id (required), save, student.

wilma_gradebookGradebookA
Read-onlyIdempotent

Get each child's gradebook (Suoritukset): completed courses and their grades, grouped by subject (subject > syllabus > course), with course codes, credits and completion dates, plus term and school-year (report card) grades. Use it for course and report-card grades; single exam grades are in wilma_grades.

Inputs: student.

wilma_gradesExam gradesA
Read-onlyIdempotent

List each child's graded exams, newest first: the date, exam name, subject, grade as Wilma shows it (e.g. 8+, 9½, S), the teacher's notes and when a guardian marked it seen. It reads the exams Wilma's front page lists (Wilma decides how far back that goes); with from, Wilma's list of past exams for that period instead, as far back as the school keeps them, including exams still waiting for a grade (grade: null). For course, term and report-card grades use wilma_gradebook.

Inputs: to, from, limit, student.

wilma_homeworkHomeworkA
Read-onlyIdempotent

List the homework teachers have entered for each child, newest first: the date, subject, teacher and what to do. It reads the homework Wilma's front page lists (Wilma decides how far back that goes). wilma_summary already includes the last few days' homework.

Inputs: limit, student.

wilma_lesson_notesLesson notes and absencesA
Read-onlyIdempotent

Lesson notes (merkinnät) teachers logged: absences, lateness, and feedback such as praise or missing books or homework, with the teacher's own words when given. One day (default today), the last N days, or a period with from/to, which can reach ahead (a teacher may note a make-up exam on a coming lesson).

Inputs: to, date, days, from, +1 more.

wilma_lesson_notes_summaryAbsences and feedback summaryA
Read-onlyIdempotent

Lesson notes counted by kind (e.g. absences for health reasons, unexplained absences, lateness, praise, missing study materials): this school year by default, or from a date.

Inputs: to, from, student.

wilma_list_messagesList messagesA
Read-onlyIdempotent

Wilma messages, newest first (subject, sender, date, id, unread, replyCount). The appointments folder holds event invitations (parents' evenings, learning discussions) with the family's answer as Wilma lists it: invitationStatus ("Applied": signed up, the time in invitationInfo; "ExpiredReg": sign-up closed; null: no answer shown). Use wilma_read_message for the full text, and for an invitation's time slots.

Inputs: limit, folder, student.

wilma_list_newsList school newsA
Read-onlyIdempotent

School bulletins (tiedotteet): the newest dated ones, then pinned ones (pinned: true, e.g. the school-year bulletin), and with include_older also older bulletins (archived: true). Use wilma_read_news for the full text and attachments. unavailable: ["news"] means this Wilma doesn't show this account its bulletins, which isn't the same as having none.

Inputs: limit, student, include_older.

wilma_list_printoutsList printoutsA
Read-onlyIdempotent

PDF documents the school offers (Tulosteet), such as report cards or absence reports. Fetch one with wilma_get_printout.

Inputs: student.

wilma_loginLog in to WilmaA
Idempotent

Open a login page in the user's browser to connect a Wilma account, or add another one (for a child at a school with a different Wilma). The password is entered on that page, never in the chat.

Inputs: no named parameters.

wilma_logoutLog out of WilmaA
Idempotent

End WilmAI's Wilma session, as Wilma's own Log out does. Wilma allows one session per account, so use this when the user wants to use Wilma in their browser or asks to log out. The login stays saved: the next Wilma tool call logs in again, and that ends the user's session in the browser, so don't call other Wilma tools afterwards unless the user asks.

Inputs: no named parameters.

wilma_read_messageRead messageA
Read-onlyIdempotent

Full text of one Wilma message, including thread replies.

Inputs: id (required), student.

wilma_read_newsRead news bulletinA
Read-onlyIdempotent

Full text of one bulletin plus its linked resources (attachments and links). Fetch a resource with wilma_get_news_attachment.

Inputs: id (required), student.

wilma_scheduleLesson scheduleA
Read-onlyIdempotent

List each child's lessons for one day or a school week: today, the next school day, this or next week (Monday to Friday), a date, or the next given weekday; or any other week or period with from/to (e.g. a week further ahead, or several weeks to see the usual school days). Lessons come in time order with the date, start and end time, subject, teacher and room (when Wilma gives one); a day without school has no lessons. Exams and homework are in wilma_upcoming_exams and wilma_homework.

Inputs: to, date, from, when, +2 more.

wilma_summarySchool summaryA
Read-onlyIdempotent

Daily briefing per child: today's and the next school day's lessons, upcoming exams (with start times when given), recent homework, lesson notes since the previous school day (teachers' feedback and absences), recent bulletins, and recent and unread messages (ids, unread, replyCount; event invitations with invitationStatus, as in wilma_list_messages). What Wilma didn't give is listed in unavailable ("news": this Wilma doesn't show this account its bulletins). The best starting point for any question about school.

Inputs: days, since, student.

wilma_upcoming_examsUpcoming examsA
Read-onlyIdempotent

List each child's exams from today on that have no grade yet, soonest first: the date, start time (when the school gives one), exam name, subject, topic (what to study) and teacher. Graded exams are in wilma_grades.

Inputs: limit, student.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools target distinct Wilma resources or actions, and the descriptions explicitly distinguish overlapping areas such as homework vs. lesson notes, grades vs. gradebook, and news list/read/attachment. Some overlap remains around summary vs. individual listing tools and lesson_notes vs. lesson_notes_summary, but the boundaries are generally well explained.

    Naming Consistency4/5

    All tools use a consistent wilma_ prefix and snake_case, with predictable list/get/read verbs for retrieval tools. A few tools are noun-only (wilma_homework, wilma_schedule, wilma_grades, wilma_contacts), which is a minor deviation from a strict verb_noun pattern but remains readable and predictable.

    Tool Count4/5

    The 20 tools cover a broad school-portal domain and each has a recognizable purpose, but the set is slightly larger than the ideal 3-15 range and includes several closely related retrieval tools. It is reasonable for the breadth of Wilma, though not as tightly scoped as an ideal toolset.

    Completeness4/5

    The surface covers login/account discovery, schedules, homework, exams, grades, gradebook, lesson notes, messages, news, printouts, and contacts, giving strong read coverage of the portal. Minor gaps remain around write actions such as sending or replying to messages and acting on invitations, which agents cannot perform through this toolset.

    Maintenance

    ActivityActive
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to securely access a guardian's SchoolSoft data—such as schedules, lunch menus, assignments, news, and subjects—using a BankID-authenticated session without exposing credentials.
      1
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Enables an agent to read and act on a Norwegian school parent portal through its unofficial API, covering message threads and attachments, timetables, absences, consent forms, news and scheduling events. Tokens are stored locally, and raw GET tools allow further endpoint exploration.
      12
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to access Librus Synergia school data, including grades, attendance, timetables, homework, calendar, announcements, messages, formative assessments, school-year history, class-free days, and student information. Supports multiple logins and self-hosted HTTP access for agents on other machines.
      32
      669 PyPI
      15
      MIT