[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [BDPM medicine search](https://spiral.ai/integrations/muse-code/bdpm-medicine-search)

# How to Use BDPM medicine search in Muse Code

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.

|  |  |
| --- | --- |
| Model | BDPM medicine search |
| 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 search in Muse Code

- Use BDPM medicine search for sémaglutide and add the returned medicine names to a CSV in this project.
- 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 search**: 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/search",
    "input": {
      "query": "<query>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## BDPM medicine search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 50 | 20 | Results per page. |
| query |  | — | A medicine name or active substance of at least 3 letters (`ozempic`, `sémaglutide`, `pembrolizumab`; accents and case ignored), or an 8-digit CIS code. Text matches the start of a word, then anywhere, in names and active substances. |
| holder |  | — | Marketing authorisation holder or part of it, e.g. `novo nordisk`; accents and case ignored. |
| offset | 0 to … | 0 | `next_offset` from the previous page; repeat the same filters with it. |
| authorised_to |  | — | Latest authorisation date, inclusive: `YYYY`, `YYYY-MM` (the whole month) or `YYYY-MM-DD`. Pattern: ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$. |
| marketed_only |  | — | Only medicines whose marketing status is `Commercialisée`. |

## What can you do with BDPM medicine search in Muse Code?

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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## BDPM medicine search in other agents

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

## More Muse Code guides

- [BDPM medicine details](https://spiral.ai/integrations/muse-code/bdpm-medicine-details)
- [CDC PLACES local health estimates](https://spiral.ai/integrations/muse-code/cdc-places-local-health-estimates)
- [BDPM HAS medicine assessments](https://spiral.ai/integrations/muse-code/bdpm-has-medicine-assessments)
- [CDC cancer incidence and death statistics](https://spiral.ai/integrations/muse-code/cdc-cancer-incidence-and-death-statistics)
- [AlphaFold protein structure prediction](https://spiral.ai/integrations/muse-code/alphafold-protein-structure-prediction)
- [CMS Medicare negotiated drug prices](https://spiral.ai/integrations/muse-code/cms-medicare-negotiated-drug-prices)

## Questions about BDPM medicine search in Muse Code

**Can Muse Code use BDPM medicine search?**

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

**How much does BDPM medicine search cost in Muse Code?**

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

**Do I need an Alexandria account to use BDPM medicine search in Muse Code?**

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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while BDPM medicine search runs?**

BDPM medicine search runs in the background. Muse Code 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.

