NMDC-MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NMDC-MCP Search NMDC for E. coli genome data"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NMDC-MCP
MCP (Model Context Protocol) Server for the National Microbiology Data Center (NMDC) of China.
Overview
NMDC-MCP is a Model Context Protocol (MCP) server that provides AI applications with access to the data and services of the National Microbiology Data Center (NMDC) — China's national-level data center for microbiology research. The server exposes NMDC's rich data resources through a standardized MCP interface, enabling AI assistants like Claude, ChatGPT, and others to search, query, and explore microbiology data.
What is NMDC?
The National Microbiology Data Center (国家微生物科学数据中心) is hosted by the Institute of Microbiology, Chinese Academy of Sciences. It provides comprehensive microbiology data services including:
Microbiome Data — BioProjects, BioSamples, Nucleotides, Metagenomes, Genomes, Proteins, SRA, and more
Microbial Resources — Global Catalogue of Microorganisms (GCM), biological parts
Virus Data — Virus pathogen sequences, SARS-CoV-2 genome and variation data
Pathogen Data — Pathogen catalogues, plasmids, phage, tuberculosis data
Fungi Data — Fungal names, genomes, type specimens
Microbial Dictionary — Biological terms, DNA barcodes
Microbial Catalog — Global microbial names, Chinese fungal specimens
What is MCP?
The Model Context Protocol is an open standard for connecting AI applications to external systems. It provides a unified way for AI assistants to access data sources, tools, and workflows.
Related MCP server: datamgr
Features
🔬 19 MCP Tools covering all major NMDC data categories
📚 5 MCP Resources for structured data access
🔄 Resource Templates for dynamic URI-based access
🌐 Async HTTP Client for efficient NMDC API communication
⚙️ Configurable via environment variables
📦 Easy Installation via pip or uv
Quick Start
Installation
# Using pip
pip install nmdc-mcp
# Or using uv
uv pip install nmdc-mcp
# Or from source
git clone https://github.com/zengzichao/NMDC-MCP.git
cd NMDC-MCP
pip install -e .Configuration
Add the NMDC-MCP server to your MCP client configuration:
Claude Desktop / Claude Code
{
"mcpServers": {
"nmdc": {
"command": "nmdc-mcp",
"env": {
"NMDC_BASE_URL": "https://nmdc.cn"
}
}
}
}Cursor / VS Code
{
"mcp.servers": {
"nmdc": {
"command": "nmdc-mcp"
}
}
}Usage
Once configured, you can ask your AI assistant to interact with NMDC data:
Search NMDC for E. coli genome data
What analysis tools are available on NMDC?
Look up the BioProject PRJCA000001 on NMDC
Search the microbial dictionary for "bacteriophage"Available Tools
Tool | Description |
| Search across all NMDC databases by keyword |
| Get overview of all available data resources |
| Get BioProject details by accession ID |
| Get BioSample details by accession ID |
| Get sequence information by accession ID |
| Search genome records |
| Search Sequence Read Archive data |
| Search metagenome data |
| Search virus pathogen data |
| Search SARS-CoV-2 variation data |
| Search fungi microorganism data |
| Search pathogen microorganism data |
| Search tuberculosis data |
| Search Global Catalogue of Microorganisms |
| Search microbial dictionary for terms |
| Search microbial catalog |
| Get available analysis tools |
| Get metadata standards information |
| Get downloadable dataset list |
Configuration Options
Environment Variable | Default | Description |
|
| NMDC website base URL |
|
| NMDC API base URL |
|
| HTTP request timeout (seconds) |
|
| Maximum results per query |
|
| Default page size for pagination |
Development
Setup Development Environment
git clone https://github.com/zengzichao/NMDC-MCP.git
cd NMDC-MCP
pip install -e ".[dev]"Run Tests
pytestLint and Type Check
ruff check src/
mypy src/Documentation
License
This project is licensed under the MIT License.
Acknowledgments
National Microbiology Data Center (NMDC) — for providing the data platform
Model Context Protocol — for the MCP specification
Institute of Microbiology, Chinese Academy of Sciences
Available Tools
19 toolsget_analysis_toolsA
Get a list of analysis tools available on the NMDC platform. These tools can be used for bioinformatics analysis of microbiology data.
Inputs: no named parameters.
get_bioprojectB
Get detailed information about a specific BioProject from NMDC. BioProjects are collections of biological data related to a single initiative.
Inputs: accession (required).
get_biosampleC
Get detailed information about a specific BioSample from NMDC. BioSamples are biological source materials used in sequencing.
Inputs: accession (required).
get_download_listB
Get the list of downloadable datasets from NMDC. Provides information about available bulk data downloads.
Inputs: no named parameters.
get_metadata_standardsA
Get metadata standards information from NMDC. Includes information about data submission standards, metadata schemas, and compliance requirements.
Inputs: no named parameters.
get_nmdc_data_overviewA
Get an overview of all data resources available on the NMDC platform. Returns information about each data category, the databases within them, and their record counts. Use this to understand what data is available.
Inputs: no named parameters.
get_sequenceB
Get sequence information (nucleotide or protein) from NMDC by accession ID.
Inputs: accession (required).
search_fungiB
Search fungi microorganism data on NMDC. Includes fungal names, genome data, type specimens, and related information.
Inputs: page, size, keyword.
search_gcmC
Search the Global Catalogue of Microorganisms (GCM) on NMDC. The GCM provides information about microbial strains held in culture collections worldwide.
Inputs: page, size, keyword.
search_genomeC
Search for genome records in the NMDC database. Can filter by organism name.
Inputs: page, size, organism.
search_metagenomeB
Search metagenome data on NMDC. Metagenomic data includes environmental and host-associated microbiome sequences.
Inputs: page, size, keyword.
search_microbial_catalogB
Search the microbial catalog on NMDC. Includes global microbial names, Chinese fungal specimens, and fungal names.
Inputs: page, size, keyword.
search_microbial_dictionaryA
Search the microbial dictionary on NMDC for biological and microbiological terms. Includes English-Chinese biological terms, paleontological vocabulary, and molecular biology terms.
Inputs: keyword (required), page, size.
search_ncov_variationB
Search SARS-CoV-2 (novel coronavirus) variation data on NMDC. Includes genomic variations, mutations, and related epidemiological data.
Inputs: page, size, keyword.
search_nmdc_dataB
Search for data across all NMDC (National Microbiology Data Center) databases. Returns matching records including BioProjects, BioSamples, sequences, genomes, etc. Use this tool when you need to find microbiology data by keyword.
Inputs: keyword (required), page, size, category.
search_pathogenC
Search pathogen microorganism data on NMDC. Includes pathogen catalogues, plasmids, phage, and tuberculosis data.
Inputs: page, size, keyword.
search_sraB
Search the Sequence Read Archive (SRA) data on NMDC. SRA stores raw sequencing data from various platforms.
Inputs: page, size, keyword.
search_tuberculosisC
Search tuberculosis data on NMDC. Includes Mycobacterium tuberculosis genome and clinical data.
Inputs: page, size, keyword.
search_virusC
Search virus pathogen data on NMDC. Includes virus sequences, genome annotations, and related data.
Inputs: page, size, keyword.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The set is split between one generic search_nmdc_data and eleven per-database search_* tools, and the boundaries between them are fuzzy (virus vs ncov_variation vs pathogen, pathogen vs tuberculosis, microbial_dictionary vs microbial_catalog). Descriptions name the underlying NMDC database, which helps an informed agent, but nothing tells the agent when to prefer the umbrella search over a targeted one, and the nested categories invite misselection.
Every tool is snake_case with a leading verb (search_* or get_*), and the noun that follows consistently identifies the resource. Deviations like search_ncov_variation or get_nmdc_data_overview are still readable and on-pattern.
At 19 tools this sits in the heavy range, and much of the bulk is avoidable: the eleven search_* variants are largely the same operation parameterized by database. Consolidating them into one search tool with a database/category filter would have produced a much tighter surface.
The read-only portal workflow is well covered: overview, cross-DB and per-DB search, detail getters for BioProject/BioSample/sequence, plus analysis tools, metadata standards, and download listings. Gaps are minor-but-real: there is no detail getter for records found via search_genome, search_sra, or search_virus, and no tool to actually retrieve a dataset file, only to list what is downloadable.
Related MCP Connectors
Public MCP endpoint for collaborative research and knowledge discovery.
Open network for AI agents to find, exchange and reuse structured knowledge via MCP and JSON.
AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP
Hosted MCP server for finding authoritative primary data sources and official portals.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that gives AI assistants access to biological and biomedical RDF databases via SPARQL at the RDF Portal, as well as selected REST APIs (NCBI E-utilities, UniProt, ChEMBL, PDB, Reactome, Rhea, MeSH, and more).23321MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to discover and inspect research datasets via a read-only MCP server, offering search, variable listing, and metadata retrieval without reading data files.-
- AlicenseAqualityCmaintenanceEnables researchers to query public ENA and BioSamples genomics data in plain English through any MCP client, including counting records, searching samples, retrieving sample details, and checking metadata quality against project requirements.4MIT
- AlicenseAqualityBmaintenanceEnables LLMs to search, retrieve, and analyze Global Catalogue of Metagenomics data—including BioProjects, BioSamples, Runs, MAGs, biome catalogues, taxonomy abundance, functional annotations, and platform statistics—through natural-language MCP tools.131MIT