pickuppatrol-mcp
An MCP server for PickUp Patrol that lets you read and change children's school dismissal plans, including weekly defaults, one-off date changes, and school dismissal options.
README
pickuppatrol-mcp
An MCP server for PickUp Patrol — the school dismissal app. Read and change how your children leave school: their weekly default plan, one-off changes for specific dates, and the school's dismissal options and cutoff times.
Developed and maintained by AI (Claude Code). Use at your own discretion.
What it talks to
app.pickuppatrol.net runs a ServiceStack JSON API
behind an Ionic/Vue SPA. There is no published API, but the service is reachable
server-side with an ordinary HTTPS request — no browser extension, no bot wall,
no captcha. The server signs in with your own email and password and holds the
resulting session in memory.
Every request shape is captured in docs/PICKUPPATROL-API.md,
read off the shipped client rather than guessed, and exercised against a real
account — reads, a write, and its restore.
Install
// .mcp.json
{
"mcpServers": {
"pickuppatrol": {
"command": "npx",
"args": ["-y", "@chrischall/pickuppatrol-mcp"],
"env": {
"PICKUPPATROL_USERNAME": "you@example.com",
"PICKUPPATROL_PASSWORD": "…"
}
}
}
}
For local development, copy .env.example to .env and fill it in.
The server starts without credentials — it answers the host's install-time probe and only reports the configuration error on the first tool call.
Tools
Reads
| Tool | What it gives you |
|---|---|
pup_get_session |
The signed-in account and the students linked to it |
pup_list_students |
Every student with their weekly defaults and review flag |
pup_get_student |
One student in full |
pup_get_default_plans |
A student's weekly default plan, day by day |
pup_list_plans |
Day-by-day plans across a date range |
pup_get_plan |
One student, one date — including whether it is locked |
pup_list_transportations |
A school's dismissal options and the rules each imposes |
pup_get_school |
School profile, notify times, cutoff times, settings |
pup_list_non_school_days |
Dates no plan can be set for, and dates already changed |
pup_list_car_numbers |
Car numbers the school issued to this account |
pup_healthcheck |
Credentials sign in and the API answers |
Writes — every one requires confirm: true. Without it the tool makes no
change and returns a dry-run of the exact payload it would send.
| Tool | What it changes |
|---|---|
pup_set_plan |
Dismissal for one or more specific dates, or clears them back to the default |
pup_set_default_plans |
The weekly default plan, or clears every default |
pup_mark_defaults_reviewed |
The school's "defaults need review" prompt |
Two things the tools do that the API does not
Rules are enforced before anything is sent. Each dismissal option carries its
own requirements — a note, a car number, an early-dismissal time, or a
restriction to particular students. pup_set_plan checks them against the
school's own list and refuses with the school's wording, so a rejected write is
a validation message rather than an opaque 400.
Writes are verified by re-reading. A 2xx from PickUp Patrol is not proof: a
change made after the school's cutoff is accepted and silently ignored. Every
write re-reads the affected dates and compares the transportation id and the
note — never ModifiedDate, which advances on its own and would make every
write look successful. The note is part of the proof because every dismissal
option seen so far requires one, which makes a note-only edit ordinary: an
id-only comparison would report success from a field that never had to move.
The result says verified: true/false, and names the dates that did not move.
Without the MCP server
skills/pickuppatrol-api/ is a shell-out skill covering the same API with
curl and jq, for scripts or a machine where the server is not installed.
Development
npm install
npm run build
npm test # fast
npm run test:coverage # coverage-enforced at 100%
Tests never touch the network: the transport is injected, and the MCP tools run through a real in-memory client/server pair.
Two things about the API worth knowing
GetPlanEdit returns a date's override, not the effective plan. A date with
no specific plan reads back TransportationId: null even when the student has a
weekly default for that weekday. pup_get_plan passes that through as-is;
pup_list_students is where the weekly defaults live.
Sign-in is a session cookie, not a JWT. Authenticate returns
BearerToken: null on this deployment and sets ss-id/ss-pid/ss-opt. The
client keeps whichever the server returns and sends both, so a future switch to
JWTs needs no change here.
Safety notes
- A rejected sign-in is never retried. PickUp Patrol counts failed attempts against the account and a lockout clears only through their support desk, so the error is cached and every later call fails instantly with the same message.
- The weekly-default write is a read-modify-write of the whole student record,
because the API has no default-plans endpoint. The server always reads the
student immediately before writing, and changes only
DefaultPlans. - Credentials live in
.env(gitignored) or the MCP host's config, and are never written to a result or a log.
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 模型以安全和受控的方式获取实时的网络信息。