spielerplus-mcp
by FabusMingAI
README.md
# spielerplus-mcp
[](https://github.com/FabusMingAI/spielerplus-mcp/actions/workflows/ci.yml)
[Deutsch](README.de.md) · [Home Assistant integration](https://github.com/FabusMingAI/ha-spielerplus)
Read-only SpielerPlus calendar tools for MCP hosts, over **local stdio**.
Independent of Home Assistant. Python 3.11 or newer is required.
## Install from source
```bash
git clone https://github.com/FabusMingAI/spielerplus-mcp.git
cd spielerplus-mcp
python3 -m venv .venv
.venv/bin/python -m pip install ./packages/client .
```
Both packages are installed together. They are not currently published on PyPI.
Release assets provide separate `spielerplus_client` and `spielerplus_mcp` wheels;
download both from the same release and install both paths with `python -m pip install`.
The server requires exactly client version 0.1.0; do not install an arbitrary client version.
## Configure your MCP host
Adapt this example to the configuration format of your MCP host:
```json
{
"mcpServers": {
"spielerplus": {
"command": "/absolute/path/spielerplus-mcp/.venv/bin/spielerplus-mcp",
"env": {
"SPIELERPLUS_CALENDARS": "{\"Demo\":\"https://www.spielerplus.de/events/ics?t=EXAMPLE&u=EXAMPLE\"}",
"SPIELERPLUS_TIMEZONE": "Europe/Berlin"
}
}
}
}
```
Replace EXAMPLE privately with your own calendar subscription values. The subscription
URL grants access to the calendar. Do not commit the real configuration. The example
`.env.example` is documentation only: the server does not automatically load `.env` files.
Find the private link in SpielerPlus under Termine → Terminliste → Kalender → Kalender abonnieren.
A calendar subscription may require SpielerPlus Premium.
Alternatively start the server with `.venv/bin/python -m spielerplus_mcp.server`.
The working directory is irrelevant after installation. No configured feeds means empty lists.
The default timezone is Europe/Berlin; invalid timezones fail at startup.
## Tools
| Tool | Arguments | Result |
|---|---|---|
| `list_teams` | none | Sorted configured calendar names |
| `list_events` | `days_ahead=30`, optional `team` | Ongoing/upcoming events sorted by start |
`days_ahead` is limited to 1–365; unknown teams are rejected. At most 30 feeds are
accepted. Each call fetches its selected feeds; there is no shared HA cache.
Cancelled events are excluded. Results retain `team`, `uid`, `title`, ISO `start`/`end`,
`all_day`, `location` and `description`, adding `status`, `event_type`, filtered
`event_url`, `latitude` and `longitude`. Classification is inferred from titles.
Incomplete or oversized feeds fail instead of returning partial data. A failed selected
feed fails the call. Errors use generic messages without private subscription URLs.
The MCP server exposes calendar tools only. The shared client's experimental account
adapter is used by HA; there are no account/attendance MCP tools yet. RSVP writes,
chat, lineups, member lists and event editing are not implemented.
This stdio server is not an authenticated remote service and does not automatically
connect ChatGPT. Use an MCP host that supports local stdio. A remote gateway is a
separate future feature.
## Development and architecture
```bash
python -m pip install -r requirements-dev.txt
python scripts/validate_repository.py
python -m pytest -q
python -m build --outdir dist/client packages/client
python -m build --outdir dist/mcp .
```
`packages/client/spielerplus_client` is the canonical framework-independent Python
package. `spielerplus_mcp` is a thin MCP adapter. HA bundles a pinned copy of the
client so HACS needs no unpublished package or running MCP server. See
[architecture](docs/ARCHITECTURE.md), [migration](docs/MIGRATION.md),
[security](SECURITY.md) and [contributing](CONTRIBUTING.md).
## Origin and license
Extracted from [spielerplus-bridge](https://github.com/FabusMingAI/ha-spielerplus)
at commit `b9efe13`. The original repository continues as `ha-spielerplus`, retaining
its history. Code is MIT licensed; see [LICENSE](LICENSE). This is an independent,
unofficial project, unaffiliated with SpielerPlus.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues