Galaxy Cluster Catalogs MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COSMO_MCP_DATA | No | Override the cache directory. Default is ~/.cache/cosmo-mcp/clusters-mcp-server/. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Galaxy Cluster Catalogs MCP Server: Planck PSZ2, SPT-SZ 2500d (Bocquet+19), SPTpol 100d, SPT-ECS, SPT-3G Main 5yr, ACT DR6 and eROSITA eRASS1 (primary + cosmology) cluster catalogues. Start with list_clusters_datasets; list_clusters_skills for recipes (clusters-tour first). fetch_cluster_catalog downloads a catalogue on first use and writes a harmonised CSV (name, ra, dec [deg J2000], z, z_err, M500 [1e14 Msun, M500c], M500_err_lo/hi, snr, survey, dataset; NaN = missing); every other catalogue tool takes those CSV paths (or a dataset key for the full catalogue). Units/conventions: M500 is each survey's own estimate - SPT (xi-mass, WL+X-ray calibrated, h70), ACT DR6 (WL-consistent normalisation, Eddington-corrected), Planck PSZ2 MSZ (hydrostatic Y-M, expect 20% lower, 1-b0.8), eRASS1 (count-rate-mass, native 1e13 Msun converted). snr is survey-native (xi / SNR / EXT_LIKE) and NOT comparable across surveys. predict_cluster_counts_lcdm (heavy) uses Tinker+08 x Eisenstein-Hu P(k) with no selection function: use mass thresholds where samples are ~complete. Tools that write files take an output_dir and return ArtifactResult; pass file paths between tools, never raw arrays. Heavy tools can run on ALCF/NERSC via the hep-genesis IRI dispatch engine (set_dispatch / export_dispatch_pack); this server holds no facility credentials.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_clusters_datasetsA | List the public datasets this server exposes. Call this first. Products are grouped as catalogs (object-level data), summary statistics (measurements with covariance) and published results (chains / parameter constraints, for comparison only). Build analyses on catalogs and summary statistics. Each entry also gives access (bundled vs downloaded on first use) and which tools read it. |
| describe_clusters_datasetA | Full description of one dataset: products, units, conventions, URLs, citation. |
| list_clusters_skillsA | List this server's skills: named multi-tool recipes. |
| load_clusters_skillA | Load the full instructions of one of this server's skills and follow them. |
| fetch_cluster_catalogA | Download one cluster catalogue (first use only) and write a harmonised CSV with cuts applied. |
| describe_catalog_columnsA | Explain a catalogue's columns: harmonised mapping, units, mass convention, and native FITS columns. |
| plot_mass_redshiftA | Overlay several cluster catalogues in the M500-z plane (the standard selection-function picture). Use to show how SZ (flat-in-M at high z) and X-ray (flux-limited, low z, low mass) selections differ. Only entries with both z and M500 are drawn. |
| plot_cluster_sky_mapA | Mollweide sky map of one or more cluster catalogues (RA increasing to the left, astronomical convention). Use to show footprints and overlaps (e.g. SPT south, ACT equatorial strip, eRASS1 western Galactic half, Planck all-sky) before a crossmatch. |
| compute_cluster_countsA | Histogram cluster counts: N(z) per redshift bin and cumulative N(>M500), per catalogue. |
| crossmatch_catalogsA | Positionally (+ redshift) cross-match two cluster catalogues; write the matched pairs and mass ratios. |
| compare_mass_calibrationA | Mass-calibration comparison for matched clusters: M500_b vs M500_a scatter, ratio vs z and vs mass. |
| fetch_cluster_selection_functionA | Fetch the survey selection function / completeness characterisation for a cluster survey. |
| fetch_cluster_wl_profilesA | Fetch published weak-lensing tangential shear profiles for clusters with WL follow-up. |
| plot_completenessA | Plot the survey completeness / selection function. |
| predict_cluster_counts_lcdmA | Predict LCDM cluster counts dN/dz above a mass threshold (Tinker+08 HMF x Eisenstein-Hu P(k)) and compare with a catalogue. |
| plot_counts_vs_predictionA | Plot observed cluster N(z) (Poisson errors) against LCDM predictions, with a residual panel and the sigma8 profile if scanned. |
| auth_statusA | Report the facility sign-in state THIS server sees for its own HPC dispatch (ALCF and NERSC). |
| export_dispatch_packA | Hand THIS server's compute kernels to the client for HPC runs. |
| get_dispatchA | Report where THIS server's heavy tools currently execute. |
| set_dispatchA | Set where THIS server's heavy tools execute: 'local' (this machine), 'polaris' (ALCF) or 'perlmutter' (NERSC). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| cluster-counts-vs-lcdm | Compare observed cluster N(z) above a mass threshold with LCDM predictions (Tinker+08 HMF x Eisenstein-Hu P(k)) for SPT-SZ, ACT DR6, SPT-3G, PSZ2 or eRASS1 - obs/pred ratio, per-bin pulls, and a Poisson sigma8 profile; with the completeness/mass-calibration caveats |
| clusters-tour | Five-minute all-local tour of the cluster server - fetch catalogues, M500-z overlay, sky map, counts, crossmatch, mass calibration, selection functions, WL profiles, LCDM prediction; one call per tool family with expected numbers |
| hpc-dispatch-handoff | Run this server's heavy kernels (likelihood scans, fits, large downloads + reductions) on ALCF Polaris or NERSC Perlmutter through the hep-genesis IRI engine - client-side pack export (hosted) or server-side set_dispatch (own machine) |
| multi-survey-mass-redshift | Reproduce the classic SZ/X-ray cluster mass-redshift comparison figure (SPT Bleem+15 Fig. 6 style) - SPT-SZ, SPTpol, SPT-3G, ACT DR6, Planck PSZ2 and eRASS1 on one M500-z plane, with completeness-threshold annotations and the mass-convention caveats |
| selection-function-forward-model | Recipe to extract selection functions and use them alongside LCDM counts - Planck PSZ2 completeness to show how the mass limit varies with z and theta, ACT tile noise, SPT field corrections, plus WL shear profiles |
| sz-xray-crossmatch | Cross-match SZ catalogues (ACT DR6, SPT-SZ, SPT-3G, Planck PSZ2) with each other and with eROSITA eRASS1, and quantify relative mass calibration (median M500 ratio, log scatter, z trend, slope) - recovers the Planck hydrostatic bias 1-b~0.8 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
The tools separate cleanly along a resource+action grid: fetch/describe/list for data access, plot_* for visuals, compute_/crossmatch_/compare_ for analysis, and a distinct dispatch/a HPC quartet. The only friction points are predict_cluster_counts_lcdm vs compute_cluster_counts vs plot_counts_vs_prediction, which sit close together but are distinguished by their descriptions (theory prediction, observed histogram, overlay plot).
Nearly all names are snake_case verb_noun (fetch_cluster_catalog, plot_mass_redshift, crossmatch_catalogs), which is easy to scan. Minor deviations: auth_status is noun-first, get_dispatch/set_dispatch use a bare domain-less noun, and the skill tools inconsistently insert the server prefix (list_clusters_skills vs load_clusters_skill).
Twenty tools is at the heavy end, but the surface covers genuinely different workflows (data discovery, catalogue I/O, plotting, statistical comparison, theory prediction, and HPC dispatch) so few tools feel redundant. The four dispatch/auth tools are infrastructure rather than science, which pushes the count slightly over what the core domain needs.
The catalogue side is well covered end-to-end: list, describe, fetch, column semantics, selection functions, crossmatching, mass-calibration comparison, counts, and LCDM prediction. However, the server advertises summary statistics and published chains in list_clusters_datasets, yet no tool actually loads or reads those products, and there is no query/filter or per-object lookup tool beyond re-fetching with cuts.