get_abstract
Pack: pubmed · Endpoint: https://gateway.pipeworx.io/pubmed/mcp
Get full abstract text by PubMed ID with structured sections (background, methods, results, conclusions) when available.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A single PubMed ID (e.g., “33579999”) |
Example call
Arguments
{
"id": "33579999"
}
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_abstract","arguments":{"id":"33579999"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_abstract', {
"id": "33579999"
});
Response shape
Always returns: pmid, title, abstract, url
| Field | Type | Description |
|---|---|---|
pmid | string | PubMed ID |
title | string | null | Article title |
abstract | string | Full abstract text with structured sections |
url | string | PubMed article URL |
Full JSON Schema
{
"type": "object",
"properties": {
"pmid": {
"type": "string",
"description": "PubMed ID"
},
"title": {
"type": [
"string",
"null"
],
"description": "Article title"
},
"abstract": {
"type": "string",
"description": "Full abstract text with structured sections"
},
"url": {
"type": "string",
"description": "PubMed article URL"
}
},
"required": [
"pmid",
"title",
"abstract",
"url"
]
}
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.