neap
How it works

Five registers in, one record shape out

Neap is a medicine shortage lookup for supply teams and their AI agents: it reads the shortage registers of the European Medicines Agency, Czechia, Spain, France and Italy every day and answers in one record shape, with the register's own words, the dates and the source.

Long aisle of a distribution warehouse with high racks of cartons on both sides
1

Read politely

Each register is fetched once a day through a client that reads robots.txt first, names itself honestly and stops when a path is disallowed. On 9 Nov 2026 that meant 87,987 rows across five registers.

2

Keep a dated copy

Every daily build is a dated version, kept as it was. Any tool takes as_of to answer from an older version, so an answer can be reproduced later. Spain, France and Italy publish only the present: a day not kept is a day lost.

3

Normalise, keep the words

Each register's statuses map to five: shortage, supply tension, announced, resolved and discontinued. The register's own wording stays beside the status, unchanged, in sourceStatus.

4

Join on the code the register gives

Records join across countries on the ATC code each register publishes. Spain's code comes from CIMA per product, France's from an exact substance name match against EMA and SUKL data, and each record says which in atcBasis.

5

Cite every record

Every record carries its source URL, the list date or retrieval date, a content hash of the file and a hash of the record, plus the credit line the source's terms require.

6

Say when a register breaks

A register that fails, goes stale or changes format is named in warnings on every affected answer, and complete turns false. Answers fall back to the last good copy and say so.

What Neap leaves out, on purpose

  • Advice. Fields naming alternatives or replacements are dropped when a register is read: EMA's availability of alternatives, SUKL's replacement product, CIMA's observations and AIFA's equivalents and suggestions.
  • Stock. Neap has no stock data. An empty answer means the register lists nothing.
  • Strength and form. Not normalised in this version, so one ATC code can cover products that are not interchangeable.
  • The ATC index. Neap serves the codes registers publish, never the classification's names, doses or hierarchy.

Czechia's history

SUKL's file holds 84,156 dated notices. Neap rebuilds them into intervals per pack: an interruption stays open until a resumption, termination or start notice closes it. 295 exact duplicate rows were dropped on the last read. That is why a Czech answer comes with its own past, and why history_for reaches back years for Czechia and only to the first snapshot elsewhere.

Proof

The product ships with unit tests and a set of oracle vectors: answers checked by hand against the registers' own files and record pages. Both run on every build, and an end-to-end run calls every tool through MCP, HTTP and the command line and checks they agree.

Automated and unreviewed. Neap reads official sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official source linked with every answer before you act. Not legal, tax or customs advice. Not medical advice. Ask a pharmacist or doctor. A supply status is not a clinical recommendation.