Infercnv-MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install infercnv-mcp
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add infercnv-mcp -- node "<FULL_PATH_TO_INFERCNV_MCP>/dist/index.js"

Replace <FULL_PATH_TO_INFERCNV_MCP>/dist/index.js with the actual folder you prepared in step 1.

README.md

Natural language interface for CNV inference from scRNA-Seq data

Infercnv-MCP

Natural language interface for Copy Number Variation (CNV) inference from scRNA-Seq data with infercnvpy through MCP.

đŸĒŠ What can it do?

  • IO module for reading and writing scRNA-Seq data, load gene position
  • Preprocessing module for neighbors computation and data preparation
  • Tool module for CNV inference, cnv score
  • Plotting module for chromosome heatmaps, UMAP, and t-SNE visualizations

❓ Who is this for?

  • Researchers who want to infer CNVs from scRNA-Seq data using natural language
  • Agent developers who want to integrate CNV analysis into their applications

🌐 Where to use it?

You can use infercnv-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

đŸŽī¸ Quickstart

Install

Install from PyPI

pip install infercnv-mcp

you can test it by running

infercnv-mcp run
run infercnv-mcp locally

Refer to the following configuration in your MCP client:

check path

$ which infercnv 
/home/test/bin/infercnv-mcp
"mcpServers": {
  "infercnv-mcp": {
    "command": "/home/test/bin/infercnv-mcp",
    "args": [
      "run"
    ]
  }
}
Run infercnv-server remotely

Refer to the following configuration in your MCP client:

Run it in your server

infercnv-mcp run --transport shttp --port 8000

Then configure your MCP client, like this:

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 infercnv-mcp in your research, please consider citing following work:

https://github.com/icbi-lab/infercnvpy

Configuration

claude_desktop_config.json
{"mcpServers": {"infercnv-mcp": {"command": "/home/test/bin/infercnv-mcp", "args": ["run"]}}}

Try it

→Load the scRNA-Seq data from the specified file path.
→Perform preprocessing on the loaded data to prepare for CNV inference.
→Run the CNV inference analysis and calculate CNV scores.
→Generate a chromosome heatmap visualization for the inferred CNV data.
→Create UMAP and t-SNE plots based on the processed scRNA-Seq data.

Frequently Asked Questions

What are the key features of Infercnv-MCP?

IO module for reading and writing scRNA-Seq data and loading gene positions. Preprocessing module for neighbors computation and data preparation. Tool module for CNV inference and CNV score calculation. Plotting module for chromosome heatmaps, UMAP, and t-SNE visualizations.

What can I use Infercnv-MCP for?

Researchers performing automated CNV inference from scRNA-Seq datasets. Bioinformatics pipelines requiring natural language control for data analysis. Agent-based workflows integrating genomic data processing and visualization.

How do I install Infercnv-MCP?

Install Infercnv-MCP by running: pip install infercnv-mcp

What MCP clients work with Infercnv-MCP?

Infercnv-MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Infercnv-MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare