Skip to main content
Glama

Scanpy-MCP

Natural language interface for scRNA-Seq analysis with Scanpy through MCP.

đŸĒŠ What can it do?

  • IO module like read and write scRNA-Seq data

  • Preprocessing module,like filtering, quality control, normalization, scaling, highly-variable genes, PCA, Neighbors,...

  • Tool module, like clustering, differential expression etc.

  • Plotting module, like violin, heatmap, dotplot

Related MCP server: Liana-MCP

❓ Who is this for?

  • Anyone who wants to do scRNA-Seq analysis natural language!

  • Agent developers who want to call scanpy's functions for their applications

🌐 Where to use it?

You can use scanpy-mcp in most AI clients, plugins, or agent frameworks that support the MCP:

  • AI clients, like Cherry Studio

  • Plugins, like Cline

  • Agent frameworks, like Agno

📚 Documentation

scmcphub's complete documentation is available at https://docs.scmcphub.org

đŸŽŦ Demo

A demo showing scRNA-Seq cell cluster analysis in a AI client Cherry Studio using natural language based on scanpy-mcp

https://github.com/user-attachments/assets/93a8fcd8-aa38-4875-a147-a5eeff22a559

đŸŽī¸ Quickstart

Install

Install from PyPI

pip install scanpy-mcp

you can test it by running

scanpy-mcp run

run scnapy-mcp locally

Refer to the following configuration in your MCP client:

check path

$ which scanpy 
/home/test/bin/scanpy-mcp
"mcpServers": {
  "scanpy-mcp": {
    "command": "//home/test/bin/scanpy-mcp",
    "args": [
      "run"
    ]
  }
}

run scnapy-mcp remotely

Refer to the following configuration in your MCP client:

run it in your server

scanpy-mcp run --transport shttp --port 8000

Then configure your MCP client in local AI client, like this:


"mcpServers": {
  "scanpy-mcp": {
    "url": "http://localhost:8000/mcp"
  }
}

🤝 Contributing

If you have any questions, welcome to submit an issue, or contact me(hsh-me@outlook.com). Contributions to the code are also welcome!

Citing

If you use scanpy-mcp in for your research, please consider citing following work:

Wolf, F., Angerer, P. & Theis, F. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol 19, 15 (2018). https://doi.org/10.1186/s13059-017-1382-0

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables deep probabilistic analysis of single-cell omics data using scvi-tools through natural language. Supports SCVI for scRNA-seq analysis, SCANVI for cell type annotation, TOTALVI for multi-modal RNA/protein data, and PEAKVI for scATAC-seq analysis.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables natural language interface for single-cell RNA-Seq analysis using Liana. Supports reading/writing scRNA-Seq data, cell-cell communication analysis, and visualization through circle plots and dotplots.
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables scRNA-Seq analysis through natural language, providing tools for data preprocessing, clustering, and biological visualization. It supports both predefined function execution and a flexible code mode powered by a Jupyter backend for automated single-cell transcriptomics workflows.
    16
    BSD 3-Clause
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides a natural language interface for inferring Copy Number Variations (CNVs) from scRNA-Seq data using the infercnvpy framework. It enables users to perform data preprocessing, CNV inference, and visualization through chromosome heatmaps, UMAP, and t-SNE plots.
    2
    -