Pharma MCP logo

Pharma MCP

Access clinical trials, biomedical literature, FDA drug data, FAERS reports, ICH guidelines, and citation formatting through MCP.

Install Pharma MCP

Run the project’s own setup commands, in order.

Setup steps from the project

pharma-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/pubspro/pharma-mcp.git
    
  2. 2. Install
    cd pharma-mcp
    
  3. 3. Install
    npm install
    
  4. 4. Add to Claude Code
    claude mcp add pharma-mcp node /absolute/path/to/pharma-mcp/src/index.js
    

Overview

The pharma-mcp MCP server connects AI agents to ClinicalTrials.gov, PubMed, openFDA drug labels, FAERS adverse event reports, and ICH guideline summaries. It runs locally with Node.js, retrieves data from public APIs in real time, and does not require API keys. Reach for it when an agent needs clinical-trial research, literature searches, regulatory reference checks, drug-label information, safety reports, or formatted citations.

Use cases

  • Search competing clinical trials by condition, drug, or sponsor
  • Find PubMed literature and retrieve article abstracts
  • Check FDA labels for indications and warnings
  • Review FAERS reports for a drug and reaction
  • Format PubMed references for medical publications

Key features

  • ClinicalTrials.gov search and protocol retrieval
  • PubMed search with MeSH, Boolean, and date filters
  • FDA label and FAERS adverse-event queries
  • ICH guideline summaries by code or topic
  • Vancouver, APA, and AMA citation formatting
  • Public API access without API keys

Tools8

What Pharma MCP lets your agent do. Expand a tool for its parameters.

Self-reported~131 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit6mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity11 viewsConfig copies, upvotes, and views on AllMCPs.

How Pharma MCP works

What pharma-mcp MCP server does

The pharma-mcp MCP server gives MCP-compatible agents access to public clinical and pharmaceutical information. It covers ClinicalTrials.gov trial records, PubMed articles, FDA drug labels, FDA Adverse Event Reporting System data, and ICH guideline summaries. It also converts PubMed records into Vancouver, APA, or AMA citations.

Clinical development teams can search for studies by condition, drug, or sponsor and then retrieve protocol details using an NCT identifier. Literature workflows can combine PubMed searches with MeSH terms, Boolean expressions, and date filters, followed by abstract retrieval by PMID. Regulatory and safety research can query label information, adverse-event reports, and guideline content.

How it works

The server retrieves information from official public sources when tools are called rather than relying on a local data store. Its documented sources are the ClinicalTrials.gov API v2, NCBI E-utilities for PubMed, the openFDA API, and ICH guideline resources.

The tool set supports both discovery and follow-up lookups. For example, an agent can search PubMed, retrieve an article abstract using its PMID, and then request a citation format. It can also find a ClinicalTrials.gov record and request its full protocol details by NCT ID.

Setup and configuration

The pharma-mcp MCP server requires Node.js 18 or later and npm. Installation consists of cloning the repository and running npm install in the project directory. The server is started through Node with src/index.js as the script.

Claude Desktop can be configured by adding a pharma-mcp entry to its MCP configuration file, with node as the command and the absolute path to src/index.js as an argument. After configuration, restart Claude Desktop so the tools become available.

Tools and capabilities

  • search_clinical_trials: searches trials by condition, drug, or sponsor.
  • get_trial_details: retrieves protocol details from an NCT ID.
  • search_pubmed: searches PubMed with MeSH, Boolean, and date filters.
  • get_pubmed_abstract: returns an abstract and metadata for a PMID.
  • search_fda_drugs: searches FDA labels for indications, warnings, and dosage forms.
  • get_fda_adverse_events: searches FAERS reports by drug and/or reaction.
  • get_ich_guideline: finds ICH guideline summaries by code or topic.
  • format_citation: formats a PMID citation in Vancouver, APA, or AMA style.

Limitations and notes

The documented data sources are public APIs and guideline resources, and the server does not list API-key configuration. Its current scope does not include the roadmap items of EMA EPAR search, DailyMed full prescribing information, GPP4 or ICMJE authorship checking, or ClinVar lookup. The README specifically documents Claude Desktop and Claude Code setup; other MCP clients are not described with client-specific configuration instructions.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pharma MCP

pharma-mcp is an MCP server that connects AI agents to ClinicalTrials.gov, PubMed, FDA openFDA drug labels, FAERS reports, and ICH guideline resources. Its main tools search trials and literature, retrieve protocols and abstracts, query labels and adverse events, fetch guideline summaries, and format PubMed citations.

Install it by cloning the repository, entering its directory, and running `npm install`. The server requires Node.js 18 or later and npm. Start it through Node using the repository's `src/index.js` file, then add that command to an MCP client configuration.

The server uses public data sources, including ClinicalTrials.gov, NCBI E-utilities, openFDA, and ICH guideline resources, and retrieves data in real time without storing it.

Cursor is not specifically documented in the provided setup instructions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPharma MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pharma-mcp?style=directory)](https://allmcps.com/mcp/pharma-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pharma-mcp"><img src="https://allmcps.com/api/badge/pharma-mcp?style=directory" alt="Pharma MCP on AllMCPs" /></a>