ChatSpatial
MCP server for spatial transcriptomics analysis with 60+ integrated methods
ChatSpatial replaces ad-hoc LLM code generation with schema-enforced orchestration. Instead of generating arbitrary scripts, the LLM selects tools and parameters from a curated registry, making spatial transcriptomics workflows more reproducible across sessions and clients.
It exposes 60+ spatial transcriptomics methods as MCP tools, so any MCP-compatible client can analyze data through natural language.
Start Here
- Install ChatSpatial — Installation Guide
- Configure your MCP client — Configuration Guide
- Run your first analysis — Quick Start
Minimal example prompt:
Load /absolute/path/to/spatial_data.h5ad and show me the tissue structure
ChatSpatial works with any MCP-compatible client — Claude Code, Claude Desktop, Codex, OpenCode, and other MCP-capable tools.
Capabilities
60+ methods across 11 categories. Supports 10x Visium, Xenium, Slide-seq v2, MERFISH, seqFISH.
| Category | Methods |
|---|---|
| Spatial Domains | SpaGCN, STAGATE, GraphST, BANKSY, Leiden, Louvain |
| Deconvolution | FlashDeconv, Cell2location, RCTD, DestVI, Stereoscope, SPOTlight, Tangram, CARD |
| Cell Communication | LIANA+, CellPhoneDB, CellChat (cellchat_r), FastCCC |
| Cell Type Annotation | Tangram, scANVI, CellAssign, mLLMCelltype, scType, SingleR |
| Differential Expression | Wilcoxon, t-test, Logistic Regression, pyDESeq2 |
| Trajectory & Velocity | CellRank, Palantir, DPT, scVelo, VeloVI |
| Spatial Statistics | Moran's I, Local Moran, Geary's C, Getis-Ord Gi*, Ripley's K, Co-occurrence, Neighborhood Enrichment, Centrality Scores, Local Join Count, Network Properties |
| Enrichment | GSEA, ORA, Enrichr, ssGSEA, Spatial EnrichMap |
| Spatial Genes | SpatialDE, SPARK-X, FlashS |
| Integration | Harmony, BBKNN, Scanorama, scVI |
| Other | CNV Analysis (InferCNVPy, Numbat), Spatial Registration (PASTE, STalign) |
Documentation
| Guide | Owns |
|---|---|
| Installation | Environment setup, package install, platform notes |
| Quick Start | First successful analysis after setup |
| Concepts | Method selection and analysis reasoning |
| Examples | Prompt recipes and workflow examples |
| Configuration | Exact MCP client configuration syntax |
| Troubleshooting | Symptom → fix guidance |
| Methods Reference | Canonical tool parameters and defaults |
| Full Docs | Complete documentation site |
Citation
If you use ChatSpatial in your research, please cite:
@article{Yang2026.02.26.708361,
author = {Yang, Chen and Zhang, Xianyang and Chen, Jun},
title = {ChatSpatial: Schema-Enforced Agentic Orchestration for Reproducible and Cross-Platform Spatial Transcriptomics},
elocation-id = {2026.02.26.708361},
year = {2026},
doi = {10.64898/2026.02.26.708361},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2026/03/01/2026.02.26.708361},
journal = {bioRxiv}
}
ChatSpatial orchestrates many excellent third-party methods. Please also cite the original tools your analysis used.
Contributing
Documentation improvements, bug reports, and new analysis methods are all welcome. See CONTRIBUTING.md.
Related Servers
MCP Minecraft Remote
Remotely control a Minecraft Java Edition server using the Model Context Protocol (MCP).
Meme MCP Server
Generate memes using the ImgFlip API. Requires ImgFlip account credentials.
Wazuh MCP Server
AI-powered security operations with Wazuh SIEM + Claude Desktop. Natural language threat detection, automated incident response & compliance.
Toreva
Non-custodial DeFi execution primitives for Solana. Best-execution routing for perpetual futures across Jupiter Perps, Pacifica, Drift, and Flash Trade. 1 bps fee to open. Everything else is free. 20 MCP tools for perps, yield, scanning, simulation, and execution.
Drainbrain
AI-powered Solana token rug pull detection with ML ensemble scoring, honeypot detection, and temporal rug stage prediction.
Flightradar24
Track flights in real-time using Flightradar24 data.
OP.GG
Access real-time gaming data across popular titles like League of Legends, TFT, and Valorant, offering champion analytics, esports schedules, meta compositions, and character statistics.
AbuseIpDB MCP Server
A Model Context Protocol (MCP) server implementation that provides seamless integration with the AbuseIPDB API for IP reputation checking and abuse report management.
MCP Claude Spotify
An integration for Claude Desktop to interact with Spotify using the Model Context Protocol (MCP).
Fiken MCP Server
MCP server for Fiken — Norway's popular accounting software. Manage invoices, contacts, journal entries, and bank accounts via AI agents.