galaxy-surveys-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
galaxy-surveys-mcp-server
MCP server for spectroscopic galaxy surveys: BAO/RSD compilations (DESI DR2/DR1, eBOSS DR16, BOSS DR12, 6dFGS, SDSS MGS) with cosmological fits and plots, plus SDSS SkyServer catalog queries and GSWLC-A2 galaxy properties.
Part of the cosmo-*-mcp-server family (port 8011).
Tool Families
BAO (tools/bao/)
fetch_bao_measurements— load BAO distance data from bundled filesplot_bao_distances— Hubble diagram (D/rd vs z) with Planck LCDMfit_bao_cosmology— chi2 grid fit for Om, H0*rd (LCDM or w0waCDM) [HEAVY]plot_bao_contours— Om-H0*rd contour plot from fit gridplot_fsigma8— f*sigma8(z) growth-rate measurementscompare_bao_surveys— residuals vs Planck LCDM across surveys
SDSS (tools/sdss/)
sdss_sql_query— execute SQL on SDSS SkyServer DR18fetch_sdss_galaxies— spectro-photometric galaxy catalogcompute_sdss_absolute_magnitudes— extinction correction + absolute mags + coloursplot_color_magnitude— colour-magnitude diagram (red sequence / blue cloud)plot_sdss_redshift_distribution— N(z) histogram
GSWLC (tools/gswlc/)
query_gswlc_catalog— query GSWLC-A2 with filters (640k galaxies)describe_gswlc_catalog— column descriptions and filter syntaxplot_star_forming_main_sequence— SFR vs M* density plotcrossmatch_sdss_gswlc— match SDSS with GSWLC on ObjID or sky coords
Related MCP server: @pipeworx/noirlab-datalab
Quick Start
cd galaxy-surveys-mcp-server
uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -e ".[dev]"
MPLBACKEND=Agg .venv/bin/python -m pytest -q
.venv/bin/python tests/smoke_server.pySample Figures
See docs/figures/ for example outputs from the tour.
Data
BAO data from CobayaSampler/bao_data (bundled, < 500 KB). SDSS queries go to SkyServer DR18 (network). GSWLC-A2 downloads on first use from https://salims.pages.iu.edu/gswlc/ (~35 MB).
This server cannot be deployed
Maintenance
Related MCP Connectors
ESA Gaia MCP — the Gaia star catalogue, queried over the ESA TAP service.
Provides easy access to MLB, Baseball Savant, Statcast, and Fangraphs baseball data. Query detaile…
Query and explore Nova Scotia open datasets via the Socrata SODA API.
Observational astronomy in one place
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables querying the ESA Gaia star catalogue (DR3) for astrometric and photometric data via cone searches, source ID lookups, and arbitrary ADQL queries over the TAP service.501 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying NOIRLab Astro Data Lab's astronomical survey catalogs via ADQL, including table exploration, read-only SQL queries, and cone searches.360 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables fetching and analyzing public Type Ia supernova Hubble diagrams, including covariance-aware binning, plotting, chi-squared evaluation, and flat LCDM/wCDM/w0waCDM fits with contour comparisons and optional HPC dispatch.MIT
- AlicenseNot gradedqualityCmaintenanceEnables access to public cosmic microwave background power spectra, lensing bandpowers, and LCDM parameter chains from Planck, ACT, and SPT, with tools for chi-squared checks, publication-style plots, and cross-experiment comparisons.MIT