Skip to main content

An MCP server for scRNA-Seq analysis software Scanpy with natural language!

Project description

Scanpy MCP server

An MCP server for scRNA-Seq analysis software Scanpy with natural language!

🪩 What can it do?

  • IO module like read and write scRNA-Seq data with natural language
  • 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

❓ 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

🎬 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

scmcp run

run scnapy-server locally

Refer to the following configuration in your MCP client:

"mcpServers": {
  "scanpy-mcp": {
    "command": "scmcp",
    "args": [
      "run"
    ]
  }
}

run scnapy-server remotely

Refer to the following configuration in your MCP client:

run it in your server

scmcp run --transport sse --port 8000

Then configure your MCP client, like this:

http://localhost:8000/sse

🤝 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scanpy_mcp-0.1.2.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scanpy_mcp-0.1.2-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file scanpy_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: scanpy_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for scanpy_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 84296086bb254a48b942f92b81dbe3b259565702c45ecf40755eca8a5861e246
MD5 318c2fc0da53f809fb92373a1a72b849
BLAKE2b-256 d5ed133e8f181abde2dd64873c0d006f9b504a1e6aebbc968c828dd029a5e545

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_mcp-0.1.2.tar.gz:

Publisher: publish.yml on huang-sh/scanpy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scanpy_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: scanpy_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for scanpy_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c12b14633a698e0a589523c760c19e542a58ec5161ab6b1dd9568e0212fbc8d9
MD5 e13c38e36bd976a8868f8605ed9136cf
BLAKE2b-256 e4555fdc52b93c8b4115838f12c0c7825c0c65e79e413100907f45075938a73f

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_mcp-0.1.2-py3-none-any.whl:

Publisher: publish.yml on huang-sh/scanpy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page