cafferychen777/ChatSpatial

Biology, Medicine and Bioinformatics
0 Views
0 Installs

๐Ÿ ๐Ÿ  - MCP server for spatial transcriptomics analysis with 60+ integrated methods covering cell annotation, deconvolution, spatial statistics, and visualization.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "cafferychen777-chatspatial": {
      "command": "npx",
      "args": [
        "-y",
        "cafferychen777-chatspatial"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

ChatSpatial

MCP server for spatial transcriptomics analysis via natural language

Paper MLGenX @ ICLR 2026 ENAR 2026 IBC 2026 CI PyPI Python 3.11-3.13 License: MIT Docs Docker

ChatSpatial Overview

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 65 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.


Start Here

  1. Install ChatSpatial โ€” Installation Guide for Python/uv setup, or Docker Guide for the GHCR image
  2. Configure your MCP client โ€” Configuration Guide
  3. Run your first analysis โ€” Quick Start

Docker quick start:

docker pull ghcr.io/cafferychen777/chatspatial:v1.2.10

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

Current coverage includes 65 methods across 15 analytical categories, exposed through 20 MCP tools. Supports 10x Visium, Xenium, Slide-seq v2, MERFISH, seqFISH.

CategoryExample methods
Data Loading & PreprocessingScanpy I/O, QC, Normalization, HVG, PCA, Neighbors
VisualizationSpatial plots, Embedding plots, Gene expression overlays
Spatial Domain IdentificationSpaGCN, STAGATE, GraphST, BANKSY, Leiden, Louvain
DeconvolutionFlashDeconv, Cell2location, RCTD, DestVI, Stereoscope, SPOTlight, Tangram, CARD
Cell-Cell CommunicationLIANA+, CellPhoneDB, CellChat (cellchat_r), FastCCC
Cell Type AnnotationTangram, scANVI, CellAssign, mLLMCelltype, scType, SingleR
Differential ExpressionWilcoxon, t-test, Logistic Regression, pyDESeq2
Trajectory InferenceCellRank, Palantir, DPT
RNA VelocityscVelo, VeloVI
Spatial StatisticsMoran'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 AnalysisGSEA, ORA, Enrichr, ssGSEA, Spatial EnrichMap
Spatially Variable GenesSpatialDE, SPARK-X, FlashS
Multi-sample IntegrationHarmony, BBKNN, Scanorama, scVI
CNV AnalysisInferCNVPy, Numbat
Spatial RegistrationPASTE, STalign

Documentation

GuideUse this when...
InstallationYou need to install ChatSpatial in a Python environment
DockerYou want a reproducible container runtime or local dependency resolution fails
ConfigurationYou need exact MCP client syntax or the runtime path model
Quick StartChatSpatial is installed and you want the first successful analysis
ConceptsYou need to choose an analysis strategy from a biological question
ExamplesYou want copy-pasteable natural-language workflow prompts
Methods ReferenceYou need canonical tool names, method names, parameters, and defaults
TroubleshootingSetup, data loading, or analysis behavior is not working
Full DocsYou want the 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.

MIT License ยท GitHub ยท Issues

Related MCP Servers

ammawla/encode-toolkit

๐Ÿง - MCP server and Claude Plugin for a full ENCODE Project genomic data and analysis toolkit โ€” search, download, track, and analyze functional genomics experiments.

Biology, Medicine and Bioinformatics0 views
Crindo2/gph-mcp-server

๐Ÿ“‡ โ˜๏ธ - Healthcare service vendor matching for medical practices: 76,000+ curated vendors across 25 categories (billing, credentialing, EHR, compliance, legal) in all 50 US states.

Biology, Medicine and Bioinformatics0 views
davidmosiah/wellness-cgm-mcp

๐Ÿ“‡ ๐Ÿ  โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - Local-first continuous glucose monitor MCP server for Dexcom Developer API and FreeStyle Libre via LibreLink Up.

Biology, Medicine and Bioinformatics0 views
dnaerys/onekgpd-mcp

โ˜• โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง- real-time access to 1000 Genomes Project dataset

Biology, Medicine and Bioinformatics0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/28/2026, 7:55:00 PM

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.