Skip to main content
Glama
Clinical Trials Sponsor Pipeline MCP Server

Clinical Trials Sponsor Pipeline MCP Server

README.md
# Clinical Trials Sponsor Pipeline MCP Server

[![MCP Registry](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.modelcontextprotocol.io%2Fv0%2Fservers%3Fsearch%3Dcom.mambabuilt%252Fmcp-clinical-trials-sponsor-pipeline%26limit%3D1&query=%24.servers%5B0%5D._meta%5B%22io.modelcontextprotocol.registry%2Fofficial%22%5D.status&label=mcp%20registry&color=blue)](https://registry.modelcontextprotocol.io/v0/servers?search=com.mambabuilt/mcp-clinical-trials-sponsor-pipeline&limit=1) [![npm version](https://img.shields.io/npm/v/@mambalabsdev/mcp-clinical-trials-sponsor-pipeline)](https://www.npmjs.com/package/@mambalabsdev/mcp-clinical-trials-sponsor-pipeline) [![npm downloads](https://img.shields.io/npm/dm/@mambalabsdev/mcp-clinical-trials-sponsor-pipeline)](https://www.npmjs.com/package/@mambalabsdev/mcp-clinical-trials-sponsor-pipeline) [![license](https://img.shields.io/github/license/mambalabsdev/mcp-clinical-trials-sponsor-pipeline)](https://github.com/mambalabsdev/mcp-clinical-trials-sponsor-pipeline/blob/main/LICENSE)

An MCP server for the Mamba Labs Clinical Trials Sponsor Pipeline actor on Apify. A sponsor's clinical trial pipeline as rows.

## What's Inside

- [What it does](#what-it-does)
- [Quick start](#quick-start)
- [Prerequisites](#prerequisites)
- [Example prompts](#example-prompts)
- [Tool](#tool)
- [Inputs](#inputs)
- [Pricing](#pricing)
- [Full actor documentation](#full-actor-documentation)
- [License](#license)

## What it does

Takes sponsor names, conditions, or interventions and returns matching trials from the official ClinicalTrials.gov API, most recently updated first, with phase, status, enrollment, dates, and site countries.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

## Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (`claude_desktop_config.json`), Cursor, or any MCP client:

```json
{
  "mcpServers": {
    "mamba-clinical-trials-sponsor-pipeline": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-clinical-trials-sponsor-pipeline"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}
```

Restart the client. The `search_clinical_trials_by_sponsor` tool appears.

## Prerequisites

- Node.js 18 or newer.
- An Apify API token from [console.apify.com/account/integrations](https://console.apify.com/account/integrations), set as `APIFY_TOKEN`. The server lists its tool without a token; a call needs one.

## Example prompts

- "List Pfizer's recruiting Phase 3 trials."
- "Which obesity trials testing semaglutide were updated since 2026-11-01?"

## Tool

`search_clinical_trials_by_sponsor`. One tool. Example arguments:

```json
{
  "sponsors": [
    "Pfizer"
  ],
  "phases": [
    "PHASE3"
  ],
  "statuses": [
    "RECRUITING"
  ],
  "max_trials_per_source": 10
}
```

## Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

| Input | Type | Required | Description |
|---|---|---|---|
| `sponsors` | array | no | Sponsor or collaborator names as registered, for example Pfizer or ModernaTX, Inc. Each name is one search across lead sponsors and collaborators. The registry matches whole words, so ModernaTX finds trials that Moderna does not; try the registered name. In Clay, put the column inside a one item list. |
| `conditions` | array | no | Conditions or diseases, for example obesity or non-small cell lung cancer. With sponsors, they narrow each sponsor search (any of them matches). Without sponsors, each condition is its own search. |
| `interventions` | array | no | Drugs, devices, or other interventions, for example semaglutide. With sponsors or conditions, they narrow each search. With neither, each intervention is its own search. |
| `phases` | array | no | Keep trials in any of these phases: EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA. 1, 2, 3, and 4 also work. Empty keeps every phase. |
| `statuses` | array | no | Keep trials with any of these statuses, for example RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, WITHDRAWN, SUSPENDED. Empty keeps every status. |
| `start_date_from` | string | no | Optional date, YYYY-MM-DD. Keeps trials that start on or after it. |
| `start_date_to` | string | no | Optional date, YYYY-MM-DD. Keeps trials that start on or before it. |
| `updated_since` | string | no | Optional date, YYYY-MM-DD. Keeps trials whose last update was posted on or after it, for a weekly pipeline check. |
| `lead_sponsor_only` | boolean | no | false (default) searches lead sponsors and collaborators. true keeps trials where the name is the lead sponsor. |
| `max_trials_per_source` | number | no | Most trial rows for each sponsor, condition, or intervention, 1 to 10000. Default 100. |
| `dedupe` | boolean | no | true (default) returns each trial once per run, even when two searches find it. Repeats are not charged. |
| `max_charge_usd` | number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |

## Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `trial-row`, one trial | $0.004 | $0.0038 | $0.0036 | $0.0034 |
| `apify-actor-start`, per run start | $0.004 | $0.004 | $0.004 | $0.004 |

Repeats, searches with no match, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

## Full actor documentation

[apify.com/mambalabs/clinical-trials-sponsor-pipeline](https://apify.com/mambalabs/clinical-trials-sponsor-pipeline)

## License

MIT. See [LICENSE](LICENSE).