pubmed-mcp-server

pubmed-mcp-server

3.2

If you are the rightful owner of pubmed-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

PubMed MCP Server is a FastAPI-based service providing access to the PubMed database, allowing users to search articles, retrieve metadata, and download PDFs.

PubMed MCP Server is a service built on FastAPI-MCP that provides an interface to access the PubMed database. It allows users to search for articles using keywords, retrieve detailed metadata for specific PubMed IDs, and download PDF files of PMC articles. The server is designed to facilitate easy access to PubMed resources, making it a valuable tool for researchers and developers who need to interact with PubMed data programmatically. The server runs on Python 3.12+ and utilizes FastAPI for creating robust and efficient API endpoints. Users can configure the server to store downloaded PDFs in a specified directory, with a default path set to '/tmp/pubmed-pdfs'. The project is structured to separate API definitions, core configurations, and service layers, ensuring maintainability and scalability.

Features

  • Article Search: Search for articles in the PubMed database using keywords.
  • Metadata Retrieval: Retrieve detailed information for specific PubMed IDs, including title, abstract, authors, and keywords.
  • PDF Download: Download PDF files of PMC articles to a local directory.