Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Health

How to Use BDPM medicine search in Gemini CLI

Finds French medicine records by product name or active ingredient. Use it to identify matching products before examining their composition, packs, or HAS assessments in detail.

Prompts to try with BDPM medicine search in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use BDPM medicine search for sémaglutide and add the returned medicine names to a CSV in this project.

BDPM medicine searchGemini CLI
Try asking
  • Use BDPM medicine search for paracétamol and build a selectable medicine list from the returned records.

  • Use BDPM medicine search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from BDPM medicine search and tell me what changed since last week.

  • Check BDPM medicine search and summarize what you find in three bullet points.

How to set up BDPM medicine search in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run BDPM medicine search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "base-donnees-publique-medicaments-gouv-fr/medicines/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds BDPM medicine search on Spiral, shows the price and runs it.

BDPM medicine search providers and prices

Spiral runs BDPM medicine search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
France public medicines database (BDPM) · Search
base-donnees-publique-medicaments-gouv-fr/medicines/search

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 5020

Results per page.

Offseta number from 00

next_offset from the previous page; repeat the same filters with it.

Marketed onlyon or off

Only medicines whose marketing status is Commercialisée.

Every API field of France public medicines database (BDPM) · Search is on its tool page: open its card above.

What can you do with BDPM medicine search in Gemini CLI?

Build a French medicine reference table in your project from BDPM product records and HAS opinions. Keep product composition and indication-specific assessment wording together so reviewers can inspect the evidence.

French medicine research brief

Identify products for an active ingredient, inspect their records, and summarize the associated HAS assessments for a research brief.

Product comparison

Build a comparison of French products using their composition, packs, prescribing conditions, and indication-specific assessment wording.

Assessment review list

Collect HAS opinions for a research period, identify the medicines concerned, and attach product records for reviewers.

Medicine reference library

Create reference entries that connect medicine names and active ingredients to product details and HAS opinion links.

Pack and composition review

Find products containing an active ingredient and examine the composition and pack information of each selected medicine.

Questions about BDPM medicine search in Gemini CLI

Can Gemini CLI use BDPM medicine search?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run BDPM medicine search like any built-in tool.

How much does BDPM medicine search cost in Gemini CLI?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use BDPM medicine search in Gemini CLI?

No. Spiral runs BDPM medicine search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up BDPM medicine search in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while BDPM medicine search runs?

BDPM medicine search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does BDPM cover medicines outside France?

BDPM covers medicines marketed in France. Its homepage describes a three-year historical window, while its help page says five years, so the published retention guidance is inconsistent.

How often does BDPM change?

BDPM states that the database is updated monthly. Important-information downloads are generated when requested because those notices can change more frequently.

Are the medicine records and assessments in English?

Alexandria preserves BDPM's French text. Statuses and SMR/ASMR levels include English explanations, but the assessment wording remains French.

Does one HAS assessment apply to every use of a medicine?

HAS evaluates medicines indication by indication. A medicine can have an indication supported for reimbursement and another that is not.

Does every medicine have SMR and ASMR ratings?

No. BDPM specifically says that generic medicines do not systematically receive SMR and ASMR assessments.

Get started

Start using BDPM medicine search in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options