Labsco
MCP SERVER

PubMed MCP Server

by aeghnnsw

Search PubMed and pull the abstracts back into the conversation — one article, or a batch of them, from NCBI's own API.

Academic Literature & Citations
Summary
A literature search that ends with the abstracts, not a list of links.

Search and retrieval are both here, and retrieval is batched — so a query becomes a set of abstracts an assistant can actually read and compare, rather than a list of PMIDs somebody has to open one at a time.

What it is

An MCP server over PubMed's E-utilities API, giving an assistant search across the biomedical literature plus retrieval of article metadata, abstracts and available content.

What you get
  • Search across PubMed with flexible query terms, including boolean expressions, with result count and sort order under your control
  • Full retrieval for an article: metadata, abstract and whatever content the record exposes
  • Batch download, so a reading list comes back in one request rather than one call per paper
  • Document summaries with metadata, when the full record is more than the question needs
  • Output in XML, JSON or plain text
  • Rate limiting applied automatically, so a batch does not trip NCBI's per-second limits
Requirements

Python in a virtual environment with the packages in requirements.txt; a setup script does this in one step. No key is required, but an NCBI API key raises the rate limit from 3 to 10 requests per second, and NCBI asks for a contact email — both go in a .env file.