Celltypist Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Celltypist Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server for automated cell type annotation in scRNA-seq analysis using CellTypist with natural language!
CellTypist is an automated cell type annotation tool for scRNA-seq datasets based on logistic regression classifiers. It provides:
git clone <repository-url>
cd celltypist-mcp
pip install -e .celltypist-mcp runcelltypist-mcp run --data /path/to/your/data.h5adcelltypist-mcp run --transport sse --port 8000 --host 0.0.0.0Add to your MCP client configuration:
{
"mcpServers": {
"celltypist": {
"command": "celltypist-mcp",
"args": ["run"]
}
}
}{
"mcpServers": {
"celltypist": {
"command": "celltypist-mcp",
"args": ["run", "--data", "/path/to/your/data.h5ad"]
}
}
}First, run the server on your machine:
celltypist-mcp run --transport sse --port 8000Then configure your MCP client:
http://localhost:8000/ssecelltypist_list_modelsList all available CellTypist models with descriptions.
Example usage:
"Show me available CellTypist models"
"List all immune cell type models"celltypist_annotateAnnotate cell types in your scRNA-seq data.
Parameters:
model: Model name (e.g., "Immune_All_High.pkl")majority_voting: Enable majority voting (default: False)over_clustering: Column in adata.obs for clustering (optional)mode: "best match" or "prob match" (default: "best match")p_thres: Probability threshold for multi-label (default: 0.5)Example usage:
"Annotate my cells using the Immune_All_High model"
"Run CellTypist with majority voting on my data"
"Use the Immune_All_Low model with leiden clustering for majority voting"celltypist_download_modelDownload CellTypist models.
Parameters:
model: Model name or list of names (None downloads all)force_update: Force update to latest version (default: False)Example usage:
"Download the Immune_All_High model"
"Download all available CellTypist models"
"Update the Immune_All_Low model to the latest version"celltypist_get_model_infoGet detailed information about a specific model.
Parameters:
model: Model nameExample usage:
"What cell types are in the Immune_All_High model?"
"Show me information about the Immune_All_Low model"
"How many features does the Immune_All_High model use?"celltypist_extract_markersExtract top marker genes for a specific cell type.
Parameters:
model: Model namecell_type: Cell type nametop_n: Number of top markers (default: 10)Example usage:
"What are the top marker genes for T cells in Immune_All_High?"
"Show me 20 marker genes for macrophages"
"Extract markers for B cells from the Immune_All_Low model"celltypist_trainTrain a custom CellTypist model.
Parameters:
labels: Column in adata.obs with cell type labelsmodel_name: Filename to save the modeluse_SGD: Use SGD learning for large datasets (default: False)C: L2 regularization strength (default: 1.0)max_iter: Maximum iterations (optional)feature_selection: Enable feature selection (default: False)top_genes: Number of top genes to select (default: 300)Example usage:
"Train a CellTypist model using the 'cell_type' column and save it as 'my_model.pkl'"
"Create a custom model with SGD learning and feature selection"celltypist_dotplotGenerate a dotplot comparing predictions with reference labels.
Parameters:
use_as_reference: Column in adata.obs with reference labelsuse_as_prediction: "predicted_labels" or "majority_voting" (default: "majority_voting")save: Filename to save figure (optional)Example usage:
"Create a dotplot comparing CellTypist predictions with my cell_type labels"
"Visualize the majority voting results against leiden clusters"
"Generate a dotplot and save it as 'results.png'" "What CellTypist models are available?" "Download the Immune_All_High model" "Annotate my cells using Immune_All_High with majority voting" "Create a dotplot comparing predictions with my manual annotations" "What are the marker genes for T cells in this model?"Example 1: Quick annotation
User: "I have scRNA-seq data loaded. Can you annotate the cell types?"
Assistant: [Lists available models]
User: "Use the Immune_All_High model"
Assistant: [Runs celltypist_annotate and shows results]Example 2: Custom model training
User: "I want to train my own CellTypist model"
Assistant: "What column contains your cell type labels?"
User: "The 'cell_type' column"
Assistant: [Runs celltypist_train and saves the model].h5ad)adata.obsadata.obs columns prefixed with celltypist_~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.