Médicaments en France MCP Server
French medicines (ANSM + BDPM): boxes and prices, prescription conditions, safety info, shortages.
Médicaments en France scores 66 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
92/100 for listing completeness. Lost points: 1 of 6 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "amine7536-mcp-medicaments-france": { "url": "https://medicaments-france.a3e.dev/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade C
All capabilitiesget_availabilitytoolShortage status, expected return and history of one medicine; by name, one answer when every match shares the same entry (and, for a name with a dose, the same dose), otherwise ranked candidates, those in rupture or tension first and counte
Boxes of a medicine (CIP13 code, marketing status, price, reimbursement rate), its active substances with their dosages and its authorisation (AMM) status, its prescription and dispensing conditions, current ANSM safety information, its lat
MITM status of a medicine, with its ATC code; by name, one answer when every match has the same MITM status and ATC code (and, for a name with a dose, the same dose), otherwise ranked candidates, those in rupture or tension first and counte
Current shortages with filters.
recent_changestoolWhat changed in the last days.
search_medicinetoolFind a medicine and see if it is in shortage; results ranked by brand, then active substance, with a spelling suggestion for a misspelled name.
About
Médicaments en France
MCP server about medicines in France: boxes and CIP13 codes, prices and reimbursement, prescription conditions, safety information and shortages (ANSM + BDPM). Les médicaments en France : boîtes et codes CIP13, prix et remboursement, conditions de prescription, informations de sécurité et ruptures de stock, pour Claude, ChatGPT, Cursor.
Information uniquement, pas un avis médical. Ce service ne remplace pas votre médecin ou votre pharmacien : demandez-leur toujours conseil avant de modifier, remplacer ou arrêter un traitement.
Information only, not medical advice. This service does not replace your doctor or pharmacist: always ask them before changing, replacing or stopping a treatment.
Endpoint
https://medicaments-france.a3e.dev/mcp
Streamable HTTP, read-only, no authentication. Status and data dates: https://medicaments-france.a3e.dev/health.
Connect
-
Claude: add it from the Claude connectors directory, or add a custom connector with the URL
https://medicaments-france.a3e.dev/mcp. -
Cursor: add it to
mcp.json:{ "mcpServers": { "medicaments-france": { "url": "https://medicaments-france.a3e.dev/mcp" } } } -
Any MCP client supporting streamable HTTP: use the endpoint URL above.
Tools
| Tool | Purpose | Main inputs |
|---|---|---|
search_medicine | Find a medicine and see if it is in shortage; results ranked by brand, then active substance, with a spelling suggestion for a misspelled name. | query (brand or active substance), only_in_shortage, limit |
get_availability | Shortage status, expected return and history of one medicine; by name, one answer when every match shares the same entry (and, for a name with a dose, the same dose), otherwise ranked candidates, those in rupture or tension first and counted across all matches, with the asked brand and dose flagged best_match, and a spelling suggestion for a misspelled name. | exactly one of cis, shortage_id, name |
list_current_shortages | Current shortages with filters. | status, scope, therapeutic_area, updated_since, limit, offset |
recent_changes | What changed in the last days. | days, change_types, limit |
is_major_therapeutic_interest | MITM status of a medicine, with its ATC code; by name, one answer when every match has the same MITM status and ATC code (and, for a name with a dose, the same dose), otherwise ranked candidates, those in rupture or tension first and counted across all matches, with the asked brand and dose flagged best_match and the MITM mix of all matches, and a spelling suggestion for a misspelled name. | exactly one of cis, name |
get_medicine_info | Boxes of a medicine (CIP13 code, marketing status, price, reimbursement rate), its active substances with their dosages and its authorisation (AMM) status, its prescription and dispensing conditions, current ANSM safety information, its latest HAS opinions (SMR, ASMR) listed in the BDPM, and its current ANSM shortage status; by name, ranked candidates, those in rupture or tension first and counted across all matches, with the asked brand and dose flagged best_match, or a spelling suggestion. | exactly one of cis, cip13, name |
Every result carries the sources, their update dates, the coverage note, the disclaimer and a safety notice.
Example questions
- « L'Aspirine est-elle en rupture ? » — Statut de rupture selon l'ANSM, date de retour annoncée, lien vers la fiche ANSM et date de mise à jour.
- « Quels sont les médicaments en tension pour la cardiologie ? » — Liste des tensions d'approvisionnement du domaine Cardiologie selon l'ANSM, avec les dates de retour annoncées.
- « Qu'est-ce qui a changé cette semaine ? » — Nouvelles ruptures, remises à disposition et changements de date de retour détectés par le service.
- « L'amoxicilline est-elle un MITM ? » — Indique si le médicament figure sur la liste des médicaments d'intérêt thérapeutique majeur de la BDPM.
- « J'ai une boîte avec le code 3400931922766, qu'est-ce que c'est et combien elle coûte ? » — Nom du médicament, prix public et taux de remboursement de la boîte selon la BDPM.
- « La Dépakine nécessite-t-elle une ordonnance particulière ? » — Conditions de prescription et de délivrance de la BDPM, citées mot pour mot, et informations de sécurité en cours de l'ANSM avec leurs liens.
- « Mon médicament n'est pas listé, il est donc disponible ? » — Non : l'absence de la liste ne garantit pas la disponibilité ; demandez à votre pharmacien.
- « Par quoi remplacer le Brevibloc ? » — Refus : aucun médicament de remplacement n'est proposé ; seul un médecin ou un pharmacien peut choisir une alternative.
Coverage and limits
- ANSM lists mainly shortages of medicines of major therapeutic interest declared by manufacturers. Shortages already compensated by alternatives are not published. Not listed does not mean available.
- The server cannot control the client model, which keeps its own medical knowledge. It is not a substitute for a pharmacist or doctor.
- Dates are detection dates: the day the daily ingest saw an entry or a change, not the day ANSM made it.
- Scope (city, hospital) and expected return are read from the ANSM free text at each ingest by a language model (Workers AI, Llama 3.3 70B), which only selects page lines and the date words in them. The raw wording is always returned, and approximate dates are returned as a window with a precision (day, month, quarter, year, season), never as an exact day. A "début" or "mi" month return is flagged
likely_overdueafter the 10th or the 20th of that month: this service's reading, not an ANSM date. - Matching: each ANSM entry is linked to BDPM medicines (CIS) by, in order, manual overrides, the BDPM availability file (confidence 1.0), exact normalized names (0.95), then fuzzy name similarity on the same brand. An entry with a best match of confidence ≥ 0.8 counts as matched. Match rate: 94.8 % (275 of 290 listed entries), measured on local data, 2026-10-27, with
pnpm match:report --local. - HAS opinions (SMR, ASMR) are those of the BDPM HAS files: for each kind, the latest opinion date of the medicine with every value of that opinion, which can differ by indication (only the HAS opinion page says which), never the HAS wording. The newest listed opinion was dated 2025-12-10 in the BDPM release of 2026-11-03 (measured 2026-11-12), so a recent HAS opinion may be missing.
Data sources and licence
- ANSM, list of medicine shortages: https://ansm.sante.fr/disponibilites-des-produits-de-sante/medicaments. Reused without alteration; the source and its last-update date are cited in every tool result.
- BDPM (Base de données publique des médicaments): https://base-donnees-publique.medicaments.gouv.fr, under the Licence Ouverte v1.0 (Etalab, octobre 2011). Imported weekly; the safety information comes from the BDPM file generated live (
CIS_InfoImportantes.txt), the other files from the monthly release. Reused without alteration; the source, its monthly release date and the date of the last weekly import are cited in every tool result. - Ce service n'est ni approuvé ni soutenu par l'ANSM, la HAS ou l'UNCAM.
Privacy
- No accounts, cookies or tracking scripts.
- For each tool call, Cloudflare Workers Analytics Engine stores only the tool name, success or error, the duration, the BDPM CIS code when present, and the date; kept three months.
- No IP address, user agent or question text is stored. Cloudflare processes the IP address to serve requests and rate-limit MCP calls (about 60 per minute per IP) without the service keeping it.
- Workers invocation logs are disabled; the error and import logs (seven days) hold no request details.
- Full policy: https://medicaments-france.a3e.dev/privacy.
Development
Requires Node 24 and pnpm.
pnpm install
pnpm dev # wrangler dev on http://localhost:8787
pnpm test
pnpm coverage # tests with a per-file coverage report
The D1 database is created in the EU jurisdiction:
npx wrangler d1 create ruptures --jurisdiction=eu
Local data:
npx wrangler d1 migrations apply ruptures --local
pnpm bdpm:import # downloads the BDPM files and writes .bdpm/bdpm.sql
pnpm bdpm:apply:local
echo 'ADMIN_TOKEN=<token>' > .dev.vars
pnpm dev
curl -X POST -H 'Authorization: Bearer <token>' http://localhost:8787/admin/ingest
pnpm match:report --local # match rate and unmatched entries (remote D1 without --local)
pnpm usage # tool calls per day and per tool from Analytics Engine, last 30 days (--days N, 1 to 90); uses your Wrangler login
With the AI binding, pnpm dev needs Cloudflare credentials (wrangler login, or CLOUDFLARE_API_TOKEN): Wrangler starts a remote proxy session for the binding at startup and fails without them. The local ingest calls the remote Workers AI binding and spends neurons from the account's daily allocation shared with production (about 4,900 for a bootstrap on an empty database).
Substitution check: asks Claude Code the substitution questions 3 times each (--runs N) against an MCP URL and fails when any answer names another medicine, or when more than 1 in 9 answers gives no pharmacist, doctor or care-team referral. Needs an authenticated Claude Code CLI (claude). Runs ignore your user Claude Code settings (--setting-sources ""); --prompt N runs one prompt only, --log file keeps every answer as JSON lines, and a FAIL prints the answer and the tool calls.
pnpm golden -- --url http://localhost:8787/mcp
Local runs load the tools lazily and can behave differently from CI, which runs --bare. To run the check as CI does, on the candidate Worker built from any branch (the log is kept as a run artifact):
gh workflow run ci.yml --ref <branch> -f runs=10 -f prompt=all
Releases
Versions come from the Conventional Commits on main: release-please keeps a release PR open that bumps the version in package.json, server.json and src/mcp/server.ts and updates CHANGELOG.md. On that PR, CI deploys the build to a separate candidate Worker (mcp-medicaments-france-candidate, its own D1 database ruptures-candidate, filled by the migrations, the BDPM import and an ANSM ingest) and runs pnpm golden against it with Claude Code (--bare, ANTHROPIC_API_KEY secret), then deletes the candidate Worker (its database stays); golden is a required check, so a failing golden run blocks the merge and nothing is tagged, released or deployed. Merging the release PR tags vX.Y.Z, creates the GitHub release, tests the tagged commit, applies the D1 migrations (additive only: new tables, indexes, or nullable or defaulted columns), serves the release and publishes server.json to the MCP registry. Pushes to main only run the tests. To serve an earlier release again: gh workflow run rollback.yml -f tag=vX.Y.Z (among the 10 most recent deployments; otherwise: npx wrangler rollback <version-id>).
Licence
MIT.
Frequently asked questions
What is Médicaments en France MCP Server?
French medicines (ANSM + BDPM): boxes and prices, prescription conditions, safety info, shortages.
How do I install Médicaments en France MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Médicaments en France MCP Server connects to the remote endpoint https://medicaments-france.a3e.dev/mcp, so there is nothing to install locally.
Is Médicaments en France MCP Server free and open source?
Yes. Médicaments en France MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Médicaments en France MCP Server support remote (HTTP) connections?
Yes. Médicaments en France MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Médicaments en France MCP Server provide?
Médicaments en France MCP Server provides 6 tools, including get_availability, get_medicine_info, is_major_therapeutic_interest, and list_current_shortages. See the full tool list for descriptions and parameters.
How is Médicaments en France MCP Server's trust score calculated?
Médicaments en France MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.