PubMed API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read PubMed. No PubMed API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/pubmed.md and add Bowmark's PubMed MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • getArticleReads one PubMed article by PMID.

    POST /v1/sites/pubmed/getArticle

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/pubmed/getArticle \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"pmid":"31978945"}'
    Sign in to run
    Responsereturns pubmedArticleDetail
    interface pubmedArticleDetail {
      pmid: string; // "31978945", pass to getArticle
      title: string;
      authors: string[]; // e.g. "Zhu N"
      journal: string | null;
      date: string | null; // as PubMed prints it, e.g. "2026 Nov 26"
      doi: string | null;
      url: string; // https://pubmed.ncbi.nlm.nih.gov/<pmid>/
      abstract: string | null; // null when PubMed holds none; sections are labelled
      publicationTypes: string[];
      meshTerms: string[];
    }