Lanis (Schulportal Hessen)

v1.3.1
io.github.udondan/lanis Checked 3 days ago Published 4 days ago

Unofficial read-only access to Schulportal Hessen: substitutions, timetable, calendar, messages

Values you need

VariableWhat it is
LANIS_SCHOOL_IDoptional School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY.
LANIS_SCHOOL_NAMEoptional School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID.
LANIS_SCHOOL_CITYoptional City of the school, together with LANIS_SCHOOL_NAME.
LANIS_USERNAMEoptional Lanis username. Needed unless LANIS_SESSION_ID is set.
LANIS_PASSWORDoptional secret Lanis password. Needed unless LANIS_SESSION_ID is set.
LANIS_SESSION_IDoptional secret Session cookie instead of username and password, with LANIS_SCHOOL_ID.
LANIS_DATA_DIRoptional 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 mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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, ….
  4. 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