fetchPubmedArticles

Free

Fetch full article details from PubMed using EFetch. Returns complete article metadata including abstract, authors, journal info, MeSH (Medical Subject Headings) terms, and keywords for up to 20 PMIDs. Safe to bind to PMIDs from searchPubmed/findRelatedArticles: an empty pmids array returns empty articles without calling the API.

Try it

Open in playground
kirha tools run pubmed_fetchPubmedArticles \
  --input '{
    "pmids": [
      "<pmids>"
    ]
  }'

Uses the key saved by kirha auth login.

  • pmidsstring[], required, Up to 20 items

    PubMed IDs to fetch. Empty array is allowed and returns no articles.

  • includeKeywordsboolean, default true
  • includeMeshTermsboolean, default true
  • includeReferencesboolean, default false

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot