MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Unofficial read-only access to Schulportal Hessen: substitutions, timetable, calendar, messages
Skills that teach the AI this kind of work; they work alongside this one
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
A privacy-first app that strips AI watermarks from content you own.
Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 6/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 18/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Lanis (Schulportal Hessen). Follow https://mcp.popnx.com/i/udondan-lanis.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 28, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Lanis (Schulportal Hessen) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Lanis (Schulportal Hessen) for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lanis": { "command": "uvx", "args": [ "pylanis", "mcp" ], "env": { "LANIS_PASSWORD": "your-value", "LANIS_SESSION_ID": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For LANIS_PASSWORD, LANIS_SESSION_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Lanis (Schulportal Hessen) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"lanis": {
"command": "uvx",
"args": [
"pylanis",
"mcp"
],
"env": {
"LANIS_PASSWORD": "your-value",
"LANIS_SESSION_ID": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Lanis (Schulportal Hessen) and tell me what you can do for me, then show me one thing✓ If Claude says it is using Lanis (Schulportal Hessen) or shows a Lanis (Schulportal Hessen) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LANIS_SCHOOL_ID School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY.LANIS_SCHOOL_NAME School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID.LANIS_SCHOOL_CITY City of the school, together with LANIS_SCHOOL_NAME.LANIS_USERNAME Lanis username. Needed unless LANIS_SESSION_ID is set.LANIS_DATA_DIR Directory that keeps the session in session.json, so a restart needs no new login.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Lanis (Schulportal Hessen) yet
Lanis (Schulportal Hessen) runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Lanis (Schulportal Hessen)
Works with Claude Code, with some setup first
You need a Lanis (Schulportal Hessen) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Lanis (Schulportal Hessen) for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user lanis --env LANIS_PASSWORD=your-value --env LANIS_SESSION_ID=your-value -- uvx pylanis mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For LANIS_PASSWORD, LANIS_SESSION_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Lanis (Schulportal Hessen) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user lanis --env LANIS_PASSWORD=your-value --env LANIS_SESSION_ID=your-value -- uvx pylanis mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Lanis (Schulportal Hessen) listed as connected
Use Lanis (Schulportal Hessen) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Lanis (Schulportal Hessen) or shows a Lanis (Schulportal Hessen) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LANIS_SCHOOL_ID School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY.LANIS_SCHOOL_NAME School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID.LANIS_SCHOOL_CITY City of the school, together with LANIS_SCHOOL_NAME.LANIS_USERNAME Lanis username. Needed unless LANIS_SESSION_ID is set.LANIS_DATA_DIR Directory that keeps the session in session.json, so a restart needs no new login.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Lanis (Schulportal Hessen) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Lanis (Schulportal Hessen) for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lanis": { "command": "uvx", "args": [ "pylanis", "mcp" ], "env": { "LANIS_PASSWORD": "your-value", "LANIS_SESSION_ID": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For LANIS_PASSWORD, LANIS_SESSION_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Lanis (Schulportal Hessen) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Lanis (Schulportal Hessen) settings, LANIS_PASSWORD, LANIS_SESSION_ID is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Lanis (Schulportal Hessen) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Lanis (Schulportal Hessen) or shows a Lanis (Schulportal Hessen) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LANIS_SCHOOL_ID School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY.LANIS_SCHOOL_NAME School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID.LANIS_SCHOOL_CITY City of the school, together with LANIS_SCHOOL_NAME.LANIS_USERNAME Lanis username. Needed unless LANIS_SESSION_ID is set.LANIS_DATA_DIR Directory that keeps the session in session.json, so a restart needs no new login.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Lanis (Schulportal Hessen) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Lanis (Schulportal Hessen) for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "lanis": { "type": "stdio", "command": "uvx", "args": [ "pylanis", "mcp" ], "env": { "LANIS_PASSWORD": "your-value", "LANIS_SESSION_ID": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For LANIS_PASSWORD, LANIS_SESSION_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Lanis (Schulportal Hessen) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Lanis (Schulportal Hessen) settings, LANIS_PASSWORD, LANIS_SESSION_ID is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Lanis (Schulportal Hessen) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Lanis (Schulportal Hessen) or shows a Lanis (Schulportal Hessen) tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
LANIS_SCHOOL_ID School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY.LANIS_SCHOOL_NAME School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID.LANIS_SCHOOL_CITY City of the school, together with LANIS_SCHOOL_NAME.LANIS_USERNAME Lanis username. Needed unless LANIS_SESSION_ID is set.LANIS_DATA_DIR Directory that keeps the session in session.json, so a restart needs no new login.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user lanis --env LANIS_PASSWORD=your-value --env LANIS_SESSION_ID=your-value -- uvx pylanis mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lanis": {
"command": "uvx",
"args": [
"pylanis",
"mcp"
],
"env": {
"LANIS_PASSWORD": "your-value",
"LANIS_SESSION_ID": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lanis": {
"command": "uvx",
"args": [
"pylanis",
"mcp"
],
"env": {
"LANIS_PASSWORD": "your-value",
"LANIS_SESSION_ID": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"lanis": {
"type": "stdio",
"command": "uvx",
"args": [
"pylanis",
"mcp"
],
"env": {
"LANIS_PASSWORD": "your-value",
"LANIS_SESSION_ID": "your-value"
}
}
}
}LANIS_SCHOOL_ID envLANIS_SCHOOL_NAME envLANIS_SCHOOL_CITY envLANIS_USERNAME envLANIS_PASSWORD secret required envLANIS_SESSION_ID secret required envLANIS_DATA_DIR envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 28, 2026
The registry name was verified with the GitHub account udondan, which owns the repo
Code last changed yesterday
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked yet
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/udondan-lanis)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: LANIS_PASSWORD, LANIS_SESSION_ID
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (1.3.0) reached the registry today.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, MR Office
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Atlassian’s official server lets AI search and manage Jira work and Confluence pages. Connects to Atlassian’s cloud with OAuth sign-in.
Create, open and edit documents, spreadsheets and PDFs in MR Office's editor, inline in chat.
| This one Lanis (Schulportal Hessen) | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | MR Office | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | Yes | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 2/4 | 4/4 | 5/5 |
| License | MIT | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
[!NOTE]
Inoffizielles Community-Projekt. Nicht mit dem Land Hessen oder dem Schulportal Hessen verbunden, nicht von ihnen unterstützt oder autorisiert.
Zugriff auf das [Schulportal Hessen (Lanis)](https://start.schulportal.hessen.de/) aus Python, aus dem Terminal und aus KI-Assistenten: Vertretungsplan, Stundenplan, Kalender, Hausaufgaben, Nachrichten, Dateien und mehr.
lanis bietet drei gleichwertige Zugänge zu denselben Daten:
| Zugang | Für | Start |
|---|---|---|
| Python-SDK | eigene Programme und Automatisierungen | from pylanis import Lanis |
| Kommandozeile | das Terminal und Shell-Skripte (JSON-Ausgabe) | lanis |
| MCP-Server | KI-Assistenten wie Claude | lanis mcp |
lanis liest nur. Es verändert keine Daten im Schulportal.
Das Paket pylanis braucht Python 3.11 oder neuer und wird auf PyPI veröffentlicht.
# Als Bibliothek in einem Projekt
pip install pylanis # oder: uv add pylanis
uv tool install pylanis # oder: pipx install pylanis
uvx --from pylanis lanis schools
Kommandozeile und MCP-Server gibt es auch als Docker-Image udondan/lanis (amd64 und arm64), ganz ohne Python:
docker run --rm udondan/lanis schools
Das Image führt den Befehl lanis aus. Ohne Argument startet es den MCP-Server.
Die Images sind mit cosign signiert. So prüfst du, dass ein Image vom Release-Workflow dieses Repositorys stammt:
cosign verify udondan/lanis:latest \
--certificate-identity-regexp '^https://github\.com/udondan/(py)?lanis/\.github/workflows/publish\.yml@refs/tags/v' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com
Du brauchst einen Lanis-Account und die Schul-ID deiner Schule. Die Schul-ID findest du ohne Anmeldung:
uvx --from pylanis lanis --format markdown schools | grep -i "musterstadt"
Es gibt drei Arten, sich anzumelden. Das SDK nimmt die Zugangsdaten als Parameter, Kommandozeile und MCP-Server lesen sie aus Umgebungsvariablen (Lanis.from_env() im SDK ebenso).
| Art | Umgebungsvariablen | SDK-Parameter |
|---|---|---|
| Benutzername & Passwort (empfohlen) | LANIS_SCHOOL_ID, LANIS_USERNAME, LANIS_PASSWORD | school_id, username, password |
| Schule nach Name & Stadt | LANIS_SCHOOL_NAME, LANIS_SCHOOL_CITY, LANIS_USERNAME, LANIS_PASSWORD | school_name, school_city, username, password |
| Session-Cookie (kein Passwort) | LANIS_SCHOOL_ID, LANIS_SESSION_ID | school_id, session_id |
Mit Benutzername und Passwort meldet sich lanis automatisch neu an, wenn die Session abläuft. Ein Session-Cookie läuft irgendwann ab und muss dann ersetzt werden.
Session speichern (optional): Mit LANIS_DATA_DIR (SDK: data_dir) wird die Session in session.json in diesem Verzeichnis gespeichert, sodass nach einem Neustart keine neue Anmeldung nötig ist. Die Datei ist nur für dich lesbar. Ohne diese Einstellung bleibt die Session nur im Speicher.
Alle drei Zugänge bieten dieselben Daten:
| Daten | SDK (Lanis) | Kommandozeile (lanis) | MCP-Tool |
|---|---|---|---|
| Schulen mit ID (ohne Anmeldung) | get_schools() | schools | get_schools |
| Vertretungsplan | get_substitution_plan() | substitutions | get_substitution_plan |
| Stundenplan | get_timetable() | timetable | get_timetable |
| Lerngruppen/Kurse | get_learning_groups() | learning-groups | get_learning_groups |
| Kalender für einen Zeitraum | get_calendar(start, end) | calendar --start … --end … | get_calendar |
| Kalender des aktuellen Monats | get_calendar_of_month() | calendar | get_calendar_of_month |
| Aufgaben aus „Mein Unterricht" | get_tasks() | tasks | get_tasks |
| Nachrichten | get_conversations(number=10) | conversations [--number N] | get_conversations |
| Dateispeicher | get_file_storage(folder_id=None) | files [--folder ID] | get_file_storage |
| Dateiverteilung | get_file_distribution() | file-distribution | get_file_distribution |
| Aktive Wahlen | get_votes() | votes | get_votes |
| App-Kacheln und Ordner im Dashboard | get_apps(), get_folders() | apps, folders | get_apps, get_folders |
| Unterstützte Apps der Schule | get_available_apps(), is_app_available() | available-apps, check-app NAME | get_available_apps, check_app_availability |
Hinweise:
include_responsible=True (SDK), --responsible (Kommandozeile) bzw. include_responsible (MCP) enthalten Kalendertermine die verantwortliche Person. Dafür ist pro Termin eine zusätzliche Anfrage nötig, das kann bei vielen Terminen dauern.number=-1 lädt alle Nachrichten und belastet den Lanis-Server stark. Bitte sparsam verwenden.from datetime import date
from pylanis import Lanis
lanis = Lanis(school_id="1234", username="vorname.nachname", password="dein-passwort")
for task in lanis.get_tasks(): print(task.subject_name, task.title, task.date)
plan = lanis.get_substitution_plan() for sub in plan.substitutions: print(sub.hours, sub.class_name, sub.subject, sub.substitute)
events = lanis.get_calendar(date(2026, 11, 1), date(2026, 11, 30))
Task, SubstitutionPlan, CalendarEvent, Timetable usw.), Datumswerte als date/datetime.Lanis.get_schools() braucht keine.Lanis-Instanz hat ihre eigene Session, mehrere Konten in einem Prozess sind möglich.Fehler:
ConfigurationError: Die übergebenen Zugangsdaten sind unvollständig.SessionExpiredError: Die Session ist abgelaufen (nur bei Anmeldung per Session-Cookie) und wurde zurückgesetzt.Abhängigkeiten: pylanis legt seine Abhängigkeiten auf exakte Versionen fest, damit Kommandozeile und MCP-Server nur mit getesteten Versionen laufen. Braucht dein Projekt eine andere Version, z. B. von httpx, kannst du die Vorgabe mit uv überschreiben:
# pyproject.toml deines Projekts
[tool.uv] override-dependencies = ["httpx>=0.28"]
Der Befehl lanis gibt die Daten als JSON aus, mit --format markdown als lesbaren Text.
export LANIS_SCHOOL_ID=1234
export LANIS_USERNAME=vorname.nachname export LANIS_PASSWORD=dein-passwort
lanis substitutions lanis --format markdown tasks lanis calendar --start 2026-11-01 --end 2026-11-30 lanis timetable | jq '.entries[] | select(.day == "Montag")'
Alle Befehle stehen in der Tabelle Verfügbare Daten. lanis --help und lanis --help zeigen alle Optionen. Fehler werden als Error: … auf stderr ausgegeben, der Befehl endet dann mit Exit-Code 1.
-e NAME ohne Wert übernimmt die Variable aus deiner Shell:
docker run --rm -e LANIS_SCHOOL_ID -e LANIS_USERNAME -e LANIS_PASSWORD udondan/lanis substitutions
Damit nicht jeder Aufruf eine neue Anmeldung braucht, speichert ein Volume die Session (siehe Anmeldung). Als Alias verhält sich das Image dann wie ein installiertes lanis:
alias lanis='docker run --rm -e LANIS_SCHOOL_ID -e LANIS_USERNAME -e LANIS_PASSWORD -e LANIS_DATA_DIR=/data -v lanis-data:/data udondan/lanis'
lanis --format markdown tasks
lanis mcp startet einen MCP-Server über stdio. Damit kann ein KI-Assistent die Daten abfragen, und du fragst einfach:
Der Server ist in der MCP Registry als io.github.udondan/lanis eingetragen. Clients, die die Registry nutzen, starten ihn mit uvx pylanis mcp.
Öffne die Konfigurationsdatei von Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonFüge einen Eintrag unter mcpServers hinzu. Die Umgebungsvariablen entsprechen der Tabelle unter Anmeldung:
{
"mcpServers": { "lanis": { "command": "uvx", "args": ["--from", "pylanis", "lanis", "mcp"], "env": { "LANIS_SCHOOL_ID": "1234", "LANIS_USERNAME": "vorname.nachname", "LANIS_PASSWORD": "dein-passwort" } } } }
Nach dem Speichern Claude Desktop neu starten.
Mit Docker statt uvx sieht der Eintrag so aus. -e NAME ohne Wert reicht die Variable aus env an den Container weiter:
{
"mcpServers": { "lanis": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "LANIS_SCHOOL_ID",