webuntis-mcp
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., "@webuntis-mcpWhat's my timetable 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.
webuntis-mcp
A Model Context Protocol (MCP) server that exposes your school's WebUntis data as tools. Connect it to Claude, Cursor, VS Code Copilot, or any other MCP-compatible AI client.
Features
20 tools covering:
Category | Tools |
Timetable | today, date range, specific element, current week |
Master data | subjects, teachers, rooms, classes, departments, holidays, timegrid, school years |
Student | homework, exams, absences |
Communication | news widget, inbox |
System | status data, latest import time |
Related MCP server: tbank-edu-mcp
Requirements
Node.js 18+
A WebUntis account (student, teacher, or parent)
Setup
1. Clone and install
git clone <this-repo>
cd webuntis-mcp
npm install
npm run build2. Find your school details
Open WebUntis in a browser. Your URL looks like:
https://mese.webuntis.com/WebUntis/?school=gymkirchheim#/basic/loginWEBUNTIS_BASEURL =
mese.webuntis.com(the hostname)WEBUNTIS_SCHOOL =
gymkirchheim(the?school=value)
3. Configure environment variables
Create a .env file or set the variables in your shell / MCP host config.
WEBUNTIS_SCHOOL defaults to hss and WEBUNTIS_BASEURL defaults to hss.webuntis.com, so you only need to set credentials.
Password login (most common)
WEBUNTIS_USERNAME=your.username
WEBUNTIS_PASSWORD=your.passwordQR / OTP / Secret login
Generate a secret from the WebUntis app: Profile → Data Access → Display QR Code. Use the secret value shown there.
WEBUNTIS_AUTH_MODE=secret
WEBUNTIS_USERNAME=your.username
WEBUNTIS_SECRET=BASE32SECRETHEREAnonymous login
Some schools allow anonymous read-only access:
WEBUNTIS_AUTH_MODE=anonymousOverriding school/server (if needed for a different school)
WEBUNTIS_SCHOOL=yourschool
WEBUNTIS_BASEURL=yourserver.webuntis.comUsage
Running directly
WEBUNTIS_SCHOOL=... WEBUNTIS_BASEURL=... WEBUNTIS_USERNAME=... WEBUNTIS_PASSWORD=... node dist/index.jsClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"webuntis": {
"command": "node",
"args": ["/absolute/path/to/webuntis-mcp/dist/index.js"],
"env": {
"WEBUNTIS_USERNAME": "your.username",
"WEBUNTIS_PASSWORD": "your.password"
}
}
}
}Kiro CLI
Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"webuntis": {
"command": "node",
"args": ["/absolute/path/to/webuntis-mcp/dist/index.js"],
"env": {
"WEBUNTIS_USERNAME": "your.username",
"WEBUNTIS_PASSWORD": "your.password"
}
}
}
}Cursor / VS Code
Add the same JSON block to your MCP settings file for that editor.
Available Tools
Timetable
Tool | Description |
| Your timetable for today |
| Your timetable for a date range ( |
| Your timetable for a full week (rich format with substitutions) |
| Timetable for any class/teacher/room by |
Master data
Tool | Description |
| All subjects |
| All teachers |
| All rooms |
| All classes for a school year |
| All departments |
| All holidays |
| Daily lesson time slots |
| Current school year |
| All school years |
Student
Tool | Description |
| Homework for a date range |
| Exams for a date range (optionally filter by class, include grades) |
| Your absence records for a date range |
Communication
Tool | Description |
| School news / messages of the day |
| Your WebUntis inbox |
System
Tool | Description |
| Lesson type color codes and cancellation statuses |
| Timestamp of last data sync from the school system |
Example prompts
"What do I have today?"
"Show me my homework for this week."
"Are there any exams coming up in October?"
"When are the next holidays?"
"What lessons does class 10A have on Monday?"
"Do I have any unexcused absences?"
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Let AI agents query data and act across all your business apps via MCP.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to access Canvas LMS academic data such as courses, assignments, grades, and events via MCP tools.-
- FlicenseNot gradedqualityCmaintenanceMCP server that connects AI assistants to T-Bank Education, enabling access to courses, timetable, deadlines, and user profile via tools like get_timetable, get_my_courses, and get_deadlines.-
- FlicenseNot gradedqualityCmaintenanceProvides MCP tools for searching student profiles, viewing marks/attendance, and finding low-attendance students. Enables AI assistants like Gemini to interact with college student data through natural language.-
- AlicenseNot gradedqualityBmaintenanceConnects Canvas LMS (and other school platforms) to AI agents, enabling them to monitor assignments, grades, announcements, and changes, then rank work, brief students, or build study plans via MCP tools.MIT