Skip to main content
Glama

gcType-MCP

Version: 0.1.0

An MCP (Model Context Protocol) server for the gcType Type Strains Genome Database, providing AI assistants with seamless access to microbial type strain genome data, species information, 16S rDNA sequences, functional annotations, and more.

English | 中文


Table of Contents


Related MCP server: GTDB-MCP

Overview

gcType-MCP is a Model Context Protocol (MCP) server that bridges AI assistants with the gcType Type Strains Genome Database. The gcType database, operated by the World Data Centre for Microorganisms (WDCM) and the National Microbiology Data Center (NMDC), is a comprehensive genomic database for microbial type strains, covering bacteria, archaea, and fungi.

By using this MCP server, AI assistants (such as Claude) can:

  • Search type strains by species name, strain number, or genome accession

  • Browse data across multiple categories (valid published species, type strain genomes, 16S rDNA sequences, etc.)

  • Query functional annotations (core genome, prophage, defense systems, antibiotic resistance, virulence factors, BGCs, etc.)

  • Access statistics, project information, and citation details

  • Provide guidance on data download and usage policies

Features

  • 13 MCP Tools: Comprehensive coverage of gcType database functionality

  • MCP Protocol Compliant: Built on the official MCP SDK with stdio transport

  • Bilingual: All documentation available in both English and Chinese

  • TypeScript: Full type safety and modern ES module implementation

  • Lightweight: Minimal dependencies, fast startup

  • Extensible: Clean architecture for easy addition of new tools

Quick Start

Prerequisites

Install & Configure

  1. Clone the repository:

git clone https://github.com/ZengZichao/gcType-MCP.git
cd gcType-MCP
  1. Install dependencies and build:

npm install
npm run build
  1. Configure your MCP client:

Add the following to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):

{
  "mcpServers": {
    "gctype": {
      "command": "node",
      "args": ["/path/to/gcType-MCP/dist/index.js"]
    }
  }
}

Replace /path/to/gcType-MCP/dist/index.js with the actual absolute path to the built server.

  1. Restart your AI client and start asking questions about microbial type strains!

Installation

From Source

git clone https://github.com/ZengZichao/gcType-MCP.git
cd gcType-MCP
npm install
npm run build

Using npx (coming soon)

npx gctype-mcp

Configuration

MCP Client Configuration

The gcType-MCP server uses stdio transport and requires no additional configuration files. Simply point your MCP client to the built server entry point.

Claude Desktop

Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "gctype": {
      "command": "node",
      "args": ["C:\\path\\to\\gcType-MCP\\dist\\index.js"]
    }
  }
}

Cursor / VS Code

Add to your MCP settings:

{
  "mcpServers": {
    "gctype": {
      "command": "node",
      "args": ["/path/to/gcType-MCP/dist/index.js"]
    }
  }
}

Environment Variables

The server works without any environment variables. The following options are available for customization (via code constants in src/config.ts):

Option

Default

Description

BASE_URL

https://gctype.wdcm.org

gcType website base URL

REQUEST_TIMEOUT

30000

HTTP request timeout (ms)

MAX_RESULTS

50

Maximum results to return

DEFAULT_PAGE_SIZE

20

Default results per page

Available Tools

The gcType-MCP server provides 13 tools:

Search & Browse

Tool

Description

search_type_strains

Search type strains by species name, strain number, or genome accession

browse_data_category

Browse data by category (valid species, type strains, genomes, etc.)

get_genome_info

Get genome information by accession number

search_16s_rdna

Search 16S rDNA sequences by species name

Functional Annotations

Tool

Description

query_function_annotation

Query functional annotation data (core genome, prophage, defense system, etc.)

Discovery & Metadata

Tool

Description

get_statistics

Get database statistics

get_project_info

Get gcType project information

list_data_categories

List all available data categories

list_function_categories

List all functional annotation categories

list_available_tools

List analysis tools on the gcType platform

Policy & Citation

Tool

Description

get_download_info

Get data download information

get_data_usage_policy

Get data usage policy

get_citation

Get citation information

For detailed tool schemas and parameters, see the Tools Documentation.

Usage Examples

Example 1: Search for a Type Strain

Ask your AI assistant:

"Search the gcType database for Streptomyces rubiginosus"

The AI will use the search_type_strains tool:

{
  "query": "Streptomyces rubiginosus",
  "searchType": "species_name"
}

Example 2: Browse Type Strain Genomes

"Show me the type strain genomes available in gcType"

The AI will use the browse_data_category tool:

{
  "category": "type_strain_genomes"
}

Example 3: Query Antibiotic Resistance Data

"What antibiotic resistance genes are available in gcType?"

The AI will use the query_function_annotation tool:

{
  "category": "antibiotics_resistance"
}

Example 4: Search 16S rDNA Sequences

"Find 16S rDNA sequences for Escherichia coli"

The AI will use the search_16s_rdna tool:

{
  "speciesName": "Escherichia coli"
}

Example 5: Get Database Statistics

"How many species and genomes are in the gcType database?"

The AI will use the get_statistics tool.

Project Structure

gcType-MCP/
├── src/
│   ├── index.ts          # MCP server entry point
│   ├── config.ts         # Configuration constants and URL mappings
│   ├── api.ts            # gcType API client
│   ├── tools.ts          # MCP tool definitions
│   └── types.ts          # TypeScript type definitions
├── docs/
│   ├── installation.md       # Installation guide (English)
│   ├── installation.zh.md    # Installation guide (Chinese)
│   ├── tools.md              # Tools reference (English)
│   ├── tools.zh.md           # Tools reference (Chinese)
│   ├── architecture.md       # Architecture documentation (English)
│   └── architecture.zh.md    # Architecture documentation (Chinese)
├── package.json
├── tsconfig.json
├── .gitignore
├── .npmignore
├── LICENSE
├── README.md             # English README
├── README.zh.md          # Chinese README
├── CHANGELOG.md          # English changelog
├── CHANGELOG.zh.md       # Chinese changelog
└── eslint.config.js

Development

Building

npm run build

This compiles TypeScript to JavaScript in the dist/ directory.

Development Mode

npm run dev

Runs the server using tsx for hot-reload during development.

Type Checking

npm run typecheck

Linting

npm run lint
npm run lint:fix

Testing the Server

After building, you can test the server by running:

npm start

The server communicates via stdio. You can send MCP protocol messages to stdin and receive responses on stdout.

Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository

  2. Create a feature branch: git checkout -b feature/my-feature

  3. Commit your changes: git commit -am 'Add my feature'

  4. Push to the branch: git push origin feature/my-feature

  5. Open a Pull Request

Guidelines

  • Follow the existing code style (TypeScript, ES modules)

  • Add bilingual documentation (English and Chinese) for any new features

  • Update the CHANGELOG files

  • Ensure npm run typecheck and npm run lint pass

  • Test your changes with an MCP-compatible AI client

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


Available Tools

13 tools
browse_data_categoryB

Browse data by category in the gcType database. Available categories include: valid_published_species, type_strains, type_strains_by_collection, type_strain_genomes, 16s_rdna_sequences, gcm_10k_genomes, novel_species_genomes. Returns the URL and metadata for the selected data category.

在 gcType 数据库中按类别浏览数据。可用类别包括:有效发表物种、模式菌株、按菌种保藏中心分类的模式菌株、模式菌株基因组、16S rDNA 序列、GCM 万株基因组、新种基因组。

Inputs: category (required), page.

get_citationA

Get citation information for the gcType database. When using data from gcType, proper citation is required.

获取 gcType 数据库的引用信息。使用 gcType 数据时需要正确引用。

Inputs: no named parameters.

get_data_usage_policyA

Get the data usage policy for the gcType database. Outlines terms for academic and commercial use, citation requirements, and redistribution restrictions.

获取 gcType 数据库的数据使用政策。概述了学术和商业使用条款、引用要求和再分发限制。

Inputs: no named parameters.

get_download_infoB

Get information about downloading data from the gcType database, including the download page URL and data usage guidelines.

获取从 gcType 数据库下载数据的信息,包括下载页面 URL 和数据使用指南。

Inputs: no named parameters.

get_genome_infoB

Get genome information by accession number from the gcType database. Provides accession number, species name, genome size, GC content, and assembly details.

按登录号从 gcType 数据库获取基因组信息。提供登录号、物种名称、基因组大小、GC含量和组装详情。

Inputs: accession (required).

get_project_infoA

Get information about the gcType project, including its description, organization, and contact details. The gcType database is operated by WDCM (World Data Centre for Microorganisms) and NMDC (National Microbiology Data Center).

获取 gcType 项目信息,包括描述、组织和联系方式。gcType 数据库由 WDCM(世界微生物数据联盟)和 NMDC(国家微生物数据云)运营。

Inputs: no named parameters.

get_statisticsA

Get statistics about the gcType database, including counts of species, type strains, genomes, and sequencing progress. The database covers data from 20+ culture collections across 14 countries and regions.

获取 gcType 数据库的统计信息,包括物种数、模式菌株数、基因组数和测序进度。该数据库涵盖来自14个国家和地区的20多个菌种保藏中心的数据。

Inputs: no named parameters.

list_available_toolsB

List all available analysis tools on the gcType platform, including genome analysis, species identification, and structure-based alignment of protein sequences.

列出 gcType 平台上所有可用的分析工具,包括基因组分析、物种鉴定和蛋白质序列结构比对。

Inputs: no named parameters.

list_data_categoriesA

List all available data categories in the gcType database with their URLs and descriptions. Useful for discovering what types of data are available for browsing.

列出 gcType 数据库中所有可用的数据类别及其 URL 和描述。用于发现可浏览的数据类型。

Inputs: no named parameters.

list_function_categoriesA

List all available functional annotation categories in the gcType database with their URLs and descriptions. Categories include core genome, prophage, defense system, mobile genetic elements, antibiotics resistance, virulence factors, and biosynthetic gene clusters.

列出 gcType 数据库中所有可用的功能注释类别及其 URL 和描述。类别包括核心基因组、原噬菌体、防御系统、可移动遗传元件、抗生素抗性、毒力因子和生物合成基因簇。

Inputs: no named parameters.

query_function_annotationB

Query functional annotation data in the gcType database. Available function categories include: core_genome, prophage, defense_system, mobile_genetic_elements, antibiotics_resistance, virulence_factors, biosynthetic_gene_clusters. Optionally filter by species name.

在 gcType 数据库中查询功能注释数据。可用功能类别包括:核心基因组、原噬菌体、防御系统、可移动遗传元件、抗生素抗性、毒力因子、生物合成基因簇。可按物种名称筛选。

Inputs: category (required), speciesName.

search_16s_rdnaB

Search 16S rDNA sequences in the gcType database by species name. 16S rDNA sequences are commonly used for bacterial and archaeal species identification and phylogenetic analysis.

按物种名称在 gcType 数据库中搜索 16S rDNA 序列。16S rDNA 序列常用于细菌和古菌的物种鉴定和系统发育分析。

Inputs: speciesName (required).

search_type_strainsC

Search the gcType database for type strains by species name, strain number, or genome accession. The gcType database contains comprehensive information about microbial type strains including bacteria, archaea, and fungi. Example: search_type_strains with query='Streptomyces rubiginosus' and searchType='species_name'.

在 gcType 数据库中按物种名称、菌株编号或基因组登录号搜索模式菌株。gcType 数据库包含细菌、古菌和真菌等微生物模式菌株的全面信息。示例:search_type_strains with query='Streptomyces rubiginosus' and searchType='species_name'。

Inputs: query (required), page, pageSize, searchType.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools target clearly distinct resources or actions, such as searching type strains versus retrieving genome info. There is mild potential confusion between list_data_categories and browse_data_category, and between list_function_categories and query_function_annotation, but the descriptions clarify the intended use.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern, using list_*, get_*, search_*, browse_*, and query_* prefixes. No mixed casing or inconsistent verb styles are present.

    Tool Count5/5

    The 13-tool set is well within the appropriate range for a read-only database MCP server. Each tool appears to cover a distinct discovery, search, retrieval, or metadata need without excessive redundancy.

    Completeness4/5

    The surface covers the core workflows: searching type strains and 16S sequences, retrieving genome info, querying functional annotations, browsing categories, and accessing statistics/policy/citation information. Minor gaps remain, such as no direct detailed type-strain record retrieval beyond search results and no actual bulk-data download operation.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying NCBI genome assemblies, gene details with cross-references, and taxonomy trees with per-node assembly and gene counts, providing structured answers about genomes, genes, and taxonomy.
      90 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables LLM-powered applications to look up bacterial and archaeal taxonomy, search genomes, browse and navigate the taxonomic tree, and compare genomes or find phylogenetic paths between taxa. It works out of the box with a built-in reference dataset covering major phyla and can be pointed at full Genome Taxonomy Database TSV files for comprehensive queries.
      12
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      7
      1
      MIT