SCMCP
⚠️ Wichtiger Hinweis : Dieses Repository wird nicht mehr gepflegt. Bitte besuchen Sie SCMCPHub für die neueste Version der MCP-Server.
SCMCP
Ein MCP-Server für die scRNA-Seq-Analyse mit natürlicher Sprache!
🪩 Was kann es?
IO-Modul wie Lesen und Schreiben von scRNA-Seq-Daten mit natürlicher Sprache
Vorverarbeitungsmodul, wie Filterung, Qualitätskontrolle, Normalisierung, Skalierung, hochvariable Gene, PCA, Nachbarn, …
Werkzeugmodul, wie Clustering, differentieller Ausdruck usw.
Plotmodul, wie Violine, Heatmap, Punktdiagramm
Analyse der Zell-Zell-Kommunikation
Related MCP server: SCMCP
❓ Für wen ist das?
Jeder, der scRNA-Seq-Analysen in natürlicher Sprache durchführen möchte!
Agentenentwickler, die Scanpy-Funktionen für ihre Anwendungen aufrufen möchten
🌐 Wo kann man es verwenden?
Sie können scmcp in den meisten KI-Clients, Plugins oder Agent-Frameworks verwenden, die MCP unterstützen:
KI-Clients wie Cherry Studio
Plugins wie Cline
Agenten-Frameworks wie Agno
🎬 Demo
Eine Demo, die die scRNA-Seq-Zellclusteranalyse in einem KI-Client Cherry Studio unter Verwendung natürlicher Sprache basierend auf scmcp zeigt
https://github.com/user-attachments/assets/93a8fcd8-aa38-4875-a147-a5eeff22a559
🏎️ Schnellstart
Installieren
Von PyPI installieren
pip install scmcpSie können es testen, indem Sie ausführen
scmcp runFühren Sie scanpy-server lokal aus
Beachten Sie die folgende Konfiguration in Ihrem MCP-Client:
"mcpServers": {
"scmcp": {
"command": "scmcp",
"args": [
"run"
]
}
}Führen Sie den Scanpy-Server remote aus
Beachten Sie die folgende Konfiguration in Ihrem MCP-Client:
Führen Sie es auf Ihrem Server aus
scmcp run --transport sse --port 8000Konfigurieren Sie dann Ihren MCP-Client wie folgt:
http://localhost:8000/sse🤝 Beitragen
Bei Fragen können Sie uns gerne ein Problem melden oder mich kontaktieren ( hsh-me@outlook.com ). Auch Codebeiträge sind willkommen!
Available Tools
52 toolscalculate_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
Scored across 52 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for querying BrainKB, a knowledge base for neuroscience knowledge graphs.
MCP server for VC pitch-deck scoring, thesis-fit matching, and deal-flow management.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- AlicenseBqualityBmaintenanceNatural language-driven spatial transcriptomics analysis via MCP. Integrates 60+ methods for preprocessing, visualization, spatial statistics, cell communication, deconvolution, and trajectory analysis.2049MIT
- AlicenseNot gradedqualityDmaintenanceAn 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.16BSD 3-Clause
- FlicenseNot gradedqualityDmaintenanceProvides 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-
- FlicenseNot gradedqualityDmaintenanceEnables 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-