DESI MCP Server
@SandyYuan
About DESI MCP Server
mcp server for desi and other surveys
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"astro_mcp": {
"command": "python",
"args": [
"server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is DESI MCP Server?
An MCP server providing fast, comprehensive access to DESI (Dark Energy Spectroscopic Instrument) survey data through dual access methods: Data Lab SQL queries (default) and SPARCL client (backup). It is designed for AI assistants and researchers to search and retrieve DESI spectroscopic data.
How to use DESI MCP Server?
Install dependencies with pip install mcp sparclclient datalab. Run the server with python server.py. Configure as an MCP client using the JSON snippet provided. Invoke tools via MCP, e.g., search_objects(ra=9.9443, dec=41.7221, object_types=["GALAXY"]) or get_spectrum_by_id(sparcl_id="1270d3c4-9d36-11ee-94ad-525400ad1336", format="full").
Key features of DESI MCP Server
- Accurate distance sorting for coordinate searches
- No result limits via Data Lab SQL
- Fast queries with Q3C spatial indexing
- Cross-survey access (DESI + BOSS + SDSS) via SPARCL
- Complete spectral data with wavelength/flux arrays and uncertainties
- Async support for large datasets (>100k results)
Use cases of DESI MCP Server
- Search for DESI objects by coordinate (nearest, cone, box)
- Retrieve full spectrum data by SPARCL UUID for analysis
- Filter objects by type (galaxy, quasar, star), redshift, and data release
- Cross‑survey queries including BOSS and SDSS
FAQ from DESI MCP Server
What data does DESI MCP Server cover?
DESI DR1 (∼18+ million spectra), DESI EDR (∼1.8 million spectra), and cross‑surveys BOSS DR16, SDSS DR16 via SPARCL. Sky coverage ∼14,000 sq deg, wavelength range 360–980 nm, spectral resolution R∼2000–5500.
What are the runtime dependencies?
Requires Python packages: mcp, sparclclient, datalab, plus standard library modules (asyncio, json, logging).
Can I query large datasets without limits?
Yes. The default Data Lab SQL method has no result limits; async support is available for datasets larger than 100,000 results.
How do I switch between the two access methods?
By default the server uses Data Lab SQL. To use SPARCL for cross‑survey searches, set use_sparcl_client: true in your tool call.
Does the server sort coordinate search results by distance?
Yes. All coordinate searches are properly sorted by distance for accurate “nearest” results.
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
ghidraMCP
LaurieWiredMCP Server for Ghidra
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments