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 for Python/uv setup, or Docker Guide for the GHCR image
- Configure your MCP client — Configuration Guide
- Run your first analysis — Quick Start
Docker quick start:
docker pull ghcr.io/cafferychen777/chatspatial:latest
Minimal example prompt:
Load /absolute/path/to/spatial_data.h5ad and show me the tissue structure
If you use Docker, mount host data to /data and prompt with the container path, for example /data/spatial_data.h5ad.
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 |
| Docker | GHCR image, volume mounts, and container-backed MCP setup |
| 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.
関連サーバー
httpay x402 MCP Server
MCP server exposing 90+ crypto API tools with automatic x402 USDC micropayment handling — gas oracle, token lookup, wallet risk analysis, market mood, and more on Base.
Bazi
An MCP server for accessing Bazi (Chinese astrology) data, requiring an API key.
aibtc-mcp-server
Bitcoin-native MCP server for AI agents: BTC/STX wallets, DeFi yield, sBTC peg, NFTs, and x402 payments.
Earnings Feed
SEC filings and insider trades in real-time. 10-K, 10-Q, 8-K, Form 4, and company lookup.
Pace
Pace is the first MCP connector that brings wearable health data directly into Claude — no third-party dashboards, no manual exports, no extra apps. Most health apps lock your data behind their own UI. Pace breaks that wall: connect once, and Claude can analyze your sleep, activity, workouts, nutrition and recovery in natural language — with full visualizations inline.
AgentBazaar
A2A marketplace with 1800+ AI agents. Search, invoke, trade capabilities, datasets, prompts.
Food Recipe MCP
Semantic search across 50,000+ Food.com recipes, filter by diet, cooking time and difficulty.
PromptScan
Prompt injection detection API for AI agents — scan untrusted text before passing it to an LLM.
myinstants-mcp
A soundboard MCP server with millions of meme sounds from myinstants.com — search, play, and browse categories. npx myinstants-mcp to get started.
UPS MCP Server
An MCP server for accessing UPS shipping and logistics services.