leki-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@leki-mcp Ile zapłacę za Xarelto 20 mg i czy jest coś tańszego?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpLokalnie (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 |
| 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ą. |
| 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. |
| Ź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 toolsdata_sourcesData sourcesCRead-onlyInspect
Where the data comes from, how current it is, caveats.
Inputs: no named parameters.
drug_infoMedicine registration data (Poland)CRead-onlyInspect
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)ARead-onlyInspect
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
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
Official data for AI assistants: medicines, recalls, cosmetics, money, travel, places, prices.
Free health AI: drug interaction checks, medicine facts and health questions in 90+ languages
Polish companies and people: KRS, CEIDG, financials, boards, VAT, sanctions. Free, no API key.
US medication lookup: drug search, forms and strengths, NDC/RxCUI, recalls, shortages.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query the official Spanish AEMPS/CIMA registry for real-time pharmaceutical data, including medications, supply problems, and clinical equivalences.75 PyPI1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides 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.19Creative Commons Attribution Non Commercial Share Alike 4.0 International
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query the Australian Pharmaceutical Benefits Scheme (PBS) API for medicine pricing, prescriber information, schedules, and more.MIT
- AlicenseAqualityCmaintenanceEnables 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.33MIT