MCP server giving LLMs access to PubMed, FDA drug labelling, UK medicines data, and ClinicalTrials.gov. Built by PharmaTools.AI.
Source layout and module organisation
Module relationships and data flow through the system
How a request moves through PubCrawl
12 MCP tools across three domains
Search PubMed with filters for date range, article type, and sort order. Returns PMIDs, titles, authors, journals, and DOIs.
Full structured abstract β labeled sections (background, methods, results, conclusions) with keywords and MeSH terms.
Full text of open-access PMC articles. Parsed sections, figure/table captions, reference counts.
Find similar articles using PubMed's neighbor algorithm, ranked by relevance score.
Generate formatted citations in APA, Vancouver, Harvard, or BibTeX style from a PMID.
Recent papers on a topic, optionally filtered to high-impact journals (Nature, NEJM, Lancet, JAMA, etc.).
US Prescribing Information from DailyMed β indications, dosing, warnings, contraindications. Parsed from FDA SPL XML.
UK Summary of Product Characteristics from eMC β numbered SmPC sections via HTML scraping.
Side-by-side US (USPI) vs UK (SmPC) comparison. Spot regulatory differences in indications, warnings, dosing.
Find drugs approved for a medical condition. Searches FDA via OpenFDA, cross-references UK availability on eMC.
Search ClinicalTrials.gov β filter by condition, intervention, status, phase. Returns NCT IDs, sponsors, enrollment.
Full trial details β eligibility, study design, arms, primary/secondary outcomes, locations, associated PMIDs.
Six APIs powering the tools, all rate-limited and cached
Key interfaces from types.ts
Per-API request throttling to respect service limits