Back to Home
m0370 icon

mcp-pubmed-server

Verified Safe

by m0370

Overview

Provides AI agents with tools to search, filter, and retrieve medical literature from PubMed via NCBI E-utilities API.

Installation

Run Command
/absolute/path/to/mcp-pubmed-server/.venv/bin/python3 /absolute/path/to/mcp-pubmed-server/server_stdio.py

Environment Variables

  • NCBI_API_KEY

Security Notes

The server loads `NCBI_API_KEY` from environment variables, avoiding hardcoded secrets. It communicates via standard input/output (stdio) as a subprocess, limiting external network exposure to explicit API calls. Uses `httpx` for HTTP requests and `xmltodict` for XML parsing, both standard and generally safe. There's no use of `eval` or direct execution of arbitrary user-provided code. XML parsing from external sources (NCBI) is a potential, but low, risk for XXE given the trusted source and modern Python XML library defaults.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-24

Tags

PubMedMedical ResearchAI Agent ToolNCBIScientific Literature