Metadata-Version: 2.4
Name: mcp-entrez-bio
Version: 0.1.5
Summary: MCP server for NCBI Entrez using Biopython
Requires-Python: >=3.10
Requires-Dist: biopython>=1.83
Requires-Dist: mcp>=1.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: tomli>=2.0.1; python_version < '3.11'
Description-Content-Type: text/markdown

# mcp-entrez-bio

An MCP (Model Context Protocol) server for interacting with NCBI Entrez via Biopython.

## Features
- Search PubMed with boolean queries (`pubmed_esearch`)
- Fetch PubMed abstracts as plain text (`pubmed_efetch_abstracts`)
- Automatic rate-limiting conforming to NCBI guidelines

## Prerequisites
Provide your NCBI credentials via environment variables for higher rate limits (10 requests/s vs 3 requests/s without API key):
```bash
export NCBI_EMAIL="your_email@example.com"
export NCBI_API_KEY="your_api_key_here"  # Optional but recommended
```

## Installation & Usage

Install using standard python tools or `uv`:
```bash
uv tool install .
```

Run the server directly via standard MCP stdio:
```bash
mcp-entrez
```
