Ncbi MCP Server logo

Ncbi MCP Server

by vitorpavinato

Search PubMed, inspect articles, resolve MeSH terms, find related papers, and run structured biomedical literature queries.

Install Ncbi MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

vitorpavinato/ncbi-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    mkdir ncbi-mcp-server && cd ncbi-mcp-server
    
  2. 2. Configure
    poetry init
    
  3. 3. Configure
    mkdir -p src/ncbi_mcp_server
    
  4. 4. Install
    poetry install
    
  5. 5. Start the server
    poetry run python src/ncbi_mcp_server/server.py
    
  6. 6. Install
    conda env create -f environment.yml
    

Overview

vitorpavinato/ncbi-mcp-server MCP server connects AI assistants to NCBI PubMed for biomedical and life sciences literature research. It supports basic and advanced searches, article metadata retrieval, MeSH term discovery, and related-article lookup through MCP tools. Use it for literature reviews, method discovery, research updates, and searches involving biological, medical, or computational biology topics. Local, virtual-environment, Conda, pip, and Docker deployment paths are documented.

Use cases

  • Search PubMed for recent genomics and bioinformatics studies
  • Find review and meta-analysis papers by journal or publication type
  • Retrieve abstracts, authors, DOIs, and MeSH terms for selected papers
  • Discover related articles from a known PubMed record
  • Refine biomedical searches with standardized MeSH terminology

Key features

  • PubMed literature search
  • Advanced multi-criteria queries
  • Article metadata retrieval
  • MeSH term lookup
  • Related article discovery
  • Caching and usage analytics

Tools5

What Ncbi MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~74 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/14 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Ncbi MCP Server works

What vitorpavinato/ncbi-mcp-server MCP server does

The vitorpavinato/ncbi-mcp-server MCP server provides an MCP interface to NCBI PubMed. It is intended for searching scientific literature across biological and biomedical fields, including genetics, ecology, medicine, biotechnology, and computational biology.

Searches can use PubMed query syntax, including Boolean operators and field tags such as [ti] for titles, [au] for authors, and [mh] for MeSH terms. Results can be sorted by relevance, publication date, author, or journal, and searches can be limited to recent time windows. The server also supports structured searches using author, journal, publication type, and date criteria.

How it works

An MCP-compatible assistant sends tool calls to the local server, which queries NCBI resources and returns literature data. search_pubmed handles general PubMed queries, while advanced_search combines lists of terms with an AND, OR, or NOT operator and can apply additional filters.

get_article_details accepts PubMed IDs and returns article information such as abstracts, authors, MeSH terms, DOIs, and publication details. search_mesh_terms helps identify standardized Medical Subject Headings for more precise queries. get_related_articles uses a reference PubMed ID to find related research.

The project also documents caching, request analytics, cache statistics, response-time tracking, error monitoring, and rate-limit efficiency metrics. These features are intended to help inspect usage and server performance during research workflows.

Setup and configuration

The documented setup uses Python 3.8 or newer. Poetry is the recommended dependency manager, with mcp, httpx, and typing-extensions listed as project dependencies. The server can be started locally with Poetry and a Python entry point.

Alternative instructions cover a Conda environment and a standard Python virtual environment installed from requirements.txt. Docker deployment is also documented. The full Docker setup includes Redis for caching, while the simple setup uses in-memory caching without Redis persistence.

The vitorpavinato/ncbi-mcp-server MCP server is configured for Claude Desktop by adding a server entry that runs the Python process through Poetry and sets the project directory as the working directory. The documented configuration includes separate file locations for macOS, Windows, and Linux.

Deployment instructions ask users to create a .env file from the provided example and configure an NCBI email address and API key.

Tools and capabilities

  • Search PubMed with free-text terms, Boolean logic, field tags, sorting, result limits, and recent-date filters.
  • Run multi-criteria searches using terms, authors, journals, publication types, and date boundaries.
  • Retrieve details for batches of up to 50 PubMed IDs.
  • Search the MeSH database for standardized biomedical terminology.
  • Find related articles from a supplied PubMed ID.
  • Review documented analytics for request counts, operation usage, cache behavior, response times, and errors.

Limitations and notes

The supplied setup describes a locally run Python MCP process rather than a hosted endpoint. Article-detail retrieval is limited to 50 PubMed IDs per call, while the search tools document result limits of up to 100 and related-article limits of up to 50.

The vitorpavinato/ncbi-mcp-server MCP server is focused on literature discovery and metadata retrieval.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ncbi MCP Server

vitorpavinato/ncbi-mcp-server is an MCP server that connects AI assistants to NCBI PubMed. Its main tools search PubMed, retrieve article details, find MeSH terms, discover related articles, and run advanced searches with filters for authors, journals, publication types, and dates.

Install it with Python 3.8 or newer using the documented Poetry workflow, or use the provided Conda, pip with virtualenv, or Docker alternatives. Configure the NCBI email and API key in `.env` for the documented deployment options.

Add an `mcpServers` entry to Claude Desktop's configuration that runs `poetry run python src/ncbi_mcp_server/server.py` and sets the repository path as `cwd`. Restart Claude Desktop after saving the configuration.

Yes, use `get_related_articles` with a PubMed ID to retrieve related research. The documented default is 10 results, with a maximum of 50.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNcbi MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vitorpavinato-ncbi-mcp-server?style=directory)](https://allmcps.com/mcp/vitorpavinato-ncbi-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/vitorpavinato-ncbi-mcp-server"><img src="https://allmcps.com/api/badge/vitorpavinato-ncbi-mcp-server?style=directory" alt="Ncbi MCP Server on AllMCPs" /></a>