cxg-census-mcp

v0.1.2
io.github.MaxMLang/cxg-census-mcp Checked 2 days ago Published 7 months ago

MCP server for the CZ CELLxGENE Census.

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

census_summary

Pinned Census summary: cells, schema, build date.

get_census_versions

List available Census versions visible to this server.

list_available_values

Distinct values for an obs column (discovery before resolve_term).

ParameterTypeDescription
column *string
limitinteger
organismstring
prefixstring | null

resolve_term

Resolve text or CURIE to one term; typed refusal if ambiguous.

ParameterTypeDescription
text *string
confirm_ambiguousboolean
facetstring | null
ontologystring | null

expand_term

Expand a CURIE to descendants/ancestors filtered to Census presence.

ParameterTypeDescription
curie *string
directionstring
facetstring | null
in_census_onlyboolean
include_countsboolean

term_definition

Return label, definition, synonyms, IRI for a CURIE.

ParameterTypeDescription
curie *string

count_cells

Count cells (filters + optional group_by); tier 0.

ParameterTypeDescription
filters *object
group_bystring | null

list_datasets

List datasets matching a structured filter, sorted by cell count.

ParameterTypeDescription
filters *object
limitinteger

gene_coverage

Report whether a list of Ensembl gene IDs is present in Census var.

ParameterTypeDescription
gene_ids *array
organismstring

preview_obs

Small obs slice + column cardinality (before a big scan).

ParameterTypeDescription
filters *object
columnsarray | null
limitinteger | null

aggregate_expression

Per-gene expression stats by group; caps → export_snippet if over.

ParameterTypeDescription
filters *object
gene_ids *array
aggregationsarray | null
group_bystring

export_snippet

Runnable Python for a stored plan; pass call_id from a prior response.

ParameterTypeDescription
call_id *string
intentstring

get_server_limits

Report cap configuration so clients can size their requests.