About cafferychen777/ChatSpatial
cafferychen777/ChatSpatial is an MCP server published by cafferychen777 in the Developer Tools category: mCP server for spatial transcriptomics analysis through natural language interfaces. Conduid read 20 tools from its source: analyze_cell_communication, analyze_cnv, analyze_enrichment, analyze_spatial_statistics, analyze_trajectory_data, analyze_velocity_data and 14 more. It is published to PyPI as chatspatial and runs with uvx.
The repository has 49 stars and 13 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.5.10 (12 Oct 2026). It follows v1.5.9 (10 Oct 2026), and the 5 most recent releases go back to v1.5.6 (9 Oct 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include genomics, devtools, cell-communication, deconvolution, llm-agent and computational-biology.
Install
uvx chatspatialpip install chatspatialgit clone https://github.com/cafferychen777/ChatSpatialTools (20)
analyze_cell_communicationAnalyze cell-cell communication and ligand-receptor interaction patterns.analyze_cnvAnalyze copy number variations (CNVs) in spatial transcriptomics data.analyze_enrichmentPerform gene set enrichment analysis.analyze_spatial_statisticsAnalyze spatial statistics and autocorrelation patterns.analyze_trajectory_dataInfer cellular trajectories and pseudotime ordering.analyze_velocity_dataAnalyze RNA velocity to understand cellular dynamics. Requires 'spliced' and 'unspliced' layers.annotate_cell_typesAnnotate cell types in spatial transcriptomics data.compare_conditionsCompare experimental conditions using pseudobulk differential expression (DESeq2).compute_embeddingsCompute dimensionality reduction (PCA, UMAP), clustering, and neighbor graphs.deconvolve_dataDeconvolve spatial spots to estimate cell type proportions.export_dataExport dataset to disk for external script access.find_markersFind differentially expressed genes between groups.find_spatial_genesIdentify spatially variable genes.identify_spatial_domainsIdentify spatial domains and tissue architecture.integrate_samplesIntegrate multiple spatial transcriptomics samples into a unified dataset.load_dataLoad spatial transcriptomics data with comprehensive metadata profile.preprocess_dataRun QC, filtering, normalization, and highly variable gene selection.register_spatial_dataRegister/align spatial transcriptomics data across sectionsreload_dataReload dataset from disk after external script modifications.visualize_dataVisualize spatial transcriptomics data. Set plot_type and subtype in params; see VisualizationParameters schema for all options.Security checks
- ✓README presentThe repository's README runs to about 924 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- !No dynamic code executionScanned 66 source files and found 1 call to eval or shell execution, in chatspatial/utils/compute.py. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 924 words, fetched a month ago. The original in the repository is authoritative.
Read full README