Astronomy MCP Server
by cyanheadsio.github.cyanheads/astronomy-mcp-serverv0.4.1
Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Astronomy MCP server
Install in Claude Code
claude mcp add astronomy-cyanheads -- npx -y @cyanheads/astronomy-mcp-serverInstall in Cursor
{
"mcpServers": {
"astronomy-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/astronomy-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"astronomy-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/astronomy-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"astronomy-cyanheads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/astronomy-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"astronomy-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/astronomy-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| ASTRONOMY_ENABLE_HORIZONS | — | — | Register 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_SATELLITES | — | — | Register the astronomy_get_satellite_passes tool, which predicts visible satellite passes from CelesTrak GP element sets propagated with SGP4. Off by default. |
| ASTRONOMY_DEFAULT_TIMEZONE | — | — | Fallback IANA timezone for observer-local output when a tool call omits `timezone`. Unset means UTC-only output. |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Remote endpoints
- streamable-http
https://astronomy.caseyjhand.com/mcp
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
2026-10-08 · 2d ago · GitHub · v0.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 2d ago · official registry · v0.4.1
FAQ
›How do I install the Astronomy MCP server in Claude Code?
Run: claude mcp add astronomy-cyanheads -- npx -y @cyanheads/astronomy-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Astronomy require an API key?
No required environment variables are declared in its published metadata.
›Can I use Astronomy as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Astronomy in the official MCP registry?
Yes, as io.github.cyanheads/astronomy-mcp-server.