Skip to navigation

PubMed

Connect your AI agents to PubMed.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: API key. See Magic Link for the runtime auth flow.

Sample use cases

  • Find papers on GLP-1 agonists and weight loss published in the last 6 months.
  • Search for clinical trials on aducanumab cited in JAMA.
  • Find oncology papers from 2025, sorted by relevance

Available Tools

match_citations

Match partial citation information to PubMed IDs.

fetch_articles

Fetch full article data (title, abstract, authors, journal, DOI) by PMIDs.

get_database_info

Get information about NCBI databases.

find_related_articles

Find articles related to given PMIDs using PubMed’s similarity algorithm. Can also find links between databases (e.g., PubMed to PMC, PubMed to Gene). Returns scored results by relevance.

search_pubmed

Search PubMed for biomedical articles by keywords, authors, dates, or MeSH terms.

get_article_summaries

Get quick document summaries for multiple PMIDs. Faster than fetch_articles but with less detail. Returns title, authors, journal, publication date, and identifiers. Max 500 IDs per request.

create_history_set

Post a list of UIDs to the NCBI History server (EPost) and return the webenv and query_key that fetch_articles, get_article_summaries, find_related_articles and search_pubmed accept instead of ids.

export_citation

Export formatted citations for PubMed or PMC articles with the Literature Citation Exporter: citation (AMA/APA/MLA/NLM), CSL-JSON, RIS or MEDLINE (NBIB).

get_article

Get one PubMed article’s title and abstract in BioC format (JSON or XML, Unicode or ASCII) for text mining.

list_article_ids

Convert article IDs between PMID, PMCID, author manuscript ID (MID) and DOI with the PMC ID Converter.

list_spelling_suggestions

Get spelling suggestions for a search query in an NCBI database (ESpell).

search_citation

Find PMIDs for citations, either as an ECitMatch batch or with the PubMed Citation Matcher (fielded or free-text matching that match_citations does not offer).