Command-line tool and TypeScript library

ckan

Search any CKAN open-data portal from your terminal. ckan is a command-line tool over the CKAN Action API (<portal>/api/3/action), which many public-sector catalogues run on. Out of the box it talks to the Hamburg Transparenzportal (suche.transparenz.hamburg.de), and --base-url points it at any other CKAN: search, inspect, filter and pipe straight into jq.

Version 0.0.5 npm GitHub API reference

Install

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

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

Access

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

Quick start

ckan search elbe --rows 5

Commands

All commands, arguments and options →

Claude Code skills

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

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

TypeScript library

@maschinenlesbar.org/ckan-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.