Lanis (Schulportal Hessen)
v1.3.1Unofficial read-only access to Schulportal Hessen: substitutions, timetable, calendar, messages
Values you need
| Variable | What it is | |
|---|---|---|
LANIS_SCHOOL_ID | optional | School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY. |
LANIS_SCHOOL_NAME | optional | School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID. |
LANIS_SCHOOL_CITY | optional | City of the school, together with LANIS_SCHOOL_NAME. |
LANIS_USERNAME | optional | Lanis username. Needed unless LANIS_SESSION_ID is set. |
LANIS_PASSWORD | optional secret | Lanis password. Needed unless LANIS_SESSION_ID is set. |
LANIS_SESSION_ID | optional secret | Session cookie instead of username and password, with LANIS_SCHOOL_ID. |
LANIS_DATA_DIR | optional | Directory that keeps the session in session.json, so a restart needs no new login. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add lanis -- uvx --from pylanis==1.3.1 lanis mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"lanis": {
"args": [
"--from",
"pylanis==1.3.1",
"lanis",
"mcp"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lanis": {
"args": [
"--from",
"pylanis==1.3.1",
"lanis",
"mcp"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"lanis": {
"args": [
"--from",
"pylanis==1.3.1",
"lanis",
"mcp"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lanis]
command = "uvx"
args = ["--from", "pylanis==1.3.1", "lanis", "mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_schools, get_substitution_plan, get_calendar, get_calendar_of_month, get_tasks, get_conversations, get_apps, get_available_apps, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json