neap
Docs

Seven tools, one record shape

Neap answers over MCP, plain HTTP and a command line with the same seven read-only tools. Every answer carries the data version, the sources, the credit lines and any warnings.

The tools

ToolUse it when
find_medicineFinds medicines by product or substance name and returns each register's own codes: the national code for shortages_by_national_code and the ATC code for shortages_by_atc and cross_country_summary.
shortages_by_atcLists shortage records for an ATC code across EU registers, in one record shape.
shortages_by_national_codeLooks up one product by its national code in one country: Czech KOD_SUKL, Spanish Codigo Nacional, Italian AIC (nine digits for a pack; six digits also returns every pack of that medicine), the ANSM listing id for France, or the EMA shortage page slug with country EU.
cross_country_summaryCompares one ATC code across every served register: active records per country, split into shortNow and announced (start date after the snapshot), status breakdown, earliest start, latest update, how many are past their expected end, and how many have none.
changes_sinceReturns what moved in the registers since a cursor: rows listed or delisted, status changes, date changes and ATC changes, and Czech products leaving the current view (left_current_view), oldest first.
source_statusReports each register's state (ok, stale, drift, error, robots_blocked or never_fetched), last attempt, last success, source row count, served record count and content hash, plus which countries are held back or excluded and why.
history_forShows how shortages for an ATC code moved over time.

What every answer carries

FieldMeaning
dataVersionThe dated version the answer was read from. Pass as_of to pin an older one.
sourcesEach register used, its URL, health, retrieval time and list date.
attributionThe credit line each source's terms require. Keep it when you pass data on.
warningsA register that failed or changed format is named here. Read it on every call.
completeFalse when any warning applies. Treat the answer as partial.
absenceOn empty answers: no record does not mean available.

The record

FieldMeaning
nationalCodeThe code as the register prints it: KOD_SUKL, Codigo Nacional, AIC, ANSM listing id or EMA slug.
statusOne of shortage, supply_tension, announced, resolved, discontinued.
sourceStatusThe register's own wording, unchanged.
start, expectedEndDates as the register gives them; expectedEndText where it gives words, not a date.
atc, atcBasisThe ATC code on the record and how it was found: source, cima_medicamento, ema_medicines or substance_name.
sourceListDateThe list's own date, or the retrieval date where the register publishes none (sourceListDateBasis says which).
provenanceSource URL, record URL where one exists, fetch time, content hash and record hash.

Access and limits

The free tier needs no key: 20 calls a day per address. Paid plans send Authorization: Bearer <key>. At the limit the API answers 429 with free_limit and a plain message; nothing is cut silently. Errors are JSON with error and message: invalid_atc, invalid_date, source_not_served, source_excluded, country_not_covered.

Plain HTTP

POST https://neap.bulkhead.solutions/v1/tools/<tool>
content-type: application/json

{"country":"CZ","code":"0269399"}

The OpenAPI description lists every tool with its schema. llms.txt and llms-full.txt describe the service for language models.

MCP

Streamable HTTP at https://neap.bulkhead.solutions/mcp, stateless, every tool annotated read-only. Set-up for each client.