get_abstract

Pack: pubmed · Endpoint: https://gateway.pipeworx.io/pubmed/mcp

Full abstract text for one PubMed article by ID. Returns the abstract with structured sections (background, methods, results, conclusions) when the journal published it that way, otherwise the unstructured abstract. Use when summarizing a single paper or answering “what does paper X actually say”. For batch citation metadata use get_summary; for finding papers use search_pubmed.

Parameters

NameTypeRequiredDescription
idstringyesA 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

FieldTypeDescription
pmidstringPubMed ID
titlestring | nullArticle title
abstractstringFull abstract text with structured sections
urlstringPubMed 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.

Regenerated from source · build June 24, 2026