Skip to content
MCP server

Astronomy MCP Server

Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.5.1
Listing updated
4 days ago

About Astronomy MCP Server

Astronomy MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Install

Run in a terminal

claude mcp add --transport http astronomy-mcp-server https://astronomy.caseyjhand.com/mcp

Add to Settings → Connectors → Add custom connector

https://astronomy.caseyjhand.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "astronomy-mcp-server": {
      "url": "https://astronomy.caseyjhand.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "astronomy-mcp-server": {
      "type": "http",
      "url": "https://astronomy.caseyjhand.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "astronomy-mcp-server": {
      "serverUrl": "https://astronomy.caseyjhand.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "astronomy-mcp-server": {
      "type": "http",
      "url": "https://astronomy.caseyjhand.com/mcp"
    }
  }
}

Configuration

  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • ASTRONOMY_ENABLE_HORIZONSRegister the astronomy_get_ephemeris tool, which fetches small-body and spacecraft ephemerides from JPL Horizons. Off by default; the core is keyless and offline.
  • ASTRONOMY_ENABLE_SATELLITESRegister the astronomy_get_satellite_passes tool, which predicts visible satellite passes from CelesTrak GP element sets propagated with SGP4. Off by default.
  • ASTRONOMY_DEFAULT_TIMEZONEFallback IANA timezone for observer-local output when a tool call omits `timezone`. Unset means UTC-only output.
  • MCP_TRANSPORT_TYPESelects the HTTP transport.
  • MCP_HTTP_HOSTThe hostname for the HTTP server.
  • MCP_HTTP_PORTThe port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
  • MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • ASTRONOMY_ENABLE_HORIZONSRegister the astronomy_get_ephemeris tool, which fetches small-body and spacecraft ephemerides from JPL Horizons. Off by default; the core is keyless and offline.
  • ASTRONOMY_ENABLE_SATELLITESRegister the astronomy_get_satellite_passes tool, which predicts visible satellite passes from CelesTrak GP element sets propagated with SGP4. Off by default.
  • ASTRONOMY_DEFAULT_TIMEZONEFallback IANA timezone for observer-local output when a tool call omits `timezone`. Unset means UTC-only output.

Pricing

Open source

Astronomy MCP Server FAQ

Is Astronomy MCP Server free?

Yes. Astronomy MCP Server is open source, so you can use and self-host it for free.

How do I add Astronomy MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http astronomy-mcp-server https://astronomy.caseyjhand.com/mcp