Medical MCP server
Ask Claude, Cursor or any MCP client what a medicine costs, which brands have the same composition for less, and what NPPA's ceiling price is. Twenty-four read-only tools over the same data as the REST API and the explorer.
Using ChatGPT, Claude or Gemini? Add the address and sign in with your EJI API account instead of pasting a key: how to connect an AI app.
It uses your medical key (med_…), the same one as the REST API; get a free beta key. Finance and accounting keys do not work here; their MCP servers are at fin.ejiapi.com and acc.ejiapi.com.
Connect
claude mcp add --transport http eji-medical https://med.ejiapi.com/mcp \ --header "x-api-key: YOUR_MED_KEY"
{
"mcpServers": {
"eji-medical": {
"url": "https://med.ejiapi.com/mcp",
"headers": { "x-api-key": "YOUR_MED_KEY" }
}
}
}
{
"mcpServers": {
"eji-medical": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://med.ejiapi.com/mcp",
"--header", "x-api-key:${EJI_MED_KEY}"],
"env": { "EJI_MED_KEY": "YOUR_MED_KEY" }
}
}
}
It reaches remote servers through the mcp-remote helper. Keep your key out of shared config files and repositories.
Try without a key
Connect without the header and the tools use the explorer's public demo: the same data, limited to 60 calls a minute per visitor. Answers then carry "demo": true.
claude mcp add --transport http eji-medical-demo https://med.ejiapi.com/mcp
Tools
All tools are read-only. Prices are in rupees, as filed with NPPA for the month in asOf. Every answer carries source (the NPPA credit) and disclaimer, and the server asks the assistant to pass both on. Start with med_search_medicines: its id feeds the substitutes and pack tools, its saltId the salt tool.
med_search_medicinesRead-onlyPacks whose name or composition contains the text: MRP, per unit, maker, composition, price control.
med_get_packRead-onlyOne pack by its id.
med_get_brandRead-onlyEvery strength, form and pack size of one brand.
med_find_substitutesRead-onlyBrands with the same composition and form, cheapest per unit first, with the saving in %. Packs whose NPPA price looks wrong are left out.
med_search_saltsRead-onlySalts and salt combinations, with their number of packs.
med_salt_packsRead-onlyEvery pack of one salt, with the lowest and highest price per unit.
med_ceiling_pricesRead-onlyNPPA ceiling prices with the Gazette S.O. number and date.
med_search_companiesRead-onlyMakers, with their number of packs and brands.
med_company_packsRead-onlyEvery pack one company has filed with NPPA.
med_essential_medicinesRead-onlyNLEM 2022 entries: level of care and dosage forms.
med_banned_checkRead-onlyDrugs and FDCs prohibited or restricted under Section 26A, with the Gazette notification.
med_batch_alertsRead-onlyBatches CDSCO declared not of standard quality or spurious, since 2019.
med_schedulesRead-onlyIs a drug in Schedule H, H1 or X, or a brand in H2?
med_us_labelRead-onlyUS FDA label of a salt: uses, warnings, interactions.
med_us_recallsRead-onlyUS FDA drug recalls, including Indian firms.
med_insurersRead-onlyHealth insurers with their claims ratio, latest year or by year.
med_insurance_productsRead-onlyApproved health insurance products with the wording; TPAs.
med_device_pricesRead-onlyCeiling prices of coronary stents and knee implants.
med_cghs_ratesRead-onlyCGHS rates of tests and procedures by city tier, hospital type and ward.
med_cghs_itemRead-onlyAll 27 CGHS rates of one item.
med_cghs_hospitalsRead-onlyCGHS empanelled hospitals by city or speciality, or nearest to a point.
med_icd11Read-onlyICD-11 codes and titles, with parents and children for a code.
med_loincRead-onlyLOINC lab codes.
med_data_statusRead-onlyThe month the prices are for, row counts, last load.
Questions to try
med_find_substitutesmed_salt_packsmed_ceiling_pricesmed_company_packsmed_banned_checkmed_cghs_rates, med_cghs_hospitalsYour data and safety
- The server keeps no session: each request uses the key it came with and nothing else.
- It reads public price data only. Nothing about you or your health reaches EJI beyond the search text.
- Same composition is not always interchangeable (release type, excipients). The tools say so; the assistant should send people to a doctor or pharmacist, never tell them to switch.
- Calls count against your key like REST calls. Free during the beta.
Prices: NPPA (Pharma Sahi Daam), Government of India, reproduced with credit. Reference information only, not medical advice: ask a doctor or pharmacist before changing a medicine.