BacDive MCP Server
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., "@BacDive MCP Server Find Escherichia coli strains and show their culture conditions"
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.
BacDive MCP Server
Overview
BacDive (Bacterial Diversity Metadatabase) is an online database developed and maintained by the German Collection of Microorganisms and Cell Cultures (DSMZ). The >80,000 bacterial and archaeal strains are catalogued in BacDive with detailed information covering physiology, morphology, taxonomy, culture conditions, metabolism, enzymology activities, antibiotic resistance, sequences, and many more.
This project is an MCP (Model Context Protocol) server that enables AI large language models (such as Claude) to directly query and retrieve data from the BacDive database. Through this MCP server, the AI assistants can:
π Search for strains by species or genus name
π Retrieve full strain details by BacDive ID
π§« Search for culture media by name or ID
𧬠Search for 16S rRNA or genome sequences
π Perform free-text searches across the entire taxon database
Related MCP server: TimeTree MCP Server
Features
Data Query Capabilities
Feature | Description |
Strain Search | Search strains by species name (e.g., Escherichia coli) or genus name |
Full-text Search | Search taxa by any keyword (e.g., "thermophilic", "spore-forming", "nitrogen-fixing") |
Strain Details | Retrieve full strain information by BacDive ID (taxonomy, morphology, culture conditions, metabolism, enzymology, resistance, safety, etc.) |
DSM Number Search | Search by DSMZ strain number (e.g., DSM 3) |
Culture Medium Search | Search culture media by name or retrieve full composition by ID |
16S rRNA Search | Search 16S rRNA gene sequences by species/genus |
Genome Search | Search genome sequences by species/genus |
Browse All | Paginated browsing of all taxa in BacDive |
Health Check | Check BacDive API connectivity |
Technical Features
TypeScript implementation with type safety
Uses Node.js native
httpsmodule βzero external HTTP dependenciesCommunicates with MCP clients via standard size transport
Compatible with any MCP client (Claude Desktop, Cursor, etc.)
Installation
Prerequisites
Node.js >= 18.0.0
npm or yarn or pnpm (any one)
Build from Source
# Clone or download this project locally
cd BacDive-MCP
# Install dependencies
npm install
# Compile TypeScript
npm run buildAfter compilation, the runnable file will be at dist/index.js.
Global Install (Optional)
npm run build
npm link
# Now you can run it globally
bacdive-mcpConfiguration & Usage
Claude Desktop Configuration
Add the BacDive MCP server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"bacdive-mcp": {
"command": "node",
"args": [
"C:/your/path/to/BacDive-MCP/dist/index.js"
]
}
}
}Tip: Replace
C:/your/path/to/BacDive-MCP/dist/index.jswith your actual project path.
Cursor Configuration
Add to Cursor's MCP settings:
{
"mcpServers": {
"bacdive-mcp": {
"command": "node",
"args": [
"C:/your/path/to/BacDive-MCP/dist/index.js"
]
}
}
}Generic MCP Client Configuration
Any MCP-compatible client can connect to this server via stdeo. The server startup command is:
node dist/index.jsManual Testing
# Build
npm run build
# Start the server (communicates via stdin/stdout)
npm startAvailable Tools
This MCP server provides the following 10 tools:
1. bacdive_search_strain β Strain Search
Search for strains by species and/or genus name.
Parameters:
Parameter | Type | Required | Description |
| string | one of two | Full or partial species name (e.g., |
| string | one of two | Full or partial genus name (e.g., |
| number | no | Page number, default 1 |
Example call:
{
"species": "Escherichia coli",
"page": 1
}2. bacdive_search_taxon β Full-text Search
Search across the entire taxon database with free text.
Parameters:
Parameter | Type | Required | Description |
| string | yes | Search query (e.g., |
| number | no | Page number, default 1 |
3. bacdive_get_strain_by_id β Get Strain Details
Retrieve full strain information by BacDive ID.
Parameters:
Parameter | Type | Required | Description |
| number | yes | BacDive strain ID (e.g., |
Returned content includes:
General information (DSMZ strain number, accession, dates, etc.)
Name & taxonomic classification (species, genus, family, order, class, phylum, domain, full name, LPSN, synonyms, etc.)
Morphology
Culture and growth conditions
Physiology and metabolism
Enzyme activities
Antibiotic resistance
Safety information
Applications
References
Sequence information (16S rRNA gene, genome)
External links
4. bacdive_search_by_dsm_number β Search by DSM Number
Search for a strain by its DSMZ strain number.
Parameters:
Parameter | Type | Required | Description |
| string | yes | DSMZ strain number (e.g., |
5. bacdive_browse_taxa β Browse All Taxa
Browse all taxa in the BacDive database with pagination.
Parameters:
Parameter | Type | Required | Description |
| number | no | Page number, default 1 |
6. bacdive_search_culture_medium β Search Culture Media
Search for culture media by name.
Parameters:
Parameter | Type | Required | Description |
| string | yes | Full or partial medium name (e.g., |
| number | no | Page number, default 1 |
7. bacdive_get_culture_medium_by_id β Get Culture Medium Details
Retrieve full culture medium information by DSMZ medium ID.
Parameters:
Parameter | Type | Required | Description |
| number | yes | DSMZ medium ID (e.g., |
8. bacdive_search_16s β Search 16S rRNA Sequences
Search for 16S rRNA gene sequences by species or genus name.
Parameters:
Parameter | Type | Required | Description |
| string | one of two | Species name |
| string | one of two | Genus name |
| number | no | Page number, default 1 |
9. bacdive_search_genome β Search Genomes
Search for genome sequences by species or genus name.
Parameters:
Parameter | Type | Required | Description |
| string | one of two | Species name |
| string | one of two | Genus name |
| number | no | Page number, default 1 |
10. bacdive_ping β Health Check
Check BacDive API connectivity.
Parameters: None
Usage Examples
Here are some natural language conversation examples when using Claude Desktop:
Example 1: Find a Specific Strain
User: Help me search for E. coli (Escherichia coli) in the BacDive database.
AI Assistant: (Calls the
bacdive_search_straintool and returns matching results)
Example 2: Get Detailed Information
User: For the strain with BacDive ID 2, give me its complete culture conditions and metabolism info.
AI Assistant: (Calls
bacdive_get_strain_by_idand extracts culture conditions and metabolism data)
Example 3: Search for Culture Methods
User: I need to culture a Bacillus subtilis strain. Help me find the Nutrient medium recipe.
AI Assistant: (Calls
bacdive_search_culture_mediumand returns the medium recipe)
Example 4: Trait-based Search
User: Find thermophilic bacteria in BacDive.
AI Assistant: (Calls
bacdive_search_taxonwith query "thermophilic")
Project Structure
BacDive-MCP/
βββ src/
β βββ index.ts # Entry point, starts MCP server
β βββ server.ts # MCP server core, tool definitions and handlers
β βββ bacdive-client.ts # BacDive API client
βββ examples/
β βββ claude_desktop_config.json # Claude Desktop config example
βββ package.json # Project configuration and dependencies
βββ tsconfig.json # TypeScript compilation config
βββ .env.example # Environment variables example
βββ .gitignore
βββ README.md # English documentation (this file)
βββ README_CN.md # Chinese documentation
βββ LICENSE # MIT LicenseDevelopment
Development Setup
# Install dependencies
npm install
# Watch mode compilation (optional)
# Use tsc --watch
# Build
npm run build
# Run
npm start
# Type check (no output files)
npm run lintAdding New Tools
Add a new tool definition in the
TOOLSarray insrc/server.tsAdd a corresponding
casebranch in thehandleToolCallfunctionAdd the corresponding API client method in
src/bacdive-client.ts(if needed)Rebuild and run
Code Architecture
bacdive-client.ts: Wraps BacDive REST API HTTP calls with type-safe methods. Uses Node.js built-inhttpsmodule β no external dependencies needed.server.ts: Defines MCP tool metadata (name, description, input schema) and handlers. Routes tool calls to the appropriate BacDiveClient methods.index.ts: Entry point β creates the client, server, and stdio transport, then starts the service.
API Reference
BacDive REST API documentation:
Homepage: https://bacdive.dsmz.de/
API base path:
https://api.bacdive.dsmz.de/api/v1/Main endpoints:
GET /taxon/β Taxon searchGET /strain/{id}/β Strain detailsGET /culturemedium/β Culture medium searchGET /culturemedium/{id}/β Culture medium detailsGET /sequence_16s/β 16S rRNA searchGET /genome/β Genome search
About BacDive
BacDive (https://bacdive.dsmz.de/) is a bacterial diversity metadatabase maintained by DSMZ, containing detailed descriptions of over 80,000 strains covering taxonomy, morphology, physiology, ecology, molecular biology, and more. The database is publicly accessible and is an important resource for microbiological research.
Disclaimer: This project is an independent, unofficial MCP server wrapper for the BacDive API. All BacDive data and the BacDive API are owned and operated by DSMZ. For official information, please visit https://bacdive.dsmz.de/.
License
Available Tools
10 toolsbacdive_browse_taxaA
Browse all taxa in the BacDive database with pagination. This is useful for systematically exploring the database or getting an overview of available strains. Each page contains up to 50 taxa.
Inputs: page.
bacdive_get_culture_medium_by_idA
Retrieve detailed information about a specific culture medium from BacDive using its numeric DSMZ medium ID. Returns the full medium composition, growth conditions, and citation.
Inputs: medium_id (required).
bacdive_get_strain_by_idA
Retrieve full detailed information about a specific strain from BacDive using its numeric BacDive ID. This returns comprehensive data including: general information, name and taxonomic classification, morphology, culture and growth conditions, physiology and metabolism, enzyme activities, antibiotic resistance, safety information, applications, references, sequence information (16S rRNA gene, genome), and external links.
Inputs: id (required).
bacdive_pingA
Check the connectivity and availability of the BacDive API. Returns a boolean indicating whether the BacDive API is currently reachable. Use this to diagnose connection issues.
Inputs: no named parameters.
bacdive_search_16sC
Search for 16S rRNA gene sequences in the BacDive database by species or genus name. 16S rRNA gene sequences are the gold standard for bacterial phylogenetic identification and taxonomy.
Inputs: page, genus, species.
bacdive_search_by_dsm_numberB
Search for a strain in BacDive by its DSMZ strain number (e.g. 'DSM 3', 'DSM 10'). DSMZ numbers are the accession identifiers used by the German Collection of Microorganisms and Cell Cultures. Returns the matching taxon entry.
Inputs: dsm_number (required).
bacdive_search_culture_mediumA
Search for culture media in the BacDive database by medium name. Returns details about culture media including composition, growth conditions, and citation. Useful when you need to find how to cultivate specific microorganisms.
Inputs: medium_name (required), page.
bacdive_search_genomeB
Search for genome sequences in the BacDive database by species or genus name. Returns genome sequence accessions and associated strain information.
Inputs: page, genus, species.
bacdive_search_strainA
Search for bacterial or archaeal strains in the BacDive database by species name, genus name, or both. Returns a paginated list of matching taxa with their taxon IDs, species, genus, family, order, class, phylum, and domain. Use this when looking up strains by their scientific name.
Inputs: page, genus, species.
bacdive_search_taxonA
Perform a free-text search across the BacDive taxon database. This is useful for searching by physiological traits, morphological characteristics, or any other keywords (e.g. 'thermophilic', 'spore-forming', 'nitrogen-fixing'). Returns a paginated list of matching taxa.
Inputs: query (required), page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 10 tools
Most tools are cleanly separated by resource and access path (ID lookup vs name search vs browse). However, bacdive_search_strain (by scientific name) and bacdive_search_taxon (free-text) both return taxa lists and could be confused, and search_strain/search_16s/search_genome all take species/genus names, differing only in returned content. Descriptions mitigate this well enough that selection is usually clear.
Every tool follows a consistent bacdive_ prefix plus verb_noun pattern (search_strain, get_strain_by_id, search_culture_medium, browse_taxa). The distinction between search_* and get_*_by_id is applied predictably across resources.
Ten tools is well-scoped for a read-only microbial database covering strains, taxa, media, sequences, and connectivity. Each tool clearly earns its place with no redundancy.
Strong lifecycle coverage: search and ID-based retrieval for strains and media, sequence lookups, browsing, and a ping. Minor gap: there is a bacdive_get_strain_by_id and get_culture_medium_by_id but no get_taxon_by_id, so taxon IDs surfaced by browse/search cannot be directly dereferencedβthough strain detail largely compensates.
Related MCP Connectors
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Read-only search of 2,189 AI agent tools (MCP servers, x402 APIs) with daily automated trust scores.
Free, read-only search over 6,000+ AI agent tools and 3,200+ MCP servers. No sign-up.
AI-powered bioprotocol optimization β generate, search, and manage lab protocols via MCP
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI assistants to search and retrieve global biodiversity data β species taxonomy, occurrence records, datasets, map tiles, literature citations and controlled vocabularies β through a standard tool interface. It exposes the source's API as dozens of typed, paginated tools that any MCP client can call.58CC BY-4.0
- AlicenseAqualityCmaintenanceEnables AI assistants to search and resolve taxon names, query divergence times between taxa, build evolutionary timelines for a taxon, and retrieve database metadata via MCP tools.41MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search and retrieve prokaryotic names, taxon details, full classifications, and rank-based browsing from the List of Prokaryotic names with Standing in Nomenclature in real time, plus read related information pages.71MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to query and retrieve microbial nomenclature data from the SeqCode Registry through its public REST API. Provides 18 tools for names, genomes, type genomes, register lists, publications, authors, journals, subjects, strains, and full-text search, with pagination and status filtering.181MIT