MCP server for spatial transcriptomics analysis through natural language interfaces.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Mature repo (>1y old)
- ✓Documented (README)
claude mcp add chatspatial -- uvx chatspatial{
"mcpServers": {
"chatspatial": {
"command": "uvx",
"args": ["chatspatial"]
}
}
}Resumen de MCP Servers
<div align="center">
# ChatSpatial
**MCP server for spatial transcriptomics analysis via natural language**
[](https://doi.org/10.64898/2026.02.26.708361)
[](https://openreview.net/forum?id=xZ814yNaUW)
[](https://www.enar.org/meetings/spring2026/)
[](https://www.ibc2026.org/home)
[](https://github.com/cafferychen777/ChatSpatial/actions/workflows/ci.yml)
[](https://pypi.org/project/chatspatial/)
[](https://www.python.org/downloads/)
[](https://opensource.org/licenses/MIT)
[](https://docs.cafferyang.com/)
[](https://github.com/users/cafferychen777/packages/container/package/chatspatial)
</div>
<p align="center">
<img src="assets/images/overview.jpg" alt="ChatSpatial Overview" width="900">
</p>
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.
ChatSpatial exposes **20 schema-validated MCP tools** that orchestrate **66 spatial transcriptomics methods** across **15 analytical categories**. The tools are the stable natural-language interface; the methods are the analysis backends selected through tool parameters.
The server implements MCP `2026-07-28` through the official Python SDK v2 and
continues to serve `2025-11-25` clients through SDK-managed protocol negotiation.
STDIO remains the secure local default; Streamable HTTP is available for
explicitly configured HTTP deployments.
---
## Start Here
Install [`uv`](https://docs.astral.sh/uv/getting-started/installation/) once, then
register ChatSpatial without creating or managing a Python environment:
**Codex:**
```bash
codex mcp add chatspatial -- uvx --from chatspatial chatspatial server
```
**Claude Code:**
```bash
claude mcp add --scope user chatspatial -- \
uvx --from chatspatial chatspatial server
```
`uvx` creates an isolated environment on first launch and reuses its cache on
later launches. Restart the MCP client after adding the server.
The command above installs the standard runtime. To make all 15 composable
Python method families available in the same isolated MCP environment, use:
```bash
uvx --from 'chatspatial[full]' chatspatial server
```
`full` includes CellRank, FastCCC, the maintained spatial-domain and
registration backends, annotation, enrichment, and the other portable Python
families. R bridges, AESTETIK, and rctd-py remain separate because they have
system, platform, or large-runtime requirements. See the installation guide
before enabling those families.
Then:
1. **Run your first analysis** — [Quick Start](docs/quickstart.md)
2. **Choose optional method families or a persistent environment** — [Installation Guide](docs/installation.md)
3. **Configure another MCP client** — [Configuration Guide](docs/advanced/configuration.md)
4. **Inspect or reproduce the manuscript results** — [Reproducibility workspace](reproducibility/README.md)
**Docker quick start:**
```bash
docker pull ghcr.io/cafferychen777/chatspatial:v1.4.0
```
**Minimal example prompt:**
```text
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
Current coverage includes 66 methods across 15 analytical categories, exposed through 20 MCP tools. Supports 10x Visium, Xenium, Slide-seq v2, MERFISH, seqFISH.
| Category | Example methods |
|----------|---------|
| **Data Loading & Preprocessing** | Scanpy I/O, QC, Normalization, HVG, PCA, Neighbors |
| **Visualization** | Spatial plots, Embedding plots, Gene expression overlays |
| **Spatial Domain Identification** | SpaGCN, STAGATE, GraphST, BANKSY, AESTETIK, Leiden, Louvain |
| **Deconvolution** | FlashDeconv, Cell2location, RCTD (spacexr or rctd-py), DestVI, Stereoscope, SPOTlight, Tangram, CARD |
| **Cell-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 Inference** | CellRank, Palantir, DPT |
| **RNA Velocity** | 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 Analysis** | GSEA, ORA, Enrichr, ssGSEA, Spatial EnrichMap |
| **Spatially Variable Genes** | SpatialDE, SPARK-X, FlashS |
| **Multi-sample Integration** | Harmony, BBKNN, Scanorama, scVI |
| **CNV Analysis** | InferCNVPy, Numbat |
| **Spatial Registration** | PASTE, STalign |
---
## Documentation
| Guide | Use this when... |
|-------|------------------|
| [Installation](docs/installation.md) | You need optional methods or a persistent Python environment |
| [Docker](docs/docker.md) | You want a reproducible container runtime or local dependency resolution fails |
| [Configuration](docs/advanced/configuration.md) | You need exact MCP client syntax or the runtime path model |
| [Quick Start](docs/quickstart.md) | ChatSpatial is installed and you want the first successful analysis |
| [Concepts](docs/concepts.md) | You need to choose an analysis strategy from a biological question |
| [Examples](docs/examples.md) | You want copy-pasteable natural-language workflow prompts |
| [Methods Reference](docs/advanced/methods-reference.md) | You need canonical tool names, method names, parameters, and defaults |
| [Troubleshooting](docs/advanced/troubleshooting.md) | Setup, data loading, or analysis behavior is not working |
| [Full Docs](https://docs.cafferyang.com/) | You want the complete documentation site |
---
## Reproducibility
The manuscript experiment scripts, small aggregate result tables, and
supplementary tables are versioned in [`reproducibility/`](reproducibility/README.md).
Large datasets, raw provider checkpoints, generated analysis directories, and
manuscript source files are intentionally kept outside Git. The reproducibility
workspace documents both the manuscript-era package baseline and the
current-checkout development workflow so historical evidence is not silently
regenerated with a different ChatSpatial release.
---
## Citation
If you use ChatSpatial in your research, please cite:
```bibtex
@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](CONTRIBUTING.md).
<div align="center">
**MIT License** · [GitHub](https://github.com/cafferychen777/ChatSpatial) · [Issues](https://github.com/cafferychen777/ChatSpatial/issues)
</div>
<!-- mcp-name: io.github.cafferychen777/chatspatial -->
Lo que la gente pregunta sobre ChatSpatial
¿Qué es cafferychen777/ChatSpatial?
+
cafferychen777/ChatSpatial es mcp servers para el ecosistema de Claude AI. MCP server for spatial transcriptomics analysis through natural language interfaces. Tiene 44 estrellas en GitHub y su última actualización registrada es del 2026-10-08.
¿Cómo se instala ChatSpatial?
+
Puedes instalar ChatSpatial clonando el repositorio (https://github.com/cafferychen777/ChatSpatial) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar cafferychen777/ChatSpatial?
+
Nuestro agente de seguridad ha analizado cafferychen777/ChatSpatial y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene cafferychen777/ChatSpatial?
+
cafferychen777/ChatSpatial es mantenido por cafferychen777. La última actividad registrada en GitHub es del 2026-10-08, con 13 issues abiertos.
¿Hay alternativas a ChatSpatial?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega ChatSpatial en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/cafferychen777-chatspatial)<a href="https://claudewave.com/repo/cafferychen777-chatspatial"><img src="https://claudewave.com/api/badge/cafferychen777-chatspatial" alt="Featured on ClaudeWave: cafferychen777/ChatSpatial" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.