pharma-mcp
MCP server for clinical and pharmaceutical data, enabling search of ClinicalTrials.gov, PubMed, FDA, and ICH guidelines without API keys.
README
pharma-mcp
MCP server for clinical and pharmaceutical data.
Gives Claude and any MCP-compatible AI agent direct access to:
- ClinicalTrials.gov — search and retrieve trial protocols, endpoints, eligibility criteria
- PubMed — literature search with MeSH terms, full abstracts, citation formatting
- FDA openFDA — drug labels, approved indications, warnings, boxed warnings
- FDA FAERS — adverse event reports with patient demographics and outcomes
- ICH Guidelines — structured summaries of E3, E6, E9, M4, Q1A, and more
No API keys required. All data sources are public. Runs locally in under 60 seconds.
Tools
| Tool | Description |
|---|---|
search_clinical_trials |
Search ClinicalTrials.gov by condition, drug, or sponsor |
get_trial_details |
Full protocol details by NCT ID |
search_pubmed |
PubMed literature search with MeSH, Boolean, date filters |
get_pubmed_abstract |
Full abstract + metadata by PMID |
search_fda_drugs |
FDA drug label search — indications, warnings, dosage forms |
get_fda_adverse_events |
FAERS adverse event reports by drug and/or reaction |
get_ich_guideline |
ICH guideline summaries by code (E3, E6, M4…) or topic |
format_citation |
Vancouver, APA, or AMA citation from a PMID |
Quickstart
Install
git clone https://github.com/pubspro/pharma-mcp.git
cd pharma-mcp
npm install
Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pharma-mcp": {
"command": "node",
"args": ["/absolute/path/to/pharma-mcp/src/index.js"]
}
}
}
Restart Claude Desktop. The tools appear automatically.
Add to Claude Code
claude mcp add pharma-mcp node /absolute/path/to/pharma-mcp/src/index.js
Example prompts
Once connected, ask Claude:
Search ClinicalTrials.gov for Phase 3 recruiting trials for non-small cell lung cancer involving osimertinib.
Find the 10 most recent PubMed papers on GLP-1 receptor agonists and cardiovascular outcomes. Format citations in Vancouver style.
Get the FDA label for semaglutide — what are the boxed warnings and contraindications?
What does ICH E3 require for a clinical study report? Which sections are mandatory?
Pull adverse event reports for dupilumab involving anaphylaxis from FAERS.
Use cases
Medical writers and publications teams
- Rapid literature gap analysis for advisory boards and manuscripts
- Auto-format reference lists from PubMed searches
- Check ICH E3 requirements mid-draft without switching tabs
Regulatory affairs
- Search FDA labels for labeling precedent
- Check FAERS signal for benefit-risk narratives
- Retrieve ICH guideline requirements for CTD modules
Clinical development
- Competitive landscape searches across ClinicalTrials.gov
- Identify comparable trial designs and endpoints
AI agent pipelines
- Chain pharma-mcp tools with other MCP servers for autonomous regulatory research workflows
Data sources
All data retrieved in real time from official public APIs — no data stored, no API keys required:
Requirements
- Node.js 18+
- npm
Roadmap
- [ ] EMA EPAR search
- [ ] DailyMed full prescribing information
- [ ] GPP4 / ICMJE authorship criteria checker
- [ ] ClinVar genetic variant lookup
PRs and issues welcome.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.