Skip to main content
Glama

SCMCP

自然言語による scRNA-Seq 解析のための MCP サーバーです。

🪩 何ができるの?

  • 自然言語でscRNA-Seqデータの読み書きを行うIOモジュール

  • フィルタリング、品質管理、正規化、スケーリング、高度に可変的な遺伝子、PCA、近傍などの前処理モジュール。

  • クラスタリング、差分発現などのツール モジュール。

  • バイオリン、ヒートマップ、ドットプロットなどのプロットモジュール

  • 細胞間コミュニケーション解析

Related MCP server: SCMCP

❓ これは誰向けですか?

  • scRNA-Seq解析を自然言語でやりたい方!

  • アプリケーションでスキャンピーの関数を呼び出したいエージェント開発者

🌐 どこで使えますか?

MCP をサポートするほとんどの AI クライアント、プラグイン、またはエージェント フレームワークで scmcp を使用できます。

  • Cherry StudioのようなAIクライアント

  • Clineのようなプラグイン

  • Agnoのようなエージェントフレームワーク

🎬 デモ

scmcpに基づく自然言語を使用したAIクライアントCherry StudioでのscRNA-Seq細胞クラスター解析を示すデモ

https://github.com/user-attachments/assets/93a8fcd8-aa38-4875-a147-a5eeff22a559

🏎️ クイックスタート

インストール

PyPIからインストール

pip install scmcp

実行することでテストできます

scmcp run

scnapy-serverをローカルで実行する

MCP クライアントで次の構成を参照してください。

"mcpServers": {
  "scmcp": {
    "command": "scmcp",
    "args": [
      "run"
    ]
  }
}

scnapy-serverをリモートで実行する

MCP クライアントで次の構成を参照してください。

サーバーで実行する

scmcp run --transport sse --port 8000

次に、MCP クライアントを次のように構成します。

http://localhost:8000/sse

🤝 貢献する

ご質問がありましたら、issue をご提出いただくか、 hsh-me@ outlook.com までご連絡ください。コードへの貢献も歓迎いたします。

Available Tools

52 tools
calculate_qc_metricsC

Calculate quality control metrics(common metrics: total counts, gene number, percentage of counts in ribosomal and mitochondrial) for AnnData.

Inputs: expr_type, var_type, qc_vars, percent_top, +3 more.

cccC

Cell-cell communication analysis with one method (cellphonedb, cellchat,connectome, natmi, etc.)

Inputs: groupby (required), method, resource_name, expr_prop, +13 more.

ccc_circle_plotC

Visualize cell-cell communication network using a circular plot.

Inputs: uns_key, groupby, source_key, target_key, +22 more.

ccc_dot_plotC

Visualize cell-cell communication interactions using a dotplot.

Inputs: uns_key, specificity_cutoff, colour, size, +13 more.

ccc_rank_aggregateC

Get an aggregate of ligand-receptor scores from multiple Cell-cell communication methods.

Inputs: groupby (required), resource_name, expr_prop, min_cells, +9 more.

check_geneA

Check if genes exist in adata.var_names. This tool should be called before gene expression visualizations or color by genes.

Inputs: var_names.

combatC

ComBat function for batch effect correction

Inputs: key, covariates.

dendrogramC

Hierarchical clustering dendrogram

Inputs: groupby (required), n_pcs, use_rep, var_names, +5 more.

diffmapC

Diffusion Maps for dimensionality reduction

Inputs: n_comps, neighbors_key, random_state.

dptC

Diffusion Pseudotime (DPT) analysis

Inputs: n_dcs, n_branchings, min_group_size, allow_kendall_tau_shift, +1 more.

draw_graphC

Force-directed graph drawing for visualization

Inputs: layout, init_pos, root, random_state, +4 more.

embedding_densityC

Calculate the density of cells in an embedding

Inputs: basis, groupby, key_added, components.

filter_cellsC

Filter cells based on counts and numbers of genes expressed.

Inputs: min_counts, min_genes, max_counts, max_genes.

filter_genesC

Filter genes based on number of cells or counts

Inputs: min_counts, min_cells, max_counts, max_cells.

filter_rank_genes_groupsC

Filter out genes based on fold change and fraction of genes

Inputs: key, groupby, use_raw, key_added, +4 more.

highly_variable_genesC

Annotate highly variable genes

Inputs: layer, n_top_genes, min_disp, max_disp, +8 more.

ingestC

Map labels and embeddings from reference data to new data

Inputs: obs, embedding_method, labeling_method, neighbors_key.

leidenC

Leiden clustering algorithm for community detection

Inputs: resolution, random_state, key_added, directed, +6 more.

list_obsB

List key columns in adata.obs. It should be called before other tools need obs key column names input

Inputs: no named parameters.

list_varA

list key columns in adata.var. it should be called for checking when other tools need var key column names input

Inputs: no named parameters.

log1pC

Logarithmize the data matrix (X = log(X + 1))

Inputs: base, chunked, chunk_size, layer, +1 more.

louvainC

Louvain clustering algorithm for community detection

Inputs: resolution, random_state, key_added, flavor, +5 more.

ls_ccc_methodB

List cell-cell communication method.

Inputs: no named parameters.

marker_gene_overlapC

Calculate overlap between data-derived marker genes and reference markers

Inputs: key, method, normalize, top_n_markers, +2 more.

mark_varA

Determine if each gene meets specific conditions and store results in adata.var as boolean values.for example: mitochondrion genes startswith MT-.the tool should be call first when calculate quality control metrics for mitochondrion, ribosomal, harhemoglobin genes. or other qc_vars

Inputs: var_name, pattern_type, patterns, gene_class.

merge_adataD

merge multiple adata

Inputs: axis, join, merge, uns_merge, +5 more.

neighborsC

Compute nearest neighbors distance matrix and neighborhood graph

Inputs: n_neighbors, n_pcs, use_rep, knn, +6 more.

normalize_totalC

Normalize counts per cell to the same total count

Inputs: target_sum, exclude_highly_expressed, max_fraction, key_added, +4 more.

pagaD

Partition-based graph abstraction

Inputs: groups, use_rna_velocity, model, neighbors_key.

pcaC

Principal component analysis

Inputs: n_comps, layer, zero_center, svd_solver, +4 more.

pl_dotplotC

Plot dot plot of expression values per gene for each group.

Inputs: groupby (required), figsize, color_map, palette, +25 more.

pl_embeddingC

Scatter plot for user specified embedding basis (e.g. umap, tsne, etc).

Inputs: basis (required), figsize, color_map, palette, +38 more.

pl_heatmapD

Heatmap of the expression values of genes.

Inputs: groupby (required), figsize, color_map, palette, +20 more.

pl_highly_variable_genesC

plot highly variable genes; Plot dispersions or normalized variance versus means for genes.

Inputs: figsize, color_map, palette, vmax, +8 more.

pl_matrixplotC

matrixplot, Create a heatmap of the mean expression values per group of each var_names.

Inputs: groupby (required), figsize, color_map, palette, +21 more.

pl_pcaD

Scatter plot in PCA coordinates. default figure for PCA plot

Inputs: figsize, color_map, palette, vmax, +26 more.

pl_pca_variance_ratioC

Plot the PCA variance ratio to visualize explained variance.

Inputs: figsize, color_map, palette, vmax, +8 more.

pl_rank_genes_groups_dotplotC

Plot ranking of genes(DEGs) using dotplot visualization. Defualt plot DEGs for rank_genes_groups tool

Inputs: groupby (required), figsize, color_map, palette, +20 more.

pl_scatterC

Plot a scatter plot of two variables, Scatter plot along observations or variables axes.

Inputs: figsize, color_map, palette, vmax, +19 more.

pl_stacked_violinC

Plot stacked violin plots. Makes a compact image composed of individual violin plots stacked on top of each other.

Inputs: figsize, color_map, palette, vmax, +18 more.

pl_tracksplotC

tracksplot,compact plot of expression of a list of genes..

Inputs: groupby (required), figsize, color_map, palette, +15 more.

pl_violinC

Plot violin plot of one or more variables.

Inputs: keys (required), figsize, color_map, palette, +22 more.

rank_genes_groupsC

Rank genes for characterizing groups, perform differentially expressison analysis

Inputs: groupby (required), mask_var, use_raw, groups, +9 more.

read_toolC

Read data from various file formats (h5ad, 10x, text files, etc.) or directory path.

Inputs: filename (required), sampleid, backed, sheet, +11 more.

regress_outC

Regress out (mostly) unwanted sources of variation.

Inputs: keys (required), layer, n_jobs.

scaleC

Scale data to unit variance and zero mean

Inputs: zero_center, max_value, layer, obsm, +1 more.

score_genesC

Score a set of genes based on their average expression

Inputs: ctrl_size, gene_pool, n_bins, score_name, +2 more.

score_genes_cell_cycleC

Score cell cycle genes and assign cell cycle phases

Inputs: s_genes (required), g2m_genes (required), gene_pool, n_bins, +3 more.

scrubletC

Predict doublets using Scrublet

Inputs: adata_sim, batch_key, sim_doublet_ratio, expected_doublet_rate, +11 more.

tsneC

t-distributed stochastic neighborhood embedding (t-SNE), for visualizating single-cell data

Inputs: n_pcs, use_rep, perplexity, early_exaggeration, +5 more.

umapC

Uniform Manifold Approximation and Projection (UMAP) for visualization

Inputs: min_dist, spread, n_components, maxiter, +9 more.

write_toolC

Write AnnData objects to file.

Inputs: filename (required), ext, compression, compression_opts.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 52 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific single-cell analysis tasks, but some overlap exists in visualization tools (e.g., pl_dotplot vs ccc_dot_plot) and clustering algorithms (leiden vs louvain) that could cause confusion. Descriptions generally help clarify differences, but the sheer number of tools increases potential for misselection.

    Naming Consistency3/5

    The naming follows mixed conventions: many use verb_noun patterns (filter_cells, calculate_qc_metrics), but others use abbreviations (ccc, pca, tsne) or prefix patterns (pl_ for plotting tools). While readable, the inconsistency between descriptive names and technical abbreviations creates a fragmented naming scheme.

    Tool Count2/5

    With 52 tools, this server is overloaded for a single-cell analysis domain. While comprehensive, the count far exceeds typical well-scoped servers (3-15 tools), making it difficult for agents to navigate and increasing cognitive load. A more modular approach would be more appropriate.

    Completeness5/5

    The tool set provides exceptionally complete coverage of single-cell analysis workflows, including data I/O (read_tool, write_tool), preprocessing (filtering, normalization), analysis (clustering, differential expression, cell-cell communication), and visualization. No obvious gaps exist for core single-cell analysis tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables scRNA-Seq analysis through natural language, providing tools for data preprocessing, clustering, and biological visualization. It supports both predefined function execution and a flexible code mode powered by a Jupyter backend for automated single-cell transcriptomics workflows.
      16
      BSD 3-Clause
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides a natural language interface for single-cell RNA-Seq analysis using the decoupleR framework. It enables users to perform biological pathway inference, data clustering, and visualization through MCP-compatible AI clients.
      4
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language interaction for scRNA-Seq analysis including preprocessing, clustering, and visualization using the CellRank library. It allows users and agents to perform complex genomic data tasks through standard MCP clients and frameworks.
      2
      -