pubcrawl
v2.10.5PubMed & Europe PMC literature search, US/UK drug labelling, and clinical trials for AI assistants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_pubmed
Search PubMed for biomedical literature. Returns article summaries with PMIDs, titles, authors, journals, and DOIs. Retracted articles are flagged.
| Parameter | Type | Description |
|---|---|---|
query * | string | PubMed search query |
articleType | string | Article type filter (e.g., review, clinical trial) |
dateFrom | string | Start date (YYYY/MM/DD) |
dateTo | string | End date (YYYY/MM/DD) |
maxResults | number | Maximum number of results |
sort | string | Sort order |
search_europepmc
Search Europe PMC — a broader biomedical corpus than PubMed that also indexes preprints (bioRxiv, medRxiv), patents, and agricultural/biomedical databases. Unlike search_pubmed, each result includes an abstract snippet, citation count, open-access status, and whether a preprint. Use preprintsOnly to surface work ahead of formal publication. Retracted articles are flagged.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (Europe PMC query syntax supported, e.g. field tags like AUTH, TITLE, JOURNAL) |
maxResults | number | Maximum number of results |
openAccessOnly | boolean | Restrict to open-access articles |
preprintsOnly | boolean | Restrict to preprints (bioRxiv, medRxiv, etc.) |
sort | string | Sort order: relevance, date (newest first), or cited (most cited first) |
get_abstract
Get the full structured abstract and metadata for a PubMed article. Returns abstract sections (background, methods, results, conclusions), keywords, MeSH terms, and PMC ID. Flags retracted articles and lists retraction, expression-of-concern and erratum notices.
| Parameter | Type | Description |
|---|---|---|
pmid * | string | PubMed ID |
structured | boolean | Return structured abstract sections |
get_full_text
Get the full text of an open-access article from PubMed Central. Returns article sections, figure/table captions, and reference count. Flags the article if PubMed marks it as retracted. Only works for articles available in PMC.
| Parameter | Type | Description |
|---|---|---|
pmcid | string | PubMed Central ID (e.g., PMC1234567) |
pmid | string | PubMed ID |
sections | array | Filter to specific section titles |
check_references
Check the reference list of an open-access paper in PubMed Central. Looks up each reference's PMID and DOI and reports which resolve to a matching record, which carry a wrong identifier, and which match nothing (not_found). Also flags cited articles that PubMed marks as retracted. not_found is a prompt to check by hand, not proof of fabrication. References without a PMID or DOI are reported as not_checked. Only works for papers available in PMC.
| Parameter | Type | Description |
|---|---|---|
include | string | flagged: list only references that did not resolve or cite a retracted article. all: list every reference. |
pmcid | string | PubMed Central ID of the paper (e.g., PMC1234567) |
pmid | string | PubMed ID of the paper whose reference list to check |
format_citation
Format a citation for a PubMed article in APA, Vancouver, Harvard, or BibTeX style. Flags the article if it has been retracted.
| Parameter | Type | Description |
|---|---|---|
pmid * | string | PubMed ID |
style | string | Citation style |
trending_papers
Find recent/trending papers on a topic. Sorted by date, with optional filtering to high-impact journals. Retracted articles are flagged.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Topic or search term |
days | number | Number of days to look back |
highImpactOnly | boolean | Filter to high-impact journals only |
maxResults | number | Maximum number of results |
get_uspi
Get FDA US Prescribing Information (USPI) for a drug from openFDA (cited to DailyMed). Returns structured labelling sections with LOINC codes, verbatim. Long sections are paged: a cut section has truncated: true, total_chars and next_offset — call again with that section and offset to read on. Check drug_name: the best openFDA match may be a different product from the one you meant.
| Parameter | Type | Description |
|---|---|---|
drug * | string | Drug name to look up (e.g., 'metformin', 'atorvastatin') |
max_chars | integer | Maximum characters returned per section (default 6000). Long sections are returned a page at a time: a cut page has truncated: true, total_chars and next_offset. |
offset | integer | Character offset to start each section from (default 0). To read the rest of a truncated section, call again with sections set to that one section and offset set to its next_offset. |
sections | array | Specific sections to retrieve (e.g., ['indications', 'adverse reactions', 'contraindications']). Returns all sections if omitted. |
get_smpc
Get UK/EU Summary of Product Characteristics (SmPC) for a drug from eMC (medicines.org.uk). Returns structured labelling sections, verbatim. Long sections are paged: a cut section has truncated: true, total_chars and next_offset — call again with that section and offset to read on. Check drug_name: the best eMC match may be a different product or formulation from the one you meant.
| Parameter | Type | Description |
|---|---|---|
drug * | string | Drug name to look up (e.g., 'metformin', 'atorvastatin') |
max_chars | integer | Maximum characters returned per section (default 6000). Long sections are returned a page at a time: a cut page has truncated: true, total_chars and next_offset. |
offset | integer | Character offset to start each section from (default 0). To read the rest of a truncated section, call again with sections set to that one section and offset set to its next_offset. |
sections | array | Specific sections to retrieve — accepts numbers like '4.1' or names like 'indications'. Returns all sections if omitted. |
compare_labels
Compare US FDA Prescribing Information vs UK/EU SmPC for a drug side-by-side. Maps equivalent sections (e.g., US Indications ↔ UK 4.1) and returns paired verbatim content. A missing side is always explained: us_label/uk_label say whether the label was retrieved, each comparison notes why a section is null, and sections longer than max_chars are flagged truncated with next_offset (read on with get_uspi / get_smpc).
| Parameter | Type | Description |
|---|---|---|
drug * | string | Drug name to compare across US and UK labelling |
max_chars | integer | Maximum characters per side per section (default 4000). Longer sections are cut and flagged truncated with total_chars and next_offset; read on with get_uspi / get_smpc. |
sections | array | Specific topics to compare (e.g., ['indications', 'adverse reactions']). Compares all mapped sections if omitted. |
uk_drug | string | Name to use for the UK lookup when it differs from `drug` — brands often do (Farxiga/Forxiga, Prilosec/Losec). Defaults to `drug`. |
us_drug | string | Name to use for the US lookup when it differs from `drug` (e.g. a US-only brand). Defaults to `drug`. |
search_by_indication
Find drugs approved for a medical condition. Searches US FDA labelling for the condition, then checks UK (eMC) availability for each drug found.
| Parameter | Type | Description |
|---|---|---|
condition * | string | Medical condition or indication to search for (e.g., 'type 2 diabetes', 'hypertension') |
maxResults | number | Maximum number of drug results to return |
resolve_drug_name
Convert a brand drug name to its generic name (or a generic to its US brand names), with drug class and common indications. Deterministic — sourced from RxNorm/openFDA, no AI.
| Parameter | Type | Description |
|---|---|---|
drug * | string | Brand or generic drug name to resolve (e.g., 'Lipitor' or 'atorvastatin') |
search_trials
Search ClinicalTrials.gov for clinical trials. Filter by condition, intervention, status, and phase. Returns trial summaries with NCT IDs, status, sponsors, and enrollment info.
| Parameter | Type | Description |
|---|---|---|
condition | string | Disease or condition (e.g., 'breast cancer', 'diabetes') |
intervention | string | Drug or therapy (e.g., 'pembrolizumab', 'radiation') |
maxResults | number | Maximum number of results (1-100) |
phase | string | Trial phase filter |
sort | string | Sort order for results |
status | string | Trial recruitment status filter |
term | string | General search term (searches all fields) |
get_trial
Get detailed information about a specific clinical trial from ClinicalTrials.gov. Returns eligibility criteria, study design, arms, outcomes, locations, and associated PubMed IDs.
| Parameter | Type | Description |
|---|---|---|
nctId * | string | ClinicalTrials.gov NCT identifier (e.g., NCT03086486) |