lineageverse-mcp
Provides optimization solver capabilities for exact-ILP tree reconstruction methods.
Provides access to example single-cell lineage tracing datasets for loading via load_example_dataset.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lineageverse-mcpLoad yang22 example dataset and plot the tree"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lineageverse-mcp
An MCP server for single-cell lineage tracing
analysis. It wraps the scverse-style lineage stack —
Cassiopeia (reconstruction),
pycea (plotting + heritability), and
treedata (the shared TreeData object) — behind a small
set of MCP tools so an assistant can drive analyses conversationally:
"Reconstruct a lineage tree from this character-matrix CSV."
"Plot the tree next to its character matrix."
"Which genes are most heritable on this tree (Moran's I)?"
Install
Requires Python ≥ 3.12. Cassiopeia builds Cython extensions, so you need a C compiler
(Xcode Command Line Tools on macOS, build-essential on Linux).
# 1. The MCP server + its PyPI dependencies (treedata, pycea, scanpy, anndata, mcp, ...)
pip install lineageverse-mcp # from PyPI once published
# ...or from a checkout: pip install -e .
# 2. Cassiopeia v3 (the functional TreeData API). Not yet on PyPI — install from GitHub:
pip install "cassiopeia-lineage @ git+https://github.com/YosefLab/Cassiopeia.git@3.0.0"Optional extras:
# Interactive web viewer; install only if you want launch_viewer:
pip install cellxlineage
# Exact-ILP reconstruction (methods "ilp"/"hybrid") additionally needs a licensed Gurobi:
pip install gurobipyIf cellxlineage cannot go in the same environment (its dependency pins conflict with your
stack), install it separately and point the server at it with
LINEAGEVERSE_CELLXLINEAGE_BIN=/path/to/cellxlineage.
Related MCP server: ChatSpatial
Run
lineageverse-mcp # STDIO transport (what MCP clients launch)
mcp dev src/lineageverse_mcp/server.py # MCP Inspector for interactive testingClaude Code
claude mcp add lineageverse -- lineageverse-mcpClaude Desktop
Edit the config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS,
%APPDATA%\Claude\claude_desktop_config.json on Windows) and point it at the installed
executable:
{
"mcpServers": {
"lineageverse": { "command": "/path/to/your/env/bin/lineageverse-mcp" }
}
}If installed in a conda env, use conda run instead:
{
"mcpServers": {
"lineageverse": {
"command": "conda",
"args": ["run", "--no-capture-output", "-n", "YOUR_ENV", "lineageverse-mcp"]
}
}
}Running the server on a remote host (e.g. an HPC cluster where the data lives): Desktop
is macOS/Windows only, so launch the server over SSH. Set command to ssh and
args to ["-T", "user@host", "/abs/path/to/env/bin/lineageverse-mcp"]. SSH must be
non-interactive (key-based auth) and must not print anything to stdout (call the binary by
absolute path so login rc files aren't sourced), or the JSON-RPC stream will be corrupted.
Tools
Tool | Purpose |
| Load a |
| Load a built-in pycea example dataset ( |
| Inspect loaded datasets. |
| Build a tree ( |
| Pairwise distance map (for |
| Rank features by Moran's I / Geary's C on a tree. |
| Characterize a tree. |
| Robinson-Foulds / triplets between two trees. |
| Render a tree (+ character-matrix / annotation heatmap). |
| Generate ground-truth trees and character matrices. |
| Persist results. |
| Open the interactive cellxlineage web viewer on a dataset (optional). |
Design
Datasets are held in an in-memory session store keyed by dataset_id and mutated in place
across calls (matching the AnnData/TreeData idiom); save_dataset persists to
<workspace>/<id>.h5td. The workspace defaults to ~/.lineageverse
(override with LINEAGEVERSE_WORKSPACE). Each tool module registers itself with the FastMCP
app via register(mcp), so adding a capability is just adding a function.
To try it end-to-end without your own data, ask for load_example_dataset (downloads a small
.h5td from Zenodo), then plot_tree and compute_heritability on it.
Development
pip install -e ".[test]"
pytestHeavy ilp reconstructions can be slow; on a shared cluster, run those on a compute node.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceAn MCP server that enables single-cell RNA sequencing analysis through natural language, supporting data processing, visualization, and analysis tasks without requiring coding knowledge.Last updated5212BSD 3-Clause
- AlicenseAqualityAmaintenanceNatural language-driven spatial transcriptomics analysis via MCP. Integrates 60+ methods for preprocessing, visualization, spatial statistics, cell communication, deconvolution, and trajectory analysis.Last updated2042MIT
- Alicense-qualityCmaintenanceAn 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.Last updated15BSD 3-Clause
- Flicense-qualityCmaintenanceEnables natural language interaction for scRNA-Seq analysis including preprocessing, clustering, and visualization using the CellRank library. It allows users and agents to perform complex genomic data tasks through standard MCP clients and frameworks.Last updated2
Related MCP Connectors
MCP gateway federating 21 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
MCP server for Drosophila neuroscience data from VirtualFlyBrain
AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/colganwi/lineageverse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server