piaso-mcp

v0.1.1
io.github.genecell/piaso-mcp Checked 10 hours ago Published 2 months ago

PIASO single-cell ecosystem docs (PIASO, COSG, cytome, LARIS, cytorete) + live PIASOmarkerDB

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_docs

Search the PIASO ecosystem knowledge pack (works with zero packages installed). Covers PIASO, COSG/COSGR, cytome (Python + R), LARIS, Emergene, cytorete, PIASO-data, the cross-component decision rules, gotchas and the piaso.org tutorial index. Returns the most relevant sections for `query`.

ParameterTypeDescription
query *string
max_resultsinteger

get_api

Data-object contract (reads/writes, defaults, what it computes) for a PIASO / COSG / cytome / LARIS / Emergene / cytorete function, from the component docs. The exact live signature is on the generated API reference at https://piaso.org/api/ (or `inspect.signature` after install).

ParameterTypeDescription
function *string

compare_implementations

COSG (Python) vs COSGR (R) divergences — params, defaults, data-object contract — and, for 'cytome', the Python vs R cytome packages. This knowledge exists nowhere else.

ParameterTypeDescription
functionstring

resolve_install

The exact install line(s) for a set of components in a given language (python|r), including extras. Answers 'I'm in R and want this chain — what do I install?' — the most error-prone thing in an independently-installed, cross-language ecosystem. Never suggests a matplotlib pin.

ParameterTypeDescription
components *array
languagestring

list_tutorials

The piaso.org tutorial index (executed, human-reviewed): title, URL, what it covers, which components it uses. Filter by topic (scRNA-seq, methods, marker-genes, annotation, gene-sets, spatial, grn, cell-cell-interaction, plotting-data) and/or component (piaso, cosg, cytome, laris, cytorete, emergene). Route the user to the tutorial for their platform before writing code.

ParameterTypeDescription
component
topic

version_matrix

The component versions this knowledge pack was tested against (from meta.yaml), with install lines, roles and citations — so an agent can state what the docs assume.

check_versions

Current PyPI release of each Python package vs the version this snapshot was tested against. Pure PyPI JSON (network); use it to disclose drift ('docs tested on 1.2.3, you have 1.3.0').

list_datasets

PIASO-data datasets (live registry from genecell/PIASO-data, cached 24 h): id, format, size, species, cells, counts layer, how to load. Falls back to the bundled data.md offline.

get_dataset

One PIASO-data registry entry (live): title, url, md5, size, cells, features, counts layer, reference, tutorials that use it.

ParameterTypeDescription
name *string

query_marker_db

Query the live PIASOmarkerDB for cell-type marker genes (proxies the piaso.org REST API). Works with zero packages installed, and is the programmatic path for R / non-Python users. Returns rows with: cell_type, condition, gene, species, specificity_score (a COSG score), study_publication, tissue. Cell-type names must match the study's vocabulary exactly. Requires network access to piaso.org.

ParameterTypeDescription
cell_type
gene
limitinteger
species
study
tissue

get_markers

Alias of query_marker_db (mirrors piaso.tl.getMarkers).

ParameterTypeDescription
cell_type
gene
limitinteger
species

list_studies

List the studies available in PIASOmarkerDB (proxies the live API; 36 at last check).