Article¶
Use article commands for literature retrieval by disease, gene, drug, and identifier.
Typical article workflow¶
- search a topic,
- choose an identifier,
- retrieve default summary,
- request full text or annotations only when needed.
Search articles¶
By gene and disease:
By keyword:
By date:
Exclude preprints when supported by source metadata:
Multi-source federation¶
Article search fans out to PubTator3 and Europe PMC in parallel by default. Results are deduplicated by PMID when both backends return the same paper. Output is grouped by source; PubTator rows include a score column.
Use --source <all|pubtator|europepmc> to select one backend or keep the default federated search.
To search a single backend:
biomcp search article -g BRAF --source pubtator --limit 5
biomcp search article -g BRAF --source europepmc --limit 5
Get an article¶
Supported IDs are PMID (digits only), PMCID (e.g., PMC9984800), and DOI
(e.g., 10.1056/NEJMoa1203421). Publisher PIIs (e.g., S1535610826000103) are not
indexed by PubMed or Europe PMC and cannot be resolved.
Request specific sections¶
Full text section:
Annotation section:
Helper commands¶
Caching behavior¶
Downloaded content is stored in the BioMCP cache directory. This avoids repeated large payload downloads during iterative workflows.
JSON mode¶
Practical tips¶
- Start with narrow
--limitvalues. - Add a disease term when gene-only search is too broad.
- Use section requests to avoid oversized responses.