PubMed
live ScienceSearch biomedical literature, fetch abstracts, and retrieve article metadata via NCBI PubMed
3 tools
0ms auth
free tier 50 calls/day
Tools
search_pubmed
required: query Search the PubMed biomedical literature database by keyword, author, or MeSH term. Returns a list of PubMed IDs that can be used with get_summary or get_abstract.
Parameters
Name Type Description
query req string Search query (e.g., "CRISPR cancer therapy", "Smith J[Author]", "COVID-19[MeSH]") limit opt number Number of results to return (1-100, default 10) Try it
Response
get_summary
required: ids Get metadata summaries for one or more PubMed articles by their PubMed IDs. Returns title, authors, journal, publication date, and DOI.
Parameters
Name Type Description
ids req string Comma-separated PubMed IDs (e.g., "33579999,34567890") Try it
Response
get_abstract
required: id Get the full abstract text for a single PubMed article by its PubMed ID. Returns structured abstract with section labels when available.
Parameters
Name Type Description
id req string A single PubMed ID (e.g., "33579999") Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/pubmed/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/pubmed/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_pubmed","arguments":{"query": "hello"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_pubmed", {"query":"example"}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("search biomedical literature, fetch abstracts, and retrieve article metadata via ncbi pubmed");