Skip to content
MCP server

PharmaSkills

Deterministic drug development tools and skills for AI agents, from SDTM to label drafts

Runs locally

PharmaSkills is an open-source MCP server for healthcare software. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
1.0.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add pharmaskills -- npx -y pharmaskills

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "pharmaskills": {
      "command": "npx",
      "args": [
        "-y",
        "pharmaskills"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pharmaskills": {
      "command": "npx",
      "args": [
        "-y",
        "pharmaskills"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pharmaskills": {
      "command": "npx",
      "args": [
        "-y",
        "pharmaskills"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "pharmaskills": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pharmaskills"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add pharmaskills -- npx -y pharmaskills

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.pharmaskills]
command = "npx"
args = ["-y", "pharmaskills"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pharmaskills": {
      "command": "npx",
      "args": [
        "-y",
        "pharmaskills"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user pharmaskills npx -- -y pharmaskills

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "pharmaskills": {
          "command": "npx",
          "args": [
            "-y",
            "pharmaskills"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About PharmaSkills

PharmaSkills gives an AI agent a set of pharma-specific skills and a Python tool engine so that outputs which must be exact, such as SDTM datasets, Define-XML, doses, sample sizes and document structure checks, are computed and verified rather than generated by the model alone. The agent drafts, the tools compute and check, and a human reviews the result.

The package bundles 36 skills covering stages from target assessment through clinical data, regulatory submissions, safety reporting and CMC, along with 104 CLI commands and an MCP server exposing 115 tools. Live connectors query public sources such as PubMed, ClinicalTrials.gov, openFDA and DailyMed, and claims are tied to their source identifiers.

It suits clinical data programmers, biostatisticians, regulatory writers and safety teams who want an agent to do the mechanical parts of drug development work under review. Every output is labelled as a draft for qualified review and the project states it is not validated GxP software.

What it does

SDTM dataset builder
Converts raw EDC exports into SDTM domains, a mapping specification, Define-XML 2.1 and a reviewer's guide draft, with a validate-and-repair loop.
36 lifecycle skills
Self-contained skill files for stages from discovery to label, each with references, templates and evaluation cases.
Deterministic calculations
Pharmacokinetic analysis, sample size, dose scaling and disproportionality statistics are run by code and produce repeatable outputs.
MCP server with 115 tools
Exposes the calculation, validation and connector tools to any MCP-compatible agent client.
Live public data connectors
Queries PubMed, ClinicalTrials.gov, openFDA, DailyMed, Open Targets, UniProt and ChEMBL and returns records with identifiers.
Draft banners and audit manifests
Generated documents carry a draft label, missing inputs are marked as data needed, and reports get a manifest with SHA-256 hashes.

Good for

  • Map raw EDC exports to SDTM datasets and a Define-XML package for review
  • Compute sample sizes and draft the justification for a clinical protocol
  • Derive a first-in-human starting dose from animal NOAEL data
  • Screen a drug-event pair in FAERS and draft a signal report
  • Draft an ICH E3 clinical study report section with numbers traced to source tables
  • Build an E2B(R3) case draft from a safety email or literature article

Pricing

Open source

Open source under Apache-2.0; no paid plan listed.

Prices change. Check aiagentpro.github.io before you buy.

PharmaSkills FAQ

How do I install PharmaSkills?

Run uvx pharmaskills setup, which installs the tools, skills and MCP server for the agents it finds. It is also available from PyPI, npm and the Docker image ghcr.io/aiagentpro/pharmaskills.

Is the output validated for regulatory submission?

No. Outputs are drafts for qualified human review, and the project states it is not validated GxP software or compliant with 21 CFR Part 11 or EU Annex 11.

Which agents are supported?

Claude Code, Codex, Cursor, Gemini CLI and OpenCode, plus any MCP client.

Does PharmaSkills use patient data?

The repository contains synthetic studies only, and the tools run locally without telemetry. Licensed dictionaries such as MedDRA and WHODrug are not included and must be supplied by the user.

Is PharmaSkills free?

Yes. PharmaSkills is open source, so you can use and self-host it for free.

How do I add PharmaSkills to Claude Code?

Run this command in your terminal: claude mcp add pharmaskills -- npx -y pharmaskills

What are the best alternatives to PharmaSkills?

The closest alternatives to PharmaSkills are MCP Clinical Reasoner, Drug Interaction Checker, Dosidal, Heor Agent and Hormonaly Clinical Intelligence.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers