Skip to main content
Glama

Podłącz w 30 sekund

Adres MCP: https://leki.compabase.com/mcp (Streamable HTTP, bez logowania).

  • Claude: Ustawienia → Connectors → Add custom connector → wklej adres.

  • ChatGPT: Settings → Connectors (tryb deweloperski) → dodaj serwer MCP.

  • Claude Code: claude mcp add --transport http leki https://leki.compabase.com/mcp

  • Lokalnie (stdio): npx -y leki-mcp, np. w Claude Desktop:

{ "mcpServers": { "leki": { "command": "npx", "args": ["-y", "leki-mcp"] } } }

Related MCP server: Israel Drugs MCP Server

Co potrafi

Narzędzie

Do czego

drug_price

Urzędowa cena w aptece, limit finansowania NFZ, poziom odpłatności (ryczałt, 30%, 50%, bezpłatny) i ile dopłacasz. Tańsze odpowiedniki – ta sama substancja, dawka i liczba sztuk – z różnicą w złotówkach, najtańsze opakowanie w przeliczeniu na tabletkę, wskazania objęte refundacją oraz czy lek jest bezpłatny dla 65+, dzieci do 18 lat i kobiet w ciąży. Szukaj po nazwie i dawce („Tulip 20 mg”), substancji – po polsku lub łacinie („atorwastatyna”, „atorvastatinum”), liczbie sztuk („30 szt”) albo kodzie EAN z opakowania. Gdy dany lek nie jest refundowany, podpowiada refundowane leki z tą samą substancją.

drug_info

Dane z Rejestru Produktów Leczniczych: substancja, dawka, postać, kod ATC, podmiot odpowiedzialny, na receptę czy bez (OTC), opakowania z kodami EAN, linki do ulotki i charakterystyki produktu.

data_sources

Źródła, data wykazu i zastrzeżenia.

Przykładowe pytania: „Ile zapłacę za Xarelto 20 mg i czy jest coś tańszego?”, „Najtańsza metformina 1000 mg na 60 tabletek”, „Czy Euthyrox 50 jest za darmo dla seniora?”, „Czy ibuprofen 400 jest bez recepty i gdzie jest ulotka?”.

Skąd dane

  • Wykaz leków refundowanych – obwieszczenie Ministra Zdrowia (załącznik .xlsx z gov.pl, zwykle co kwartał: 1 stycznia, kwietnia, lipca i października). Serwer sam znajduje najnowsze obwieszczenie i pobiera je codziennie. Używamy części A1–A3 (leki, środki spożywcze specjalnego przeznaczenia i wyroby medyczne w aptece) oraz list D1 (65+), D2 (do 18 lat) i E (kobiety w ciąży).

  • Rejestr Produktów Leczniczych (e-Zdrowie, rejestry.ezdrowie.gov.pl) – pełny eksport CSV, ok. 20 tys. leków stosowanych u ludzi.

  • Ceny leków refundowanych są urzędowe – takie same w każdej aptece. Cen leków nierefundowanych (w tym OTC) nie podajemy: są wolne i różnią się między aptekami.

  • Odpowiedniki to leki z tej samej grupy limitowej, z tą samą substancją, dawką i liczbą sztuk; farmaceuta ma obowiązek poinformować o tańszym odpowiedniku i wydać go na życzenie pacjenta, chyba że lekarz wpisał „NZ”.

  • To informacja, nie porada medyczna – zmianę leku skonsultuj z lekarzem lub farmaceutą.

Własny serwer

npx -y leki-mcp --http --port 3000      # MCP: http://localhost:3000/mcp
npx -y leki-mcp price "Tulip 20 mg 30 szt"
npx -y leki-mcp info "ibuprofen 400 mg"

Dane (~20 MB) pobierają się przy pierwszym użyciu do ~/.cache/leki-mcp i odświeżają raz na dobę. Zmienne: LEKI_DATA_DIR, LEKI_REFRESH_HOURS (24), LEKI_REFUND_XLSX_URL (bezpośredni link do załącznika), LEKI_RATE_LIMIT, LEKI_STATS=1 (anonimowe liczniki pod /stats), LEKI_CONTACT, LEKI_PUBLIC_URL.

Licencja

Kod: MIT. Dane: Ministerstwo Zdrowia (wykaz leków refundowanych), Urząd Rejestracji Produktów Leczniczych / Centrum e-Zdrowia (Rejestr Produktów Leczniczych) – dane przetworzone. Projekt niezależny, hostowany pro publico bono przez Compabase. Zobacz też rozkład-mcp (rozkłady jazdy) i ceny-nieruchomosci-mcp (ceny transakcyjne i działki).


English

leki-mcp gives AI assistants the official prices of refunded medicines in Poland: the pharmacy price, the NFZ refund limit, the refund level and what the patient pays, plus cheaper equivalents (same substance, strength and pack size), the cheapest pack per tablet and whether the drug is free for patients 65+, under 18 or pregnant. drug_info adds prescription status (Rx/OTC), registered packs and leaflet links from the Polish Medicinal Products Register. Public endpoint: https://leki.compabase.com/mcp (no key), or run locally with npx -y leki-mcp. Data: Minister of Health refund list (updated quarterly, fetched daily) and the Medicinal Products Register. Information only – not medical advice.

Available Tools

3 tools
data_sourcesData sourcesC
Read-only
Inspect

Where the data comes from, how current it is, caveats.

Inputs: no named parameters.

drug_infoMedicine registration data (Poland)C
Read-only
Inspect

Data from the Polish Medicinal Products Register: substance, strength, form, ATC, marketing authorisation holder, prescription status (OTC / Rp / Rpz / Rpw / Lz), registered packs with EAN and links to the patient leaflet and SmPC.

Inputs: query (required), max.

drug_priceRefunded drug price, co-payment and cheaper substitutes (Poland)A
Read-only
Inspect

Official pharmacy price, NFZ refund limit, refund level and patient co-payment of a medicine on the Polish refund list, with cheaper equivalents (same substance, strength and pack size) and the cheapest price per tablet. Also tells if the pack is free for seniors 65+, children under 18 or pregnant women. query: brand + strength ("Tulip 20 mg"), substance ("atorwastatyna 20 mg" / "atorvastatinum"), pack size ("30 szt") or EAN/GTIN.

Inputs: query (required), max, indication.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three tools have clearly distinct purposes: drug_price handles reimbursement, co-payment, and price comparisons; drug_info retrieves official registry metadata and leaflet links; data_sources explains provenance. There is no meaningful overlap that would cause an agent to misselect between them.

    Naming Consistency5/5

    All tool names use consistent snake_case with descriptive noun phrases (drug_price, drug_info, data_sources). The drug_ prefix groups the two drug lookup tools logically, and data_sources is still stylistically consistent.

    Tool Count5/5

    Three tools are well-scoped for a focused Polish drug pricing and registry lookup server. Each tool has a clear, non-redundant role, and no obvious operation is missing that would justify adding more tools.

    Completeness4/5

    The surface covers the core domain well: pricing/refund data, cheaper equivalents, senior/child/pregnancy exemptions, registry details, pack EANs, leaflets, and data provenance. Minor potential gaps exist around broader discovery or safety/interaction information, but the stated scope is substantially covered.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query the official Spanish AEMPS/CIMA registry for real-time pharmaceutical data, including medications, supply problems, and clinical equivalences.
      75 PyPI
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with comprehensive access to Israel's complete pharmaceutical database from the Ministry of Health, enabling drug information search, therapeutic comparisons, and safety assessments.
      19
      Creative Commons Attribution Non Commercial Share Alike 4.0 International
    • A
      license
      A
      quality
      C
      maintenance
      Enables querying the Polish National Health Fund (NFZ) public API for medical waiting lists and service dictionary, allowing AI to compare wait times and find providers.
      3
      3
      MIT