Lanis MCP
An unofficial community MCP server providing read-only access to Schulportal Hessen (Lanis) data. It allows AI assistants to retrieve substitution plans, timetables, calendars, homework, messages, and files without modifying any data in the portal.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Retrieve substitution plans (Vertretungsplan)
- Access class timetables (Stundenplan)
- Check homework assignments
- Read messages and files
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
pylanis 1.2.0
{
"version": "1.2.0",
"transport": "stdio",
"identifier": "pylanis",
"runtimeHint": "uvx",
"registryType": "pypi",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "LANIS_SCHOOL_ID",
"description": "School ID. Either this or LANIS_SCHOOL_NAME and LANIS_SCHOOL_CITY."
},
{
"name": "LANIS_SCHOOL_NAME",
"description": "School name, together with LANIS_SCHOOL_CITY, instead of LANIS_SCHOOL_ID."
},
{
"name": "LANIS_SCHOOL_CITY",
"description": "City of the school, together with LANIS_SCHOOL_NAME."
},
{
"name": "LANIS_USERNAME",
"description": "Lanis username. Needed unless LANIS_SESSION_ID is set."
},
{
"name": "LANIS_PASSWORD",
"description": "Lanis password. Needed unless LANIS_SESSION_ID is set."
},
{
"name": "LANIS_SESSION_ID",
"description": "Session cookie instead of username and password, with LANIS_SCHOOL_ID."
},
{
"name": "LANIS_DATA_DIR",
"description": "Directory that keeps the session in session.json, so a restart needs no new login."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"lanis-mcp": {
"command": "uvx",
"args": [
"pylanis==1.2.0",
"mcp"
],
"env": {
"LANIS_SCHOOL_ID": "<YOUR_LANIS_SCHOOL_ID>",
"LANIS_SCHOOL_NAME": "<YOUR_LANIS_SCHOOL_NAME>",
"LANIS_SCHOOL_CITY": "<YOUR_LANIS_SCHOOL_CITY>",
"LANIS_USERNAME": "<YOUR_LANIS_USERNAME>",
"LANIS_PASSWORD": "<YOUR_LANIS_PASSWORD>",
"LANIS_SESSION_ID": "<YOUR_LANIS_SESSION_ID>",
"LANIS_DATA_DIR": "<YOUR_LANIS_DATA_DIR>"
}
}
}
}Cline
{
"mcpServers": {
"lanis-mcp": {
"command": "uvx",
"args": [
"pylanis==1.2.0",
"mcp"
],
"env": {
"LANIS_SCHOOL_ID": "<YOUR_LANIS_SCHOOL_ID>",
"LANIS_SCHOOL_NAME": "<YOUR_LANIS_SCHOOL_NAME>",
"LANIS_SCHOOL_CITY": "<YOUR_LANIS_SCHOOL_CITY>",
"LANIS_USERNAME": "<YOUR_LANIS_USERNAME>",
"LANIS_PASSWORD": "<YOUR_LANIS_PASSWORD>",
"LANIS_SESSION_ID": "<YOUR_LANIS_SESSION_ID>",
"LANIS_DATA_DIR": "<YOUR_LANIS_DATA_DIR>"
}
}
}
}VS Code
{
"servers": {
"lanis-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"pylanis==1.2.0",
"mcp"
],
"env": {
"LANIS_SCHOOL_ID": "<YOUR_LANIS_SCHOOL_ID>",
"LANIS_SCHOOL_NAME": "<YOUR_LANIS_SCHOOL_NAME>",
"LANIS_SCHOOL_CITY": "<YOUR_LANIS_SCHOOL_CITY>",
"LANIS_USERNAME": "<YOUR_LANIS_USERNAME>",
"LANIS_PASSWORD": "<YOUR_LANIS_PASSWORD>",
"LANIS_SESSION_ID": "<YOUR_LANIS_SESSION_ID>",
"LANIS_DATA_DIR": "<YOUR_LANIS_DATA_DIR>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"lanis-mcp": {
"command": "uvx",
"args": [
"pylanis==1.2.0",
"mcp"
],
"env": {
"LANIS_SCHOOL_ID": "<YOUR_LANIS_SCHOOL_ID>",
"LANIS_SCHOOL_NAME": "<YOUR_LANIS_SCHOOL_NAME>",
"LANIS_SCHOOL_CITY": "<YOUR_LANIS_SCHOOL_CITY>",
"LANIS_USERNAME": "<YOUR_LANIS_USERNAME>",
"LANIS_PASSWORD": "<YOUR_LANIS_PASSWORD>",
"LANIS_SESSION_ID": "<YOUR_LANIS_SESSION_ID>",
"LANIS_DATA_DIR": "<YOUR_LANIS_DATA_DIR>"
}
}
}
}Let your agent find its tools
Find servers like Lanis MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.