# engpassradar

Aggregated Swiss medication shortage data — 8 tools for drug shortage search, alternatives, company profiles and trend analysis. Data from drugshortage.ch, BWL, and Spitalpharmazie USB.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add info-re81/engpassradar

# Browse available tools
npx -y smithery tool list info-re81/engpassradar

# Get full schema for a tool
npx -y smithery tool get info-re81/engpassradar shortage.search

# Call a tool
npx -y smithery tool call info-re81/engpassradar shortage.search '{}'
```

## Direct MCP Connection

Endpoint: `https://engpassradar--info-re81.run.tools`

**Optional config:**
- `ENGPASS_API_KEY` (query) — Your engpassradar.ch API key for higher rate limits. Leave empty for free tier (100 req/hour).

## Tools (8)

- `shortage.search` — Full-text search of current Swiss medication shortages. Searches product name, active ingredient (Wirkstoff), and compa…
- `shortage.get` — Fetch full details for a single shortage by GTIN. Returns product name, company, ATC, status, expected return date, sev…
- `shortage.alternatives` — Find alternative products for a medication in shortage. Returns same-substance and same-class alternatives, each with t…
- `atc.check` — Check how many products in a given ATC therapeutic class are currently in shortage. Accepts any ATC depth (C09, C09AA, …
- `shortage.list` — List currently active medication shortages with optional filters. Use for dashboards, "was ist gerade betroffen", bulk …
- `company.status` — All current shortages for a manufacturer, plus communication transparency metrics. Use for: "Wie transparent kommunizie…
- `shortage.timeline` — Week-by-week history of total active shortages in Switzerland. Use for: "wird es besser oder schlechter?", trend questi…
- `stats.weekly` — Summary statistics: total active shortages, critical count, BWL affected. Quick situational overview — same data as the…

```bash
# Get full input/output schema for a tool
npx -y smithery tool get info-re81/engpassradar <tool-name>
```
