mcp-server-bioscience
This bioscience MCP server connects AI agents to authoritative biomedical databases for real-time data access. Capabilities include:
Literature Search: Query PubMed and Europe PMC for biomedical literature and abstracts.
Protein Structure: Fetch AlphaFold 3D structure metadata and pLDDT confidence scores via UniProt ID.
Gene Info: Look up gene details and genomic coordinates from Ensembl by gene symbol and species.
Drug/Molecule Search: Search ChEMBL for molecules and drugs by name or ID.
Clinical Trials: Query ClinicalTrials.gov by disease, drug, phase, or status.
Enables searching and retrieving biomedical literature from PubMed, including papers relevant to disease and gene research.
๐งฌ SciAgent (mcp-server-bioscience)
SciAgent (BioScience MCP Server) is a high-performance, security-focused Model Context Protocol (MCP) server that empowers AI Agents with cutting-edge biological, medical, and scientific capabilities.
By connecting your AI Assistant (Claude Desktop, Cursor, Claude Code, Aider, etc.) to SciAgent, you eliminate AI hallucinations regarding scientific facts and instantly grant it the ability to interact with real-world, authoritative scientific databases.
๐ Core Capabilities
๐ Academic Literature Mining: Direct access to PubMed and Europe PMC for the latest peer-reviewed papers.
๐ฅ Clinical Trials Data: Query global clinical trial data from ClinicalTrials.gov by disease, drug, phase, or status.
๐งฌ Genomic Data Analysis: Query genetic variants, gene coordinates, and metadata from Ensembl and dbSNP.
๐งช Drug Discovery: Fetch molecule properties and drug targets from ChEMBL.
๐ฌ Structural Biology: Retrieve and analyze 3D protein structures directly from AlphaFold and UniProt.
Related MCP server: grant-mcp
๐๏ธ Architecture
graph LR
A[AI Agent<br/>Claude/Cursor] <-->|Model Context Protocol| B((SciAgent<br/>MCP Server))
B <--> C[(PubMed)]
B <--> D[(AlphaFold)]
B <--> E[(ChEMBL)]
B <--> F[(Ensembl)]
style B fill:#2b5c8f,stroke:#fff,stroke-width:2px,color:#fff๐ก๏ธ Built for AI Safety (Codex Security Ready)
When AI processes third-party biological data (such as parsing massive PDB files or reading unverified scientific texts), it is highly susceptible to Prompt Injection and Context Overflow.
SciAgent is engineered with a security-first approach:
Sanitizer Middleware: Strictly validates API responses.
Context Management: Truncates and summarizes massive biological payloads before handing data back to the LLM.
๐ Quick Start
1. Installation
This package requires uv or pip. We highly recommend using uv for maximum speed.
# Clone the repository
git clone https://github.com/wangshuaifbj-collab/mcp-server-bioscience.git
cd mcp-server-bioscience
# Install
uv pip install -e .(Ensure that the mcp-bioscience executable is added to your system's PATH after installation).
2. Connect to Your AI
For Claude Desktop
Add the following configuration to your claude_desktop_config.json:
{
"mcpServers": {
"bioscience": {
"command": "mcp-bioscience"
}
}
}For Cursor
Go to
Settings->Features->MCPClick
+ Add New MCP ServerChoose
commandtypeSet Name:
bioscienceSet Command:
mcp-bioscience
For Claude Code
Run the following command in your terminal to easily add the server:
claude mcp add bioscience -- mcp-bioscience๐ฌ Example Use Case
You: "Can you find the latest papers on the mechanism of Imatinib and show me its primary protein target structure?"
Claude (powered by SciAgent):
Calls
search_literature(PubMed) to find the latest Imatinib papers.Calls
get_gene_infoto identify BCR-ABL1.Calls
get_protein_structure(AlphaFold) to return the structural confidence metrics of the target.Provides you with a comprehensive, fully-cited response without hallucinations!
๐ค Contributing
We welcome contributions! Whether it's adding a new database (like KEGG or GEO) or improving the existing parsers, please feel free to open a Pull Request. This project aims to be the standard bioinformatics toolkit for the global Agent ecosystem.
Available Tools
4 toolsget_chembl_moleculeA
Search the ChEMBL database for molecules and drugs by name or SMILES.
Args: query: The compound name (e.g., "aspirin") or ID.
Inputs: query (required). Returns: result
get_gene_infoA
Look up gene details and genomic coordinates from Ensembl.
Args: gene_symbol: The gene name (e.g., "BRCA1"). species: The species name (default: "human").
Inputs: gene_symbol (required), species. Returns: result
get_protein_structureA
Fetch AlphaFold 3D protein structure metadata and pLDDT confidence scores.
Args: uniprot_id: The UniProt accession ID (e.g., "P00533" for EGFR).
Inputs: uniprot_id (required). Returns: result
search_literatureA
Search PubMed for biomedical literature and fetch abstracts. Useful for finding the latest research on diseases, drugs, or genes.
Args: query: Search keywords (e.g., "KRAS lung cancer"). max_results: Maximum number of papers to return.
Inputs: query (required), max_results. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 4 tools
Each tool targets a distinct bioscience database: PubMed for literature, AlphaFold for protein structure, Ensembl for gene info, and ChEMBL for molecules. There is no overlap in purpose or resource.
All tool names follow a consistent verb_noun pattern: search_literature, get_protein_structure, get_gene_info, get_chembl_molecule. The verbs 'search' and 'get' are used predictably based on the action performed.
With just 4 tools, the server is carefully scoped to cover the most common bioscience queries. This is within the ideal range and each tool earns its place.
The set covers literature search, gene lookup, protein structure, and molecule search, providing a solid foundation for bioscience research. Missing features like variant or pathway lookup are minor gaps rather than critical dead ends.
Maintenance
Related MCP Connectors
NIH Clinical Tables Search Service MCP.
Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries
MCP gateway federating 22 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn advanced integrated MCP server platform that combines 600+ tools and multiple biomedical databases to enable comprehensive information retrieval across molecules, proteins, genes, and diseases for accelerating therapeutic research.40-
- AlicenseBqualityDmaintenanceMCP server for searching research grants across NSF (US), ERC (EU), and KRF/NRF (Korea) via a unified interface. NIH excludedโcovered by existing connectors.310 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for PubMed search and literature summarization52MIT
- AlicenseAqualityBmaintenancePre-clinical drug discovery intelligence MCP server providing 44 tools to query 800+ drug targets, 12K+ compounds, 46K+ papers, 18K+ clinical trials, and 16K+ patents.44148 PyPIApache 2.0