spond-no-match-mcp
An MCP server for managing kids' sports activities on Spond. Built for parents who want to give AI assistants access to upcoming matches, training schedules, and attendance.
README
spond-no-match-mcp
An MCP server for managing kids' sports activities on Spond. Built for parents who want to give AI assistants access to upcoming matches, training schedules, and attendance — so you can ask "what's on this week?" or "sign Oliver up for Saturday's match" from any MCP-capable client.
Features
- Six tools — list groups, upcoming events, event details, attendance status, RSVP, and search
- Family member mapping — configure which kids belong to which groups
- Norwegian output — responses formatted in Norwegian (dates, weekdays, status labels)
- TTL caching — groups cached 1h, events 5min to minimize API calls
- Bearer token auth — optional authentication for protecting sensitive family data
- Scale-to-zero ready — lightweight Python server, works great on Knative
Tools
| Tool | Description |
|---|---|
list_groups |
List all Spond groups with member counts |
get_upcoming_events |
Get upcoming events, filterable by kid or group |
get_event_details |
Full details for a specific event (location, description, RSVP) |
get_attendance |
Show which events are missing responses for your kids |
respond_to_event |
Accept or decline an event for a family member |
search_events |
Search upcoming events by text in title or description |
Quick Start
Prerequisites
- Python 3.11+
- A Spond account with active group memberships
Run locally
# Install dependencies
pip install -r requirements.txt
# Start the server
SPOND_USERNAME=you@example.com \
SPOND_PASSWORD=your-password \
KIDS_CONFIG='[{"name":"Oliver","groups":["Team 2013"]},{"name":"Emma","groups":["Team 2017"]}]' \
python main.py
The server starts on port 8080:
- Health check:
http://localhost:8080/health - MCP SSE endpoint:
http://localhost:8080/sse
Docker
docker build -t spond-mcp .
docker run -p 8080:8080 \
-e SPOND_USERNAME=you@example.com \
-e SPOND_PASSWORD=your-password \
-e 'KIDS_CONFIG=[{"name":"Oliver","groups":["Team 2013"]}]' \
spond-mcp
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SPOND_USERNAME |
Yes | Spond account email | |
SPOND_PASSWORD |
Yes | Spond account password | |
KIDS_CONFIG |
No | [] |
JSON array mapping kid names to Spond group names |
MCP_AUTH_TOKEN |
No | Bearer token for authentication (see below) | |
PORT |
No | 8080 |
Server port |
BASE_URL |
No | http://localhost:8080 |
Public URL for SSE endpoint construction |
KIDS_CONFIG Format
Maps your children's first names to their Spond group names. Group matching is fuzzy — partial matches work (e.g. "Team 2013" matches "Fjordvik Team 2013").
[
{"name": "Oliver", "groups": ["Team 2013", "School 2014"]},
{"name": "Emma", "groups": ["Team 2017"]}
]
Without KIDS_CONFIG, the server still works but can't filter by kid or show per-kid attendance.
Authentication
This server handles sensitive family data and supports optional bearer token authentication. When MCP_AUTH_TOKEN is set, all requests (except /health) must include an Authorization: Bearer <token> header.
/healthis always exempt (required for Knative/K8s health probes)- When
MCP_AUTH_TOKENis empty or unset, auth is disabled (backward compatible) - Uses constant-time comparison (
hmac.compare_digest) to prevent timing attacks
# Run with auth enabled
MCP_AUTH_TOKEN=my-secret-token \
SPOND_USERNAME=you@example.com \
SPOND_PASSWORD=your-password \
python main.py
# Test with auth
curl -H "Authorization: Bearer my-secret-token" http://localhost:8080/sse
For Kubernetes deployments, store the token as a Secret and reference it in your service manifest:
env:
- name: MCP_AUTH_TOKEN
valueFrom:
secretKeyRef:
name: mcp-auth-token
key: token
Usage with mcporter
mcporter can connect to this server as a remote MCP tool:
# List all groups
mcporter call spond.list_groups
# Get this week's events for a specific kid
mcporter call spond.get_upcoming_events kid_name=Oliver days=7
# Check what needs a response
mcporter call spond.get_attendance kid_name=Oliver
# Accept a match
mcporter call spond.respond_to_event event_id=ABC123 kid_name=Oliver accept=true
# Search for upcoming matches
mcporter call spond.search_events query=kamp days=30
For authenticated servers, configure mcporter with the Authorization header in ~/.mcporter/mcporter.json:
{
"mcpServers": {
"spond": {
"url": "https://your-spond-mcp.example.com/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer your-token-here"
}
}
}
}
Architecture
MCP Client (mcporter, Claude, etc.)
│ HTTP/SSE (JSON-RPC)
▼
spond-mcp (:8080)
│
└── api.spond.com (Spond API)
- Implements the Model Context Protocol over HTTP+SSE
- Uses mcp SDK with Starlette SSE transport
- Uses spond library for API access
- Stateless — all caching is in-memory with configurable TTLs
Development
# Install dev dependencies
pip install -r requirements.txt -r requirements-dev.txt
# Run tests (87 tests, including auth middleware tests)
pytest -v
# Lint
ruff check .
Homelab Deployment
This server is designed to run on Knative with scale-to-zero. See knative-service.yaml and .mise.toml for deployment tasks.
Authentication is enabled via MCP_AUTH_TOKEN from a K8s Secret (mcp-auth-token in mcp namespace).
# Build and deploy (requires mise + Docker + kubectl)
mise run full-deploy
# Integration test against deployed service (auto-fetches auth token from K8s)
mise run test:mcp
Data Source
- Spond API via Olen/Spond — unofficial Python wrapper for the Spond mobile app API
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。