Command-line tool and TypeScript library

oparl

Read German municipal council information — meetings, agendas, motions, committees and members — from your terminal. oparl is a command-line tool and TypeScript client for OParl, the open standard API of council information systems (Ratsinformationssysteme): find a municipality’s endpoint, open its bodies, and walk their meetings, papers or persons as clean JSON you can pipe straight into jq.

Version 0.0.2 npm GitHub API reference

Install

Needs Node.js 20 or newer. Installs the oparl command:

npm i -g @maschinenlesbar.org/oparl-cli

Access

No account, no API key, no configuration — install and query.

Quick start

# 1. Find a municipality's OParl endpoint (its System URL)
oparl endpoints --search köln | jq -r '.[].url'

# 2. List the bodies on that server — usually one per municipality
oparl bodies https://buergerinfo.stadt-koeln.de/oparl/system | jq -r '.data[] | "\(.name)\t\(.id)"'

# 3. Papers (Vorlagen, Anträge, Anfragen) changed since a date
oparl list paper https://buergerinfo.stadt-koeln.de/oparl/bodies/stadtverwaltung_koeln \
  --modified-since 2026-09-01 | jq -r '.data[] | select(.deleted != true) | "\(.date)\t\(.reference)\t\(.name)"'

# 4. The first page of meetings
oparl list meeting https://buergerinfo.stadt-koeln.de/oparl/bodies/stadtverwaltung_koeln \
  | jq -r '.data[] | "\(.start)\t\(.name)"'

Commands

All commands, arguments and options →

Claude Code skills

The oparl plugin teaches Claude to use oparl. Install it from the maschinenlesbar.org marketplace:

/plugin marketplace add maschinenlesbar-org/plugins
/plugin install oparl@maschinenlesbar

TypeScript library

@maschinenlesbar.org/oparl-cli is also a typed API client you can import in your own code, with no runtime HTTP dependencies.

The tool, not the data

The data comes from the provider behind the API, under its own terms — see DATA_LICENSE.md. The code is dual-licensed AGPL-3.0-or-later or commercial — see LICENSING.md.