MCP server that gives Claude AI access to ParentSquare, the school-parent communication platform — browse feeds, calendar events, messages, directories, and more
Project description
ParentSquare MCP Server
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.
Available on the MCP Registry as io.github.thehesiod/psquare and on PyPI as parentsquare-mcp.
Disclaimer
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.
Features
Feed & Posts
get_feeds— Browse paginated school feed with titles, authors, summaries, and attachment namesget_post— Full post details with body text, comments, poll results, signup items, and inline image/PDF content (Claude can "see" attached calendars, flyers, etc.)get_group_feed— Posts from a specific group
Calendar
get_calendar_events— Events from ICS calendar as structured JSON (title, start/end, location, description)- Falls back to guiding Claude to search feed posts for image/PDF calendars when ICS is empty
Communication
list_conversations/get_conversation— Read message threadsget_directory— Staff directory as structured JSON (name, role, phone, user_id)get_staff_member— Full staff details with email, office hours, and inline profile photo
Media & Files
list_photos— Photo gallery with URLslist_files— Document filesdownload_file— Download any attachment to local disk
Participate
list_signups— Sign-up and RSVP posts with progress tracking (e.g. "53/103 Items")list_notices— Alerts and secure documentslist_polls— Polls with vote counts and winning optionslist_forms— Permission slips and signable formslist_payments— Payment items with prices and summary statslist_volunteer_hours— Logged volunteer hours with totals
Groups & Discovery
list_schools— Schools and students as structured JSONlist_school_features— Available sections per school (parsed from sidebar)list_groups— Groups with member counts, descriptions, and membership statuslist_links— Quick-access links (Google Drive, external sites)
Student
get_student_dashboard— School, grade, classes, and teachers as structured JSON
Authentication
submit_mfa_code— Complete MFA verification with a 6-digit code- Supports MCP elicitation for inline MFA prompts
- Session cookies persisted to
~/.parentsquare_cookies.json - Credentials loaded from 1Password CLI on session expiry
Setup
Prerequisites
- 1Password CLI (
op) with a "Parentsquare" item containingusernameandpasswordfields
Install in Claude Code
claude mcp add --transport stdio parentsquare -- uvx --from "parentsquare-mcp @ git+https://github.com/thehesiod/psquare-mcp" parentsquare-mcp
To 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-mcp
That's It
No further configuration needed. The server auto-discovers your schools, students, and user ID from ParentSquare on first use. Authentication is handled automatically via 1Password CLI — when the session expires, the server loads your credentials from 1Password and re-authenticates (including MFA if needed).
How It Works
The server uses requests + BeautifulSoup to scrape ParentSquare's server-rendered HTML pages. Each tool follows the pattern:
- Fetch the HTML page via
PSClient.get_page()or JSON viaPSClient.get_json()(auto-relogins on session expiry) - Parse with a dedicated parser in
parsers/that extracts structured data into dataclasses - Return results as either structured JSON dicts (for data-lookup tools) or markdown text (for content-rich tools)
Data-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.
Groups use a GraphQL endpoint (/graphql) instead of HTML scraping. The directory and staff details use the internal /api/v2/ JSON:API.
Dependencies
| 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 |
License
MIT — see LICENSE. Note: the optional pymupdf dependency is AGPL-3.0 licensed.
mcp-name: io.github.thehesiod/psquare
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parentsquare_mcp-0.1.5.tar.gz.
File metadata
- Download URL: parentsquare_mcp-0.1.5.tar.gz
- Upload date:
- Size: 78.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
270116c6081df2148e2bca9abe0bd80855eeaac68a6b47e5d2b5e02e93b7d368
|
|
| MD5 |
3514f2c227ac16e224d441c7982732a5
|
|
| BLAKE2b-256 |
7056cccbb63dc204535f24539b25710f2598d7a8530d1da6491b0dba2438e9de
|
Provenance
The following attestation bundles were made for parentsquare_mcp-0.1.5.tar.gz:
Publisher:
publish.yml on thehesiod/psquare-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parentsquare_mcp-0.1.5.tar.gz -
Subject digest:
270116c6081df2148e2bca9abe0bd80855eeaac68a6b47e5d2b5e02e93b7d368 - Sigstore transparency entry: 1340758089
- Sigstore integration time:
-
Permalink:
thehesiod/psquare-mcp@651207e0fac3fed97eb9b3ee4aa1d42662dcce88 -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/thehesiod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@651207e0fac3fed97eb9b3ee4aa1d42662dcce88 -
Trigger Event:
push
-
Statement type:
File details
Details for the file parentsquare_mcp-0.1.5-py3-none-any.whl.
File metadata
- Download URL: parentsquare_mcp-0.1.5-py3-none-any.whl
- Upload date:
- Size: 45.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a59275c80fb6dbd9e23ed97b358a136dd32c76a6a9a817ec23d0f710f00ff6f
|
|
| MD5 |
eda0e813c8b6e8620bd9fdecf4420a64
|
|
| BLAKE2b-256 |
d5c20f117dd5026d652d8aca9b5de08d709eea054b23ffb64ff877e2e51cb193
|
Provenance
The following attestation bundles were made for parentsquare_mcp-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on thehesiod/psquare-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parentsquare_mcp-0.1.5-py3-none-any.whl -
Subject digest:
3a59275c80fb6dbd9e23ed97b358a136dd32c76a6a9a817ec23d0f710f00ff6f - Sigstore transparency entry: 1340758095
- Sigstore integration time:
-
Permalink:
thehesiod/psquare-mcp@651207e0fac3fed97eb9b3ee4aa1d42662dcce88 -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/thehesiod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@651207e0fac3fed97eb9b3ee4aa1d42662dcce88 -
Trigger Event:
push
-
Statement type: