
Other Tools
v1.0.3
active
chatspatial
io.github.cafferychen777/chatspatial
Natural language-driven spatial transcriptomics analysis with 60+ methods via MCP
Documentation
❌ Before
|
✅ After
|
Install
pip install chatspatial
Configure
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"chatspatial": {
"command": "python",
"args": ["-m", "chatspatial", "server"]
}
}
}
Claude Code:
claude mcp add chatspatial python -- -m chatspatial server
Restart Claude after configuration.
Use
Open Claude and chat:
Load /path/to/spatial_data.h5ad and show me the tissue structure
Identify spatial domains using SpaGCN
Find spatially variable genes and create a heatmap
Capabilities
| Category | Methods |
|---|---|
| Spatial Domains | SpaGCN, STAGATE, Leiden |
| Deconvolution | Cell2location, RCTD, Tangram, SPOTlight |
| Cell Communication | LIANA+, CellPhoneDB |
| Cell Type Annotation | Tangram, scANVI, CellAssign, mLLMCelltype |
| Trajectory | CellRank, Palantir, scVelo |
| Spatial Statistics | Moran's I, Getis-Ord Gi*, Ripley's K |
| Gene Set Enrichment | GSEA, ORA, Enrichr |
60+ methods across 12 categories. Supports 10x Visium, Xenium, Slide-seq v2, MERFISH, seqFISH.
Docs
- Installation Guide — detailed setup for all platforms
- Examples — step-by-step workflows
- Full Documentation — complete reference
Citation
@software{chatspatial2025,
title={ChatSpatial: Agentic Workflow for Spatial Transcriptomics},
author={Chen Yang and Xianyang Zhang and Jun Chen},
year={2025},
url={https://github.com/cafferychen777/ChatSpatial}
}
PYPI
chatspatialInstall Command
pip install chatspatial