data
PubMed MCP, CLI, and Lua Integration for AI Agents
PubMed integration docs for AI agents: MCP gateway setup, PubMed CLI commands, Lua API reference, credentials, and function schemas.PubMed for agents
No credentials required; available in web and CLI hosts when runtime dependencies are installed.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
pubmed.pubmed_search | Read read | 0 | Search PubMed or another Entrez database with ESearch. |
pubmed.pubmed_summary | Read read | 0 | Retrieve document summaries with ESummary. |
pubmed.pubmed_fetch | Read read | 0 | Fetch full records or abstracts with EFetch. |
pubmed.pubmed_link | Read read | 0 | Retrieve related records and LinkOut URLs with ELink. |
pubmed.pubmed_info | Read read | 0 | Inspect Entrez database fields and link names with EInfo. |
pubmed.pubmed_post | Write write | 0 | Post IDs to the NCBI History server with EPost. |
pubmed.pubmed_spell | Read read | 0 | Get spelling suggestions with ESpell. |
pubmed.pubmed_global_query | Read read | 0 | Search all Entrez databases and return hit counts with EGQuery. |
pubmed.pubmed_citation_match | Read read | 0 | Match formatted citation strings to PubMed IDs with ECitMatch. |