Astro MCP Server

A modular Model Context Protocol (MCP) server that provides unified access to multiple astronomical datasets through a clean, extensible architecture.

Local serverstdioPython

What is the Astro MCP Server?

Astro MCP becomes available to MCP clients through the Astro MCP. A modular Model Context Protocol (MCP) server that provides unified access to multiple astronomical datasets through a clean, extensible architecture.

What Astro MCP does

A modular Model Context Protocol (MCP) server that provides unified access to multiple astronomical datasets through a clean, extensible architecture.

Practical notes

  • Maintained by SandyYuan, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
search_objectsFind astronomical objects (DESI)
astroquery_queryUniversal queries across 40+ astronomical services
get_spectrum_by_idRetrieve detailed spectral data (DESI)
list_astroquery_servicesShow all available astronomical databases
get_astroquery_service_detailsDetailed service information
search_astroquery_servicesFind services by criteria
preview_dataInspect saved files with structure analysis
list_filesManage saved data across all sources
file_statisticsStorage usage and organization info
convert_to_fitsConvert data to FITS format

How to install the Astro MCP Server

{
  "mcpServers": {
    "astro-mcp": {
      "command": "/path/to/conda/envs/mcp/bin/python",
      "args": [
        "/path/to/astro_mcp/server.py"
      ],
      "cwd": "/path/to/astro_mcp",
      "env": {}
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Astro MCP to search objects.”
  • “Use Astro MCP to astroquery query.”
  • “Use Astro MCP to get spectrum by id.”

Frequently asked questions

A modular Model Context Protocol (MCP) server that provides unified access to multiple astronomical datasets through a clean, extensible architecture. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.