# `pubmed__pubmed_europepmc_fetch`

**Pubmed Europepmc Fetch**

Fetch complete Europe PMC records — including the full, untruncated abstract — for records addressed by \`source\` plus \`epmcId\`. Pairs with \`pubmed_europepmc_search\`, which returns bounded \`abstractSnippet\` values and flags cut ones with \`abstractTruncated: true\`; pass those hits' \`source\` and \`epmcId\` here to read the whole abstract. This is the retrieval path for preprint (\`PPR\`), patent (\`PAT\`), and Agricola (\`AGR\`) records, which frequently carry no PMID and no DOI, so \`pubmed_fetch_articles\` and \`pubmed_fetch_fulltext\` cannot address them. Up to 25 records per call.

- Server: [PubMed](https://gateway.mcpharbor.dev/docs/servers/pubmed) (`dev.mcpharbor.gateway/pubmed`)
- Price per call: $0.0001 (100 micro-USD); only tools/call is charged
- Endpoint: `https://gateway.mcpharbor.dev/mcp` or `https://gateway.mcpharbor.dev/mcp/pubmed`
- Upstream tool: exposed by the provider; called through this gateway as `pubmed__pubmed_europepmc_fetch`
- Provider terms: <https://www.ncbi.nlm.nih.gov/books/NBK25497/> (verified 2026-09-19)
- Upstream API documentation: <https://www.ncbi.nlm.nih.gov/books/NBK25497/>
- Rate limit: 150 requests per minute
- Attribution required: NCBI's Disclaimer and Copyright notice must be evident to users of your product

## Parameters

- `records` (array, required): Records to retrieve, each addressed by the \`source\` and \`epmcId\` of a \`pubmed_europepmc_search\` hit. The whole batch resolves in one Europe PMC request.

## Example call

Request headers and body:

```http
POST /mcp HTTP/1.1
Host: gateway.mcpharbor.dev
Authorization: Bearer <your gateway API key>
Content-Type: application/json
Accept: application/json, text/event-stream
MCP-Protocol-Version: 2026-07-28
Mcp-Method: tools/call
Mcp-Name: pubmed__pubmed_europepmc_fetch
```

```json
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "_meta": {
      "io.modelcontextprotocol/clientCapabilities": {},
      "io.modelcontextprotocol/clientInfo": {
        "name": "example-agent",
        "version": "1.0.0"
      },
      "io.modelcontextprotocol/protocolVersion": "2026-07-28"
    },
    "arguments": {
      "records": []
    },
    "name": "pubmed__pubmed_europepmc_fetch"
  }
}
```

A successful response:

```json
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "_meta": {
      "dev.mcpharbor.gateway/call": {
        "chargedMicroUsd": 100,
        "id": "<the id of this charge>"
      }
    },
    "content": [
      {
        "text": "<whatever the upstream tool returned>",
        "type": "text"
      }
    ],
    "resultType": "complete"
  }
}
```

This call costs $0.0001 (100 micro-USD). Reading this page and listing the tool cost nothing.
The `dev.mcpharbor.gateway/call` record in the result is the receipt for that charge. Each
POST is metered separately, so sending the same call again buys another one: see
[agent.txt](https://gateway.mcpharbor.dev/agent.txt), section 7, before retrying.

## Attribution

This provider requires the attribution below wherever you use results from its tools.
Reproduce it verbatim:

> NCBI's Disclaimer and Copyright notice must be evident to users of your product

## Tool definition

Exactly as `tools/list` returns it (free):

```json
{
  "_meta": {
    "dev.mcpharbor.gateway/pricing": {
      "currency": "USD",
      "pricePerCallMicroUsd": 100
    }
  },
  "annotations": {
    "openWorldHint": true,
    "readOnlyHint": true
  },
  "description": "Fetch complete Europe PMC records — including the full, untruncated abstract — for records addressed by `source` plus `epmcId`. Pairs with `pubmed_europepmc_search`, which returns bounded `abstractSnippet` values and flags cut ones with `abstractTruncated: true`; pass those hits' `source` and `epmcId` here to read the whole abstract. This is the retrieval path for preprint (`PPR`), patent (`PAT`), and Agricola (`AGR`) records, which frequently carry no PMID and no DOI, so `pubmed_fetch_articles` and `pubmed_fetch_fulltext` cannot address them. Up to 25 records per call.",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "records": {
        "description": "Records to retrieve, each addressed by the `source` and `epmcId` of a `pubmed_europepmc_search` hit. The whole batch resolves in one Europe PMC request.",
        "items": {
          "description": "One record address: the Europe PMC source corpus plus its id within that corpus",
          "properties": {
            "epmcId": {
              "description": "Europe PMC's own record id within that source. Copy it from the search hit's `epmcId` — for `MED` records this is the PMID; for the other sources it is an EPMC-native accession.",
              "maxLength": 64,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
              "type": "string"
            },
            "source": {
              "description": "Europe PMC source corpus — `MED` (PubMed), `PMC` (PubMed Central), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola). Copy it from the search hit's `source`. `PMC` paired with a PMCID resolves whether or not the article is also indexed in PubMed, and a PubMed-indexed one comes back as its canonical `MED` record carrying that PMCID in `pmcId`.",
              "enum": [
                "MED",
                "PMC",
                "PPR",
                "PAT",
                "AGR"
              ],
              "type": "string"
            }
          },
          "required": [
            "source",
            "epmcId"
          ],
          "type": "object"
        },
        "maxItems": 25,
        "minItems": 1,
        "type": "array"
      }
    },
    "required": [
      "records"
    ],
    "type": "object"
  },
  "name": "pubmed__pubmed_europepmc_fetch",
  "outputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "anyOf": [
      {
        "not": {
          "required": [
            "error"
          ]
        },
        "required": [
          "records"
        ]
      },
      {
        "required": [
          "error"
        ]
      }
    ],
    "properties": {
      "error": {
        "additionalProperties": {},
        "description": "Present when the call failed. Absent on success.",
        "properties": {
          "code": {
            "description": "JSON-RPC error code for this failure.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
          },
          "data": {
            "additionalProperties": {},
            "properties": {
              "reason": {
                "description": "Machine-readable failure mode. Declared by this tool: `europepmc_unreachable`: Europe PMC was unreachable after all retry attempts. `europepmc_invalid_response`: Europe PMC returned a body that could not be parsed (invalid JSON or XML). `europepmc_invalid_input`: Europe PMC rejected the request input (empty query, unknown sort field, malformed parameter). `europepmc_disabled`: Europe PMC service is disabled via EUROPEPMC_ENABLED=false. Other values are possible when a failure originates below the handler.",
                "examples": [
                  "europepmc_unreachable",
                  "europepmc_invalid_response",
                  "europepmc_invalid_input",
                  "europepmc_disabled"
                ],
                "type": "string"
              },
              "recovery": {
                "additionalProperties": {},
                "description": "Actionable next step for the caller.",
                "properties": {
                  "hint": {
                    "type": "string"
                  }
                },
                "required": [
                  "hint"
                ],
                "type": "object"
              },
              "retryable": {
                "description": "Whether retrying may succeed.",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "message": {
            "description": "Human-readable description of what went wrong.",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "notFound": {
        "description": "Requested `source` + `epmcId` pairs Europe PMC returned no record for",
        "items": {
          "additionalProperties": false,
          "description": "One record address: the Europe PMC source corpus plus its id within that corpus",
          "properties": {
            "epmcId": {
              "description": "Europe PMC's own record id within that source. Copy it from the search hit's `epmcId` — for `MED` records this is the PMID; for the other sources it is an EPMC-native accession.",
              "maxLength": 64,
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
              "type": "string"
            },
            "source": {
              "description": "Europe PMC source corpus — `MED` (PubMed), `PMC` (PubMed Central), `PPR` (preprint), `PAT` (patent), `AGR` (Agricola). Copy it from the search hit's `source`. `PMC` paired with a PMCID resolves whether or not the article is also indexed in PubMed, and a PubMed-indexed one comes back as its canonical `MED` record carrying that PMCID in `pmcId`.",
              "enum": [
                "MED",
                "PMC",
                "PPR",
                "PAT",
                "AGR"
              ],
              "type": "string"
            }
          },
          "required": [
            "source",
            "epmcId"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "notice": {
        "description": "Guidance when one or more requested records could not be resolved. Absent when every record came back.",
        "type": "string"
      },
      "records": {
        "description": "Resolved records, in the order Europe PMC returned them",
        "items": {
          "additionalProperties": false,
          "description": "Complete Europe PMC record",
          "properties": {
            "abstract": {
              "description": "Complete abstract as display-ready plain text — JATS/HTML markup stripped and HTML entities decoded, never truncated. Omitted when Europe PMC carries no abstract for the record.",
              "type": "string"
            },
            "authors": {
              "description": "Formatted author string as display-ready plain text — JATS/HTML markup stripped and HTML entities decoded.",
              "type": "string"
            },
            "citedByCount": {
              "description": "Citation count reported by Europe PMC",
              "type": "number"
            },
            "doi": {
              "description": "DOI when present, cased as Europe PMC reports it. DOIs are case-insensitive by spec and no case normalization is applied here, so the same DOI can arrive in a different case from `pubmed_fetch_articles` (Europe PMC `10.1056/nejmoa2212948`, NCBI `10.1056/NEJMoa2212948`) — a byte-for-byte comparison across the two reports a false mismatch.",
              "type": "string"
            },
            "epmcId": {
              "description": "Europe PMC's internal record id",
              "type": "string"
            },
            "epmcUrl": {
              "description": "Europe PMC article URL",
              "type": "string"
            },
            "firstPublicationDate": {
              "description": "First publication date (ISO YYYY-MM-DD)",
              "type": "string"
            },
            "hasFullTextXml": {
              "description": "Whether Europe PMC publishes a fullTextXML for this record. Derived from `inPMC` — only records with a PMC counterpart have JATS via Europe PMC.",
              "type": "boolean"
            },
            "isOpenAccess": {
              "description": "Whether Europe PMC reports the record as open access",
              "type": "boolean"
            },
            "journal": {
              "description": "Journal title as display-ready plain text — JATS/HTML markup stripped and HTML entities decoded.",
              "type": "string"
            },
            "pmcId": {
              "description": "PMC ID when present in PMC",
              "type": "string"
            },
            "pmid": {
              "description": "PMID when present in PubMed",
              "type": "string"
            },
            "pubYear": {
              "description": "Publication year",
              "type": "string"
            },
            "source": {
              "description": "Europe PMC source the record was resolved from",
              "enum": [
                "MED",
                "PMC",
                "PPR",
                "PAT",
                "AGR"
              ],
              "type": "string"
            },
            "title": {
              "description": "Record title as display-ready plain text — JATS/HTML markup stripped and HTML entities decoded.",
              "type": "string"
            }
          },
          "required": [
            "source",
            "epmcId",
            "epmcUrl"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "type": "object"
  },
  "title": "Pubmed Europepmc Fetch"
}
```
