
ChatSpatial
by cafferychen777·★ 37·Score 47
MCP server for spatial transcriptomics analysis through natural language interfaces.
Overview
ChatSpatial is a specialized MCP server designed for spatial transcriptomics analysis, replacing ad-hoc LLM code generation with schema-enforced orchestration. It exposes 20 schema-validated MCP tools that orchestrate 65 spatial transcriptomics methods across 15 analytical categories. The project provides a stable natural-language interface where users can work with spatial data through simple prompts rather than writing complex scripts, making spatial transcriptomics workflows more reproducible across sessions and clients.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Researchers working with spatial transcriptomics data who need reproducible, cross-platform analysis through natural language interfaces without writing custom scripts.
When NOT to choose this
Users needing specialized analysis methods not covered by the 15 available categories, or those requiring direct access to raw data manipulation beyond the schema-enforced orchestration.
Tools this server exposes
12 tools extracted from the READMEload_dataLoad spatial transcriptomics data from files like h5ad
show_tissue_structureVisualize tissue structure of loaded spatial data
spatial_domain_identificationIdentify spatial domains using methods like SpaGCN, STAGATE
deconvolutionPerform cell type deconvolution using methods like Cell2location
cell_cell_communicationAnalyze cell-cell communication with LIANA+ or CellPhoneDB
cell_type_annotationAnnotate cell types using methods like scANVI or SingleR
differential_expressionFind differentially expressed genes across conditions
trajectory_inferencePerform trajectory inference with CellRank or Palantir
spatial_statisticsCalculate spatial statistics like Moran's I or co-occurrence
enrichment_analysisPerform gene set enrichment analysis like GSEA
visualizationCreate spatial plots, embedding plots, and expression overlays
multi_sample_integrationIntegrate multiple samples using Harmony or BBKNN
Comparable tools
Installation
Installation
Python Installation
pip install chatspatialDocker Installation
docker pull ghcr.io/cafferychen777/chatspatial:v1.2.9Claude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"chatspatial": {
"command": "python",
"args": ["-m", "chatspatial", "run"]
}
}
}FAQ
- What spatial transcriptomics platforms does ChatSpatial support?
- ChatSpatial supports 10x Visium, Xenium, Slide-seq v2, MERFISH, and seqFISH platforms.
- How do I load my spatial data?
- Simply provide a natural language prompt like 'Load /absolute/path/to/spatial_data.h5ad and show me the tissue structure'. ChatSpatial will handle the data loading internally.
Compare ChatSpatial with
Last updated · Auto-generated from public README + GitHub signals.