Atlas / MCP servers / cafferychen777 / ChatSpatial

ChatSpatialBLOCK

mcp/cafferychen777/chatspatial

MCP server for spatial transcriptomics analysis through natural language interfaces.

Verdict
BLOCK
Grade
D
Trust score
61 /100
Exposed tools
—
Transport
sse · stdio · streamable-http
License
MIT
Stars
44
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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)

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 thr

Read from source at commit 902255da1782OBSERVED · 2026-10-08
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add chatspatial -- uvx chatspatial==1.5.4 server
03

Trust audit

BLOCKgrade D · trust 61/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (1 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (20)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
install_r_dependencies.R:30
eval(parse(text = install_cmd))
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
reproducibility/scripts/ablation_analysis.py:417
f"  {cond}: {exec_total}/{total} exec ({exec_rate:.0%}), {len(all_artifacts)} artifacts"
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
chatspatial/tools/deconvolution/__init__.py:409
module = importlib.import_module(f".{config.module_name}", package=__package__)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
chatspatial/tools/deconvolution/rctd_python.py:58
likelihood = importlib.import_module(f"{module_name}._likelihood")
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
chatspatial/utils/dependency_manager.py:397
return importlib.import_module(module_name)
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
chatspatial/__main__.py:22
"http://127.0.0.1:*",
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.readthedocs.yaml
.readthedocs.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_spatial_statistics_utils.py:47
return __import__("sys").modules.get(name) or importlib.import_module(name)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_results_export_utils.py:283
re.get_analysis_dir("dataset", "../../outside")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_results_export_utils.py:299
"method": "../../outside",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/advanced/configuration.md:271
Connect to `http://127.0.0.1:8000/mcp`. The MCP SDK supplies a strict loopback
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/docker.md:108
--allowed-origin 'http://127.0.0.1:*'
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs/requirements.txt
sphinx, furo, sphinx-copybutton, sphinx-design, myst-parser, sphinx-intl
Why it matters. 6 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/installation.md:43
curl -LsSf https://astral.sh/uv/install.sh | sh
LOWSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/installation.md:299
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table
INFOInventory / provenance · inv.oversize · CWE-1104
assets/images/chatspatial-logo.png
assets/images/chatspatial-logo.png
Why it matters. 1163408 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/_static/architecture.png
docs/_static/architecture.png
Why it matters. 3269601 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/_static/logo.png
docs/_static/logo.png
Why it matters. 1163408 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 902255da1782full audit observations/trust-audit/mcp-server/cafferychen777__chatspatial.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08902255da1782BLOCKD61first audit
05

Questions

What is the ChatSpatial MCP server?

MCP server for spatial transcriptomics analysis through natural language interfaces.

Is ChatSpatial safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (61/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does ChatSpatial need?

It reads ANTHROPIC_API_KEY, GEMINI_API_KEY and OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does ChatSpatial run?

It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as chatspatial.

How current is this page?

The grade is for one exact copy of the source (902255da1782), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement