Paper2MCP v2 Verified Deliverable

Accurate, scalable and cross-platform cell identification for high-resolution spatial transcriptomics.

期刊:Nature Genetics (2026-05-20) · DOI:10.1038/s41588-026-02610-1 · 开源许可:GPL-3.0 (allowed)

上游仓库:https://github.com/wanglabtongji/Cellist @ 87a61a2aff87

Pytest: passed MCP Stdio Selftest: passed Relocated Fresh Install: passed

一、一键安装与 MCP 接入(本地 / 远程统一接口)

# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip cellist-mcp.zip && cd cellist-mcp
bash install.sh
.venv/bin/python selftest.py

# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add cellist -- "$PWD/.venv/bin/python" "$PWD/server.py"

# 3. 或启动远程 Streamable HTTP MCP 服务端供团队/网页直接调用
.venv/bin/python server.py --transport http --host 0.0.0.0 --port 8000

二、已验证科学工具清单(5 个工具)

cellist_bin_and_enhance_spots MCP Verified ✓

Aggregate high-resolution ST GEM transcripts into spatial bins and optionally perform inverse-square-distance expression enhancement.

Selftest Summary: Binned 203933 GEM rows into 1667 spots (bin=2, 508 genes).
Metrics: {"n_raw_rows": 203933, "n_binned_spots": 1667, "n_genes": 508, "bin_size": 2, "total_counts": 225848.0, "raw_nonzero_entries": 178138, "enhanced_nonzero_entries": 529014}
cellist_watershed_nuclei MCP Verified ✓

Perform multi-Otsu and local thresholding followed by distance-transform watershed nucleus segmentation on staining images.

Selftest Summary: Segmented 144 nuclei (2232 nuclear spots) via Cellist Watershed.
Metrics: {"n_nuclei": 144, "n_nucleus_spots": 2232, "n_total_spots": 2892, "mean_nucleus_area": 45.38, "median_nucleus_diameter": 7.57, "n_bin1_spots": 2892, "n_genes": 508}
cellist_segment_cells MCP Verified ✓

Run Cellist multi-modal whole-cell segmentation by jointly modeling gene expression correlation and spatial proximity around segmented nuclei.

Selftest Summary: Cellist segmented 144 cells covering 2793 spots (median nucl-cyto r=0.2794).
Metrics: {"cell_num": 144, "nspot_nucleus": 2232, "nspot_all": 2793, "nspot_avg": 19, "cytoplasm_spots_assigned": 561, "nucl_cyto_corr_median": 0.2794, "extra_count_layers": ["EXONIC", "INTRONIC"]}
cellist_impute_expression MCP Verified ✓

Perform spatially-aware within-cluster gene expression imputation combining PCA transcriptional affinity and spatial coordinate affinity via Annoy kNN trees.

Selftest Summary: Imputed expression across 144 cells into 3 spatial Louvain clusters (density 0.880 -> 1.000).
Metrics: {"n_cells_input": 144, "n_genes_input": 508, "n_cells_retained": 144, "n_genes_retained": 508, "n_louvain_clusters_imputed": 3, "nonzero_fraction_before": 0.8801, "nonzero_fraction_after": 1.0}
cellist_evaluate_homogeneity MCP Verified ✓

Evaluate within-cell transcriptional homogeneity via nucleus-vs-cytoplasm and random half-cell split HVG Pearson correlations.

Selftest Summary: Evaluated 143 cells: median nucl-cyto r=0.3137, random-split r=0.4066.
Metrics: {"seg_col": "Cellist", "n_hvg_used": 300, "n_cells_nucl_cyto": 143, "nucl_cyto_corr_median": 0.3137, "nucl_cyto_corr_mean": 0.3185, "n_cells_random_split": 144, "random_split_corr_median": 0.4066, "random_split_corr_mean": 0.4043}

三、实测复现结果图展示

01_cellist_segmentation_overview.png
02_within_cell_homogeneity_qc.png
03_spatial_domains_imputation.png