[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [BDPM medicine details](https://spiral.ai/integrations/gemini-cli/bdpm-medicine-details)

# How to Use BDPM medicine details in Gemini CLI

Returns one French medicine's authorization, active ingredients, packs, prescribing conditions, and HAS assessments. Use it to examine a specific product after identifying the correct medicine.

|  |  |
| --- | --- |
| Model | BDPM medicine details |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with BDPM medicine details in Gemini CLI

- Use BDPM medicine details for https://base-donnees-publique.medicaments.gouv.fr/medicament/62689214/extrait and create a project reference entry with its composition and packs.
- Use BDPM medicine details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from BDPM medicine details and tell me what changed since last week.
- Check BDPM medicine details and summarize what you find in three bullet points.
- Pull the newest data from BDPM medicine details and give me the result as a table.

## How to set up BDPM medicine details 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:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
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.

```bash
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 details**: One request; the result comes back by polling or a webhook.

```bash
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/get",
    "input": {
      "id": "<id>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## BDPM medicine details tools and prices

- [France public medicines database (BDPM) · Get](https://spiral.ai/tools/alexandria/base-donnees-publique-medicaments-gouv-fr/medicines/get) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | A CIS code (8 digits, e.g. `62689214`), a pack's CIP13 (13 digits) or CIP7 (7 digits). |
| url |  | — | A BDPM medicine page, e.g. `https://base-donnees-publique.medicaments.gouv.fr/medicament/62689214/extrait`, or an older `extrait.php?specid=` link. |

## What can you do with BDPM medicine details 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## BDPM medicine details in other agents

- [Amp](https://spiral.ai/integrations/amp/bdpm-medicine-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bdpm-medicine-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/bdpm-medicine-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/bdpm-medicine-details)
- [Cline](https://spiral.ai/integrations/cline/bdpm-medicine-details)
- [Codex](https://spiral.ai/integrations/codex/bdpm-medicine-details)
- [Cursor](https://spiral.ai/integrations/cursor/bdpm-medicine-details)
- [Devin](https://spiral.ai/integrations/devin/bdpm-medicine-details)
- [dots](https://spiral.ai/integrations/dots/bdpm-medicine-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bdpm-medicine-details)
- [Gemini](https://spiral.ai/integrations/gemini/bdpm-medicine-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bdpm-medicine-details)
- [goose](https://spiral.ai/integrations/goose/bdpm-medicine-details)
- [Grok](https://spiral.ai/integrations/grok/bdpm-medicine-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/bdpm-medicine-details)
- [Hermes](https://spiral.ai/integrations/hermes/bdpm-medicine-details)
- [Instinct](https://spiral.ai/integrations/instinct/bdpm-medicine-details)
- [Manus](https://spiral.ai/integrations/manus/bdpm-medicine-details)
- [Muse](https://spiral.ai/integrations/muse/bdpm-medicine-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/bdpm-medicine-details)
- [n8n](https://spiral.ai/integrations/n8n/bdpm-medicine-details)
- [Notion](https://spiral.ai/integrations/notion/bdpm-medicine-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bdpm-medicine-details)
- [opencode](https://spiral.ai/integrations/opencode/bdpm-medicine-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/bdpm-medicine-details)
- [Raycast](https://spiral.ai/integrations/raycast/bdpm-medicine-details)
- [VS Code](https://spiral.ai/integrations/vscode/bdpm-medicine-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/bdpm-medicine-details)
- [Zapier](https://spiral.ai/integrations/zapier/bdpm-medicine-details)

## More Gemini CLI guides

- [BDPM HAS medicine assessments](https://spiral.ai/integrations/gemini-cli/bdpm-has-medicine-assessments)
- [BDPM medicine search](https://spiral.ai/integrations/gemini-cli/bdpm-medicine-search)
- [AlphaFold protein structure prediction](https://spiral.ai/integrations/gemini-cli/alphafold-protein-structure-prediction)
- [CDC PLACES local health estimates](https://spiral.ai/integrations/gemini-cli/cdc-places-local-health-estimates)
- [AlphaFold predicted protein complexes](https://spiral.ai/integrations/gemini-cli/alphafold-predicted-protein-complexes)
- [CDC cancer incidence and death statistics](https://spiral.ai/integrations/gemini-cli/cdc-cancer-incidence-and-death-statistics)

## Questions about BDPM medicine details in Gemini CLI

**Can Gemini CLI use BDPM medicine details?**

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

**How much does BDPM medicine details 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 details in Gemini CLI?**

No. Spiral runs BDPM medicine details 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 details in Gemini CLI?**

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

**Does Gemini CLI wait while BDPM medicine details runs?**

BDPM medicine details 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.

