get_summary
Pack: pubmed · Endpoint: https://gateway.pipeworx.io/pubmed/mcp
Resolve PubMed IDs (from search_pubmed) to citation metadata: title, authors (plain name strings), journal, publication date, DOI, and author_details[] with per-author detail (name, affiliations[] verbatim from the MEDLINE record, and any emails[] found inside those affiliation strings — empty arrays when the record has none), index-aligned with authors[]. Batch up to ~200 IDs per call — pass the array search_pubmed returned, or a comma-separated string — much cheaper than calling per-ID. Use when you have PMIDs and need the citation or a corresponding author’s institution/contact; for the abstract text use get_abstract instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ids | string,array | yes | PubMed IDs, either as an array ([“33579999”,“34567890”] — what search_pubmed returns) |
items | string | no |
Example call
Arguments
{
"ids": [
"33301246",
"32000001"
]
}
curl
curl -X POST https://gateway.pipeworx.io/pubmed/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_summary","arguments":{"ids":["33301246","32000001"]}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_summary', {
"ids": [
"33301246",
"32000001"
]
});
More examples
{
"ids": "33579999,34567890"
}
Response shape
Always returns: articles
| Field | Type | Description |
|---|---|---|
articles | array | Array of article metadata summaries |
Full JSON Schema
{
"type": "object",
"properties": {
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"pmid": {
"type": "string",
"description": "PubMed ID"
},
"title": {
"type": "string",
"description": "Article title"
},
"authors": {
"type": "array",
"items": {
"type": "string"
},
"description": "Author names as plain strings, e.g. \"Smith JA\" (unchanged shape; see author_details for affiliations/emails)"
},
"author_details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Author name as indexed by esummary (e.g. \"Smith JA\")"
},
"affiliations": {
"type": "array",
"items": {
"type": "string"
},
"description": "Verbatim AffiliationInfo/Affiliation strings from efetch XML; empty if the record has none"
},
"emails": {
"type": "array",
"items": {
"type": "string"
},
"description": "Email addresses found inside this author's affiliation strings by plain regex; empty if none present"
}
},
"required": [
"name",
"affiliations",
"emails"
]
},
"description": "Per-author detail, index-aligned with authors[]: name, affiliations (verbatim from efetch XML), and any emails found inside them"
},
"journal": {
"type": [
"string",
"null"
],
"description": "Full journal name"
},
"pub_date": {
"type": [
"string",
"null"
],
"description": "Publication date"
},
"volume": {
"type": [
"string",
"null"
],
"description": "Journal volume"
},
"issue": {
"type": [
"string",
"null"
],
"description": "Journal issue"
},
"pages": {
"type": [
"string",
"null"
],
"description": "Page range"
},
"pub_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Publication types"
},
"doi": {
"type": [
"string",
"null"
],
"description": "Digital Object Identifier"
},
"url": {
"type": "string",
"description": "PubMed article URL"
}
},
"required": [
"pmid",
"title",
"authors",
"author_details",
"journal",
"pub_date",
"volume",
"issue",
"pages",
"pub_types",
"doi",
"url"
]
},
"description": "Array of article metadata summaries"
}
},
"required": [
"articles"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pubmed": {
"url": "https://gateway.pipeworx.io/pubmed/mcp"
}
}
}
See Getting Started for client-specific install steps.