Psquare Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Psquare Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server that gives Claude access to ParentSquare, a school-parent communication platform. Since ParentSquare has no public API, this server scrapes the web interface using saved session cookies.
Covers both the parent/guardian experience (feeds, posts, calendars, messages, directories, sign-ups, forms, payments) and school admin roster management — reading student and guardian rosters, and creating/editing students and guardians plus sending registration invitations. Admin write tools are off by default, gated behind PS_ENABLE_WRITES, and every write is recorded to a local audit log.
Available on the MCP Registry as io.github.thehesiod/psquare and on PyPI as parentsquare-mcp.
This project is not affiliated with, endorsed by, or sponsored by ParentSquare, Inc. "ParentSquare" and all related names, logos, and trademarks are the property of ParentSquare, Inc.
>
This server communicates with ParentSquare's undocumented internal APIs (scraping the web UI and calling its non-public /api/v2/ JSON endpoints) — these are not published, not guaranteed to be stable, and may change or be blocked at any time without notice. Use of those interfaces may violate ParentSquare's Terms of Service; you are responsible for reviewing the ToS and deciding whether your use is acceptable.>
Use at your own risk. The authors and contributors accept no responsibility for any consequences of using this software, including but not limited to: account suspension or termination, data loss or corruption, missed or incorrect notifications, MFA lockouts, leaked session cookies, IP blocks, or any other direct or indirect damages. No warranty is provided — see LICENSE for the full MIT no-warranty clause.
>
If ParentSquare publishes an official API, this project should be considered deprecated in favor of that.
Read tools are always available; the tools marked (write) below are disabled by default and only run when PS_ENABLE_WRITES is set (see Enabling admin write tools). Every write attempt, including one blocked by the gate, is recorded to a local audit log. No tool deletes a record — students, guardians, classes, and staff can be created and edited but never deleted, and the tools that remove something only unlink a relationship (a staff assignment, class enrollment, or group membership), leaving the underlying people, classes, and groups intact. Deletion is deliberately left to the ParentSquare website.
#### Roster: students & guardians
grade / name_contains filtersname_contains / student_name_contains filters; provides the user_id needed by edit_parent / link_guardian_to_studentgrade_id values (needed for add/edit)#### Classes, staff & enrollment
set_class_visibilityname_contains filter; provides the user_id needed by edit_staff / add_class_staffedit_parent)#### Group membership
group_id, user_ids). Preserves saved user/student selections, owners, managers, and existing guests; skips people already present. Does not create accounts or invite new guests.Group writes currently support manually selected (CsvGroup) groups, not rule-based groups or ownership changes. They share the class/enrollment write lock, validate complete directory reads, and verify both membership and saved selections after each write. Use them serially, even across server processes. Classroom Room Parent roles and membership of a Room Parents group are independent.
PS_NO_ELICIT to disable for unattended callers)~/.parentsquare_cookies.jsonThe admin write tools — every tool marked (write) under Admin, covering the student/guardian roster, classes, staff, class enrollment, and groups — modify live school data, so they are off by default. To enable them, set PS_ENABLE_WRITES=1 (or true/yes/on) in the server's environment and restart. Every write attempt (including blocked ones) is appended as JSONL to PS_AUDIT_LOG (default ~/.parentsquare_audit.log). The admin read tools work regardless.
ParentSquare's form endpoints answer every accepted POST with the same generic 200 "reload" response, which some silent failures also return. To avoid false-positive successes, the create/link tools (add_student, add_parent, link_guardian_to_student) read back authoritative state after the write and only report ✅ Success (verified) once the new record is actually found. If the POST is accepted but the read-back can't find the change, they return a ⚠️ warning that it likely did not persist; if the read-back itself can't run, they report the write as submitted-but-unverified.
The read-back also overrules a 5xx. ParentSquare renders its error page after the transaction commits, so a server error can hide a write that actually landed — add_student did exactly that on every create until a missing student[section_ids][] form param was tracked down. Reporting those as failures invited retries, and each retry duplicated a real student with no API route to delete one. So when a write returns a 5xx but the record is found on read-back, the tool reports ✅ Success (verified) with a note not to retry. An explicit rejection (a 4xx, or a 200 carrying an alert-danger flash) is still reported as a failure regardless of read-back.
Credentials can be provided in either of two ways (checked in this order):
PS_USERNAME and PS_PASSWORDPS_CREDENTIAL_PROVIDER (default 1password):op) — with a "Parentsquare" item containing username and password fieldslpass) — set PS_CREDENTIAL_PROVIDER=lastpass. Run lpass login <your-lastpass-email> in a terminal first (may prompt for MFA). The item read defaults to parentsquare.com and can be overridden with PS_LASTPASS_ITEM (an exact entry name or entry ID).claude mcp add --transport stdio parentsquare -- uvx --from "parentsquare-mcp @ git+https://github.com/thehesiod/psquare-mcp" parentsquare-mcpTo enable PDF text extraction for post attachments (optional, AGPL-3.0 licensed):
claude mcp add --transport stdio parentsquare -- uvx --from "parentsquare-mcp[pdf] @ git+https://github.com/thehesiod/psquare-mcp" parentsquare-mcpNo further configuration needed. The server auto-discovers your schools, students, and user ID from ParentSquare on first use. Authentication is handled automatically — when the session expires, the server loads your credentials from environment variables (or 1Password CLI) and re-authenticates (including MFA if needed).
To use environment variables with Claude Code, add an env block to your MCP config:
{
"mcpServers": {
"parentsquare": {
"command": "uvx",
"args": ["parentsquare-mcp"],
"env": {
"PS_USERNAME": "[email protected]",
"PS_PASSWORD": "your-password"
}
}
}
}Security note: environment variables place your password in plaintext inside your MCP config file. If you chose a password manager specifically to avoid that, prefer the 1Password or LastPass CLI path.
To use the LastPass CLI instead of 1Password, log in once (lpass login <your-lastpass-email>) and set the provider in your MCP config:
{
"mcpServers": {
"parentsquare": {
"command": "uvx",
"args": ["parentsquare-mcp"],
"env": {
"PS_CREDENTIAL_PROVIDER": "lastpass",
"PS_LASTPASS_ITEM": "parentsquare.com"
}
}
}
}PS_LASTPASS_ITEM is optional (defaults to parentsquare.com).
PS_NO_ELICIT)When MFA is required, the server prompts for the code inline via MCP elicitation. That prompt waits for a human, so an unattended caller — a claude.ai routine, a scheduled job — has nobody to answer it and the tool call simply blocks until the elicitation times out.
Set PS_NO_ELICIT=1 to skip the prompt. The tool returns the "MFA verification required" message immediately, and the caller can retrieve the code out of band (via a Gmail or Microsoft 365 MCP, for example) and pass it to submit_mfa_code:
{
"mcpServers": {
"parentsquare": {
"command": "uvx",
"args": ["parentsquare-mcp"],
"env": {
"PS_NO_ELICIT": "1"
}
}
}
}The check is presence-based: any non-empty value disables elicitation, so PS_NO_ELICIT=0 and PS_NO_ELICIT=false also disable it. To re-enable inline prompting, unset the variable entirely.
The server uses requests + BeautifulSoup to scrape ParentSquare's server-rendered HTML pages. Each tool follows the pattern:
PSClient.get_page() or JSON via PSClient.get_json() (auto-relogins on session expiry)parsers/ that extracts structured data into dataclassesData-lookup tools (list_schools, get_directory, get_calendar_events, get_student_dashboard, get_staff_member) return structured JSON for easy programmatic access. Content tools (get_post, get_feeds, get_conversation) return markdown.
On first use, the server auto-discovers your schools, students, and user ID from ParentSquare (no config file needed).
For get_post, image attachments are downloaded and returned as MCP Image objects (so Claude can see them), and PDF attachments have their text extracted via pymupdf. get_staff_member also returns inline profile photos.
Group discovery uses GraphQL (/graphql); group membership uses the HTML directory and Rails forms. The school directory and staff details use the internal /api/v2/ JSON:API.
| Package | Purpose | License |
|---|---|---|
mcp | Model Context Protocol SDK | MIT |
requests | HTTP client | Apache 2.0 |
beautifulsoup4 | HTML parsing | MIT |
icalendar | ICS calendar parsing | BSD |
pymupdf | PDF text extraction (optional) | AGPL-3.0 |
MIT — see LICENSE. Note: the optional pymupdf dependency is AGPL-3.0 licensed.
mcp-name: io.github.thehesiod/psquare
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.