pubcrawl
MCP server by nickjlamb Community
Connects AI assistants to PubMed, Europe PMC, US and UK drug labelling, and ClinicalTrials.gov. Built for clinicians, researchers and medical writers who need answers with verifiable PMIDs, NCT IDs and DOIs.
Install pubcrawl
Built from the published package, never by AI.
claude mcp add pubcrawl -- npx -y @pharmatools/pubcrawlRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"pubcrawl": {
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"pubcrawl": {
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"pubcrawl": {
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add pubcrawl -- npx -y @pharmatools/pubcrawl{
"mcpServers": {
"pubcrawl": {
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add pubcrawl npx -y @pharmatools/pubcrawlGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pubcrawl block.
About
PubCrawl is an MCP server that gives AI assistants such as Claude Desktop and Cursor access to PubMed, Europe PMC, FDA and UK drug labelling, and ClinicalTrials.gov. It provides 14 tools across literature search, drug labelling and clinical trials. Each tool is described as a thin, deterministic wrapper over an official API, and results link back to their source with PMIDs, NCT IDs and DOIs.
The compare_labels tool sets US prescribing information against the UK SmPC for the same drug, pairing equivalent sections so differences are visible. It is aimed at clinicians, researchers and anyone checking medical copy for both markets. No API key is required, although a free NCBI key raises PubMed rate limits. It can also run as a container serving MCP over Streamable HTTP.
Written from the project's README and checked against it.
Tools it gives your assistant
search_pubmedSearches PubMed with filters for date range, article type and sort order.search_europepmcSearches Europe PMC, including preprints from bioRxiv and medRxiv, with open-access filters.get_abstractReturns the structured abstract with labeled sections, keywords and MeSH terms.get_full_textRetrieves full text of open-access articles from PubMed Central with parsed sections.resolve_drug_nameConverts a brand name to its generic, or a generic to US brand names, via RxNorm and openFDA.get_uspiPulls US Prescribing Information sections via openFDA, cited to DailyMed.get_smpcRetrieves UK Summary of Product Characteristics from the eMC with numbered sections.compare_labelsCompares US and UK labelling side by side, pairing equivalent sections for the same drug.search_trialsSearches ClinicalTrials.gov by condition, intervention, status and phase.get_trialReturns full trial details for an NCT ID, including eligibility, arms and outcomes.
What you need
- Node.js, to run via npx or a global npm install
- An MCP-compatible client such as Claude Desktop, Cursor or another MCP client
- Optional free NCBI API key for higher PubMed rate limits
- Docker, only if self-hosting the container
| Setting | Needed | What it is |
|---|---|---|
NCBI_Environment variable, secret | Optional | NCBI API key for higher rate limits (10 req/s vs 3 req/s). Optional — get one free at https://www.ncbi.nlm.nih.gov/account/ |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Compare the US and UK labelling for atorvastatin and highlight the differences.
- Search Europe PMC for preprints on GLP-1 receptor agonists, most cited first.
- Find recruiting Phase 3 trials for pembrolizumab in breast cancer.
Good to know
- PubMed requests are limited to 3 per second without an NCBI key.
- Full text is only available for open-access articles from PubMed Central.
- Authentication for hosted deployments is left to the platform in front of the container.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pubcrawl
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
pubcrawl: common questions
Does PubCrawl need an API key?
No API keys are required. An optional free NCBI key raises the PubMed limit from 3 to 10 requests per second.
What does compare_labels do?
It compares US prescribing information with the UK SmPC for the same drug, pairing equivalent sections. Missing sides are explained and cut sections are flagged as truncated.
Can PubCrawl be self-hosted?
Yes. It runs as a container serving MCP over Streamable HTTP, with a /health endpoint and a /mcp endpoint.
How do I install pubcrawl?
In Claude Code run claude mcp add pubcrawl -- npx -y @pharmatools/pubcrawl. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is pubcrawl the official server?
pubcrawl is a community project by nickjlamb, not verified by a company domain.
Is pubcrawl free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pubcrawl safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pubcrawl?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does pubcrawl work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
