Skip to main content

Parro API client and OpenAPI spec

Read your child's school news from the terminal or from Claude: an unofficial client and API description for Parro, the Dutch parent–school communication app by Topicus (ParnasSys). It reads announcements, newsletters (including the text inside PDF attachments), the calendar, chats and class info, and shows what you have not read yet. It can change two things, only when you ask: mark items as read, and send a text message to a chat you are in.

Client checks Latest release Python 3.10+ Standard library only Reads; marks as read and sends chat messages only on request Code: MIT Spec: CC BY 4.0 M8ven Score

Terminal output of parro-client overview: unread counts, the unread announcements with author and date, the new calendar items and chats with unread messages. Invented example data.

All pictures in this README show invented example data from the test suite.

Not affiliated with or endorsed by Topicus, ParnasSys or Parro. Behaviour was observed, not documented by the vendor, and may change at any time. Only documented GET endpoints and the standard OAuth2 login flow are used and described.

Quick start

  1. Install it, on Windows, macOS or Linux (Python 3.10 or newer). pipx or uv keep it in its own environment and put the commands on your PATH:
    pipx install parro-api-client
    
    Or uv tool install parro-api-client. To read PDF newsletters as text, install "parro-api-client[attachments]" instead. Straight from GitHub: pipx install git+https://github.com/chris-swift-dev/parro-api-client.
  2. Log in. You type the password; the login then lasts up to 8 hours:
    parro-client login --prompt
    
  3. See what is new:
    parro-client overview
    

Update with pipx upgrade parro-api-client. Without installing anything: download a release from the Releases page, unpack it, and run python3 parro_cli.py wherever this README says parro-client.

For Claude and other MCP clients, see MCP server. API explorers: the spec is browsable in Swagger UI.

What it does

parro-client a command-line client: readable markdown at a terminal, JSON when piped (jq)
parro-client-mcp an MCP server over stdio for Claude and other MCP clients
parro/ the library both use: login, API calls, summaries, attachments
openapi/parro.public.openapi.json the OpenAPI 3.0.3 description of the API (contract version 224)

The Parro web app talks to a Topicus "geon" REST API at https://rest-v2.parro.com/rest/v2. This client speaks that API and adds three things:

  1. It strips the geon boilerplate. A three-group list is 2.8 KB of JSON carrying about 300 bytes of information. Every command returns a compact summary; --raw (MCP: raw: true) gives the untouched payload.
  2. It reads attachments. Newsletters arrive as PDFs; attachment / parro_attachment returns their text. Photos come back as images (MCP) or can be saved (CLI).
  3. It shows the data the way the app does. Announcements once each with author and groups, an agenda per day, conversations in reading order, an overview of what is new. Every id stays visible, so the next command is always at hand.

It reads. It can change two things in Parro, and only when you ask for it: mark an item as read and send a text message to a chat you are in. Apart from those three PUT …/read calls and that one POST, the Parro API only receives GET; the other POST requests go to the login server's token, revoke and login-form endpoints. Standard library only; PyMuPDF / pypdf (PDF text) and Pillow (photo downscaling) are optional.

flowchart LR
  you([You, at a terminal]) --> cli[parro-client]
  claude([Claude or another MCP client]) --> mcp[parro-client-mcp]
  cli --> core["parro/<br>login · API calls · summaries · markdown"]
  mcp --> core
  core -- "GET; mark as read and send a message when you ask" --> api[(Parro REST API)]
  core -- "login, refresh, logout" --> idp[(ParnasSys login server)]
  core -- "attachments" --> cdn[(Attachment CDN)]
  core --- disk[("~/.parro: tokens, cache, archive")]

What it looks like

At a terminal the CLI prints markdown; piped into another program it prints JSON. --format (or PARRO_FORMAT) chooses explicitly. Dates are shown in the school's time zone, labels are English, content is shown as written. Calendar items that ask parents to help (driving, reading aloud) are marked helpers wanted; with --details you see how many signed up, and whether you did.

The agenda: calendar --details Terminal output of parro-client calendar --details: the agenda per day with times, groups, locations, descriptions, an attachment and RSVP markers. Invented example data.
Announcements: announcements Terminal output of parro-client announcements: each announcement with author, groups, date, a three-line preview and its attachments. Invented example data.

tests/snapshots/ holds the output of every view.

Command line

parro-client --help
parro-client login --prompt              # type the password; the login lasts up to 8 hours
parro-client status
parro-client overview                    # what is new: unread announcements, new calendar items
parro-client overview --all              # the latest announcements and everything coming up
parro-client announcements --limit 5 --unread-only
parro-client attachment <announcement-id> --text
parro-client calendar --details          # agenda with location, description and helper slots
parro-client calendar-link               # Parro's own link to subscribe from Google/Apple/Outlook
parro-client calendar --ics parro.ics --details # or: an .ics file to import
parro-client sync                        # keep a local archive (repeat to update)
parro-client privacy                     # can you still change your children's privacy choices?
parro-client chatrooms --archived include --type group
parro-client chat-messages <chatroom-id> --since 2026-10-01 --mark-read
parro-client mark-read announcement <id> # the school can see this
parro-client chat-send <chatroom-id> "Ik kan rijden op de 12e" # shows who receives it, then asks
parro-client announcements --format json | jq '.announcements[].title'
parro-client get /accountsettings
parro-client token                       # paste into Swagger UI → Authorize → bearerToken

Commands: login [--prompt], logout, status, token, login-url, login-finish <url>, overview [--all], me, children, privacy [--link CHILD_ID], groups [--previous], unread, system-news [--full], announcements [--group ID] [--limit N] [--unread-only] [--full], announcement <id> [--mark-read], calendar [--group ID] [--limit N] [--details] [--past] [--ics FILE], calendar-link, attachment <event-id> [--attachment-id ID | --all] [--save-to DIR] [--text], chatrooms [--unread] [--archived only|include] [--type single|bot|calendar|group|family] [--schoolyear YEAR], chat-messages <chatroom-id> [--since DATE] [--mark-read], chat-members <chatroom-id> [--former], mark-read announcement|calendar|chat|group <id> [--yes], chat-send <chatroom-id> [TEXT] [--file PATH] [--yes], sync [--to DIR] [--previous] [--photos], cache info|clear, get <path> [--param k=v ...] [--limit N] [--offset N]. Global options: --format auto|json|markdown, --login-method, --raw, --compact, --no-cache, --verbose. --full shows whole texts instead of a 3-line preview.

Exit codes: 0 ok · 1 API/network error · 2 usage · 3 not logged in · 4 login halted.

Marking as read

overview shows only what you have not read yet. Reading something here does not change that: nothing is ever marked as read on its own, not by showing an announcement, opening a chat or running sync. You mark items yourself:

parro-client mark-read announcement <id>      # also: calendar <id>, chat <chatroom-id>
parro-client announcement <id> --mark-read    # show it, then mark it
parro-client mark-read group <group-id>       # how many unread announcements a group has …
parro-client mark-read group <group-id> --yes # … and mark them all

The school sees it. Teachers see who read an announcement ("read by 31 of 45"), chats show read receipts, and the Parro app on your phone shows the item as read too. So mark only what you have actually read. The client first fetches the item, so a wrong id is an error, not a write; an item that is already read is left alone.

The MCP tool parro_mark_read (one item at a time, no groups) is off unless you switch it on with PARRO_ALLOW_MARK_READ=1, so an assistant cannot mark things while summarising them. MCP clients see it marked as not read-only, so they ask before calling it.

Sending a chat message

chat-send sends a text message to a chat you are already in:

parro-client chat-send <chatroom-id> "Ik kan rijden op de 12e"
parro-client chat-send <chatroom-id> --file bericht.txt   # or --file - for standard input

It first shows the chat, who will receive the message and the exact text, and asks Send this message? [y/N]. Anything but y sends nothing. --yes skips the question for scripts; without a terminal and without --yes, nothing is sent.

Real people receive it, under your name: the teacher, or everyone in a group chat. As far as we know a message cannot be taken back, so treat sending as final.

  • It refuses empty text and chats that are archived, that you have left, that have replies switched off, or that are with a bot.
  • A message is never sent twice on its own. After a timeout or a server error, the client says the message may or may not have arrived. Look at chat-messages <chatroom-id> before you try again.
  • The text is never logged or stored, and sending does not mark the chat as read.
  • Only text, only existing chats: no new chats, replies to one message, attachments, editing or deleting.

From an assistant. The MCP tool parro_send_chat_message is off unless you switch it on with its own PARRO_ALLOW_SEND_CHAT=1. Called without confirm: true it sends nothing and returns the preview, so the assistant can show you who would receive what.

Think before you switch this on. An assistant also reads what other people write in Parro. Text in a chat or a newsletter could try to talk it into sending a message, and whatever it can read (your children's names, school letters) could end up in that message. The tool is marked as destructive, so MCP clients that honour this ask you before each call. Leave that approval on for this tool, and read the preview before you agree.

MCP server

Ask Claude about school, and it reads Parro for you. An illustration with the invented test data:

You: Do I need to do anything for school in the coming weeks?

Claude calls parro_overview, parro_calendar {"details": true} and parro_announcement, then answers: Two things need a reply: the trip to the Natuurmuseum on Thursday 12 November (group 6 still needs two parents who can drive; there is a permission form attached) and the parent–teacher talks for group 3 on 17 November (pick a ten-minute slot). Friday 13 November is a study day: no school, but the after-school care is open.

Tool What it gives you
parro_auth_status Login state, account, role, token expiry, whether automatic login is halted. Start here when something fails.
parro_login Log in with PARRO_USERNAME and the password; optional method.
parro_login_url / parro_login_finish Browser login without a stored password (OAuth2 + PKCE).
parro_logout Revoke the tokens at the IdP and forget them.
parro_me Account and school.
parro_children Children linked to the account.
parro_groups Classes and school-wide groups, with the ids other tools need.
parro_announcements The main feed. Merges all groups, newest first, full text + attachment list.
parro_announcement One announcement by id, with author.
parro_attachment Downloads an attachment of an announcement or calendar item and returns its text (PDF/docx/txt/csv/html) or the image.
parro_calendar Calendar items from today on, soonest first; details: true adds location, description and helper slots, past: true earlier items.
parro_chatrooms / parro_chat_messages Conversations: unread, archived, type and schoolyear filters; messages since a date.
parro_chat_members Who is in a chat: parents (with their children) and teachers, and who is admin.
parro_unread Unread counts per category.
parro_get Escape hatch: GET any /rest/v2 path not covered above.
parro_overview What is new: unread counts, unread announcements, new calendar items, unread chats; all: true shows everything.
parro_calendar_link The personal link to subscribe to the Parro agenda (keep it secret).
parro_privacy Per child: can parents change the privacy choices now, and when were they last changed; link: true gives the page to change them (keep it secret).
parro_mark_read Only with PARRO_ALLOW_MARK_READ=1: mark one announcement, calendar item or chat as read (the school sees it).
parro_send_chat_message Only with PARRO_ALLOW_SEND_CHAT=1: a preview of a chat message, or with confirm: true the message itself (real people receive it).

Every tool takes an optional format: json (default) or markdown, a readable view that keeps every id. The first 16 tools have the same names and arguments as the original server, so existing MCP configurations keep working.

With the package installed (Quick start), Claude Code:

claude mcp add parro -s user -- parro-client-mcp

Claude Desktop (claude_desktop_config.json) does not see your shell's PATH, so give the full path of the command: which parro-client-mcp (Windows: where parro-client-mcp) prints it.

{
  "mcpServers": {
    "parro": {
      "command": "/Users/you/.local/bin/parro-client-mcp",
      "env": { "PARRO_USERNAME": "you@example.com", "PARRO_PASSWORD_FILE": "/path/to/password-file" }
    }
  }
}

Without installing it first, uv can start it on demand: "command": "uvx", "args": ["--from", "parro-api-client", "parro-client-mcp"] (also with the full path of uvx for Claude Desktop). From an unpacked release: "command": "python3", "args": ["/path/to/parro-api-client/parro_mcp.py"].

Testing without an MCP client: parro-client-mcp tools, then parro-client-mcp call parro_announcements '{"limit": 5}'. PDF text needs PyMuPDF or pypdf, photo downscaling Pillow (installed with "parro-api-client[attachments]"); without them everything else works, and the attachment tool says what to install. Running it in Docker: DEPLOY.md.

Logging in

Logging in is OAuth2 against the ParnasSys login server. By default the client does exactly what a browser does (the login form); tokens are stored in ~/.parro-mcp/tokens.json (mode 0600) and refresh themselves, but a login lasts at most 8 hours: the login server's limit, however often the client refreshes. After that, log in again. With PARRO_USERNAME and a password file set, the client (and the MCP server) logs in again on its own when needed: one password check per 8 hours. parro-client status (MCP: parro_auth_status) shows until when the current login lasts.

The login server locks the account after a few failed logins. When a password is rejected, the client stops logging in on its own, so a typo costs one attempt, not one per call. status then shows automatic_login_halted; fix the password and run parro-client login once.

Credentials: PARRO_USERNAME plus PARRO_PASSWORD_FILE (or PARRO_PASSWORD), or login --prompt, or no password at all with login-url / login-finish. Login methods, the lockout latch and why there is no automatic browser redirect: docs/LOGIN.md. Every environment variable: docs/CONFIGURATION.md.

The agenda in your own calendar app

  • calendar-link prints Parro's own subscription link (GET /calendar/sync). Paste it into Google Calendar (Other calendars → From URL), Apple Calendar (New Calendar Subscription) or Outlook (Subscribe from web), and the calendar keeps itself up to date. The link is a secret: anyone who has it can read your Parro calendar without logging in. ParnasSys lists agenda syncing as a feature of the paid Parro Ouderapp, so not every school may offer it.
  • calendar --ics FILE writes an iCalendar file of the upcoming items (--past for earlier ones, --details for locations and descriptions, - for standard output). It works without the subscription feature, but it is a snapshot: export again to update. Every event keeps the same UID, so importing a newer file updates events instead of duplicating them.

Your children's privacy choices

Schools ask parents every year what they may do with photos and data of their children. parro-client privacy shows per child whether you can still change those choices, and when and by whom they were last changed. The choices themselves are not in the API: privacy --link CHILD_ID prints the link to the ParnasSys page where you set them. That link is a secret too: it opens the page without logging in.

Your own archive: sync

parro-client sync keeps a local copy of everything your account can see, as files that stay readable without Parro:

~/.parro/data/archive/
  announcements/2026-10-22-nieuwsbrief-nr-3-5000000101.md   (+ .json, + attachments/)
  calendar/2026-11-11-sint-maartenviering-7000000101.md     (+ .json, + attachments/)
  chats/rijden-naar-het-natuurmuseum-8000000001.md          (+ .json)
  index.md                                                  (everything, newest first)
  • Each .md file starts with a small YAML header (id, type, title, date, groups), so notes apps such as Obsidian can use it; the .json next to it holds the same data for scripts.
  • Run it again to update. Unchanged items are not rewritten and a saved file is never downloaded again. Nothing is ever deleted: an item that disappears from Parro stays, marked (no longer in Parro) in index.md.
  • Documents are always saved; photos only with --photos (a school year of photos can run to several GB). --to DIR writes elsewhere.
  • Run sync --previous once as well, especially around the start of a school year: schools sometimes post the first dates of the new year in last year's groups.
  • The archive holds your children's names, photos and school letters: its folders are readable only by you (0700, files 0600), and no file contains a download or avatar link.

The cache. Attachments (and their text) and calendar details are also kept in ~/.parro/data/cache, so a newsletter is downloaded once, not every time an assistant reads it. Lists are never cached: they are how the client learns what is new; neither are the details of items that ask for helpers, because sign-ups change. Same privacy rules as the archive. cache info shows its size, cache clear empties it, --no-cache switches it off.

The OpenAPI specification

Swagger UI of the Parro REST API spec: the title and the GET operations of the Account, Groups, Events and Chat sections.

openapi/parro.public.openapi.json describes the API as observed from the web client: 29 operations of the Parro API (account, children and their privacy settings, groups, announcements, calendar items, chats with their filters and members, unread counts, system news, absence and photo-export settings, the agenda subscription link, the three calls that mark items as read, and sending a chat message), each seen in a live call or a capture of the web app, and the login server's OAuth2 endpoints. It explains the non-obvious parts: the geon media type and headers, Range-based paging, dtype polymorphism, which id opens a chat, and where attachments live.

An operation in Swagger UI: GET /calendar/sync Swagger UI with GET /calendar/sync expanded: what the subscription link looks like, that it is a secret, and what was checked live.
  • Response schemas contain only fields seen in real responses; the published spec carries no example payloads. openapi/README.md explains how it is generated and published; docs/API-NOTES.md lists the facts the client relies on.
  • "Try it out" works once you paste an access token into Authorize → bearerToken (parro-client token prints one).
  • Don't log in through Swagger UI. The code flow can't complete there, and failed password attempts count toward the account lockout.

FAQ

Is this an official Parro tool? No. It is not affiliated with or endorsed by Topicus, ParnasSys or Parro. It uses the same API calls as the Parro web app, as observed from that app.

Can it post, change or delete anything in Parro? It can do two things, and only when you ask: mark an item as read and send a text message to a chat you are in. Assistants can do either only if you switch that on, separately for each. It cannot delete anything, start new chats or send attachments. Those are three fixed PUT …/read calls and one fixed POST; every other request to the Parro API is a GET, and the other POST requests go to the login server (logging in, refreshing, logging out).

Where does my password go? Only to the ParnasSys login server, the same one the web app uses. login --prompt stores nothing but the tokens (~/.parro-mcp/tokens.json, readable only by you); logout revokes them. With login-url the client never sees a password at all. Passwords, tokens and download links are never written to a log.

Can a wrong password lock my account? The login server locks an account after a few failed attempts, so the client never retries: after one rejected password it stops logging in until you run login yourself. See docs/LOGIN.md.

What leaves my computer? Only requests to Parro, its login server and its attachment CDN. There is no telemetry. Note that with the MCP server, whatever a tool returns (school news, your children's names, documents) goes to the AI assistant you use, and so to its provider.

Does it work for every school? It was tested with one parent account. The calendar subscription link is part of the paid Parro Ouderapp, so it may not work everywhere; the rest uses the same calls as the web app. Parro can change its API at any time; if something breaks, please open an issue. Security problems: please report them privately, see SECURITY.md.

Development

python3 -m venv .venv && .venv/bin/pip install -r requirements-test.txt
.venv/bin/pytest            # no network: fake login server and API, invented family and school
.venv/bin/ruff check . && .venv/bin/mypy

Repository layout, snapshots, the README pictures and making a release: docs/DEVELOPMENT.md. A walk through the code: docs/CODE-TOUR.md. How each release was checked against the real API: docs/LIVE-CHECKS.md.

Credits

Inspired by fobatai/parro-mcp, a read-only MCP server for Parro by fobatai. Its working login and API calls were the starting point for this follow-up. The client here is an independent implementation based on the OpenAPI specification in this repository.

License

  • Code (parro/, parro_cli.py, parro_mcp.py, tests/, tools/): MIT.
  • Specification and documentation (openapi/, docs/, the README files): Creative Commons Attribution 4.0 International (CC BY 4.0) (see LICENSE). You may share and adapt them for any purpose, provided you give appropriate credit (link to this repository), indicate the license and note any changes you made.

"Parro", "ParnasSys" and "Topicus" are names of their respective owners. They are used here only to identify the API being described.

Metadata

Release files for parro-api-client 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parro-api-client 0.7.0
File Size Uploaded Provenance Actions
parro_api_client-0.7.0.tar.gz 115.1 kB With provenance Details for parro_api_client-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for parro-api-client 0.7.0
File Interpreter ABI Platform Actions
parro_api_client-0.7.0-py3-none-any.whl Python 3 none any Details for parro_api_client-0.7.0-py3-none-any.whl

Total release size: 229.5 kB

Release files / parro_api_client-0.7.0.tar.gz

Download URL parro_api_client-0.7.0.tar.gz
Size 115.1 kB
Tags Source
SHA-256 checksum
How to use checksums
545dbe1fcc8b2ca4e7a18d66c61e1d78f099b8f55f27fcf546c7a55bf3a1859e
BLAKE2b-256 checksum
How to use checksums
12e92365e5f1746e6a78f79f0c46fd219407b97497e71c1c488a8d7169bc1b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / parro_api_client-0.7.0-py3-none-any.whl

Download URL parro_api_client-0.7.0-py3-none-any.whl
Size 114.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
384ce0ec964e65c5420bc75e164c93a901521e09f4e98d77d4eddea574ffdbe4
BLAKE2b-256 checksum
How to use checksums
44b167c9bfc3188924d54cf75d9c0ffa9c12543fa0f171c8615e0347096b809a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for parro-api-client 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for parro_api_client-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page