astronomy-mcp-server
About
Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MCP_LOG_LEVEL ASTRONOMY_ENABLE_HORIZONS ASTRONOMY_ENABLE_SATELLITES ASTRONOMY_DEFAULT_TIMEZONEClaude Code
claude mcp add --env MCP_LOG_LEVEL= --env ASTRONOMY_ENABLE_HORIZONS= --env ASTRONOMY_ENABLE_SATELLITES= --env ASTRONOMY_DEFAULT_TIMEZONE= astronomy-mcp-server -- npx @cyanheads/astronomy-mcp-server
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"astronomy-mcp-server","command":"npx","args":["@cyanheads/astronomy-mcp-server"],"env":{"MCP_LOG_LEVEL":"","ASTRONOMY_ENABLE_HORIZONS":"","ASTRONOMY_ENABLE_SATELLITES":"","ASTRONOMY_DEFAULT_TIMEZONE":""}}'
JSON
{
"mcpServers": {
"astronomy-mcp-server": {
"command": "npx",
"args": [
"@cyanheads/astronomy-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "",
"ASTRONOMY_ENABLE_HORIZONS": "",
"ASTRONOMY_ENABLE_SATELLITES": "",
"ASTRONOMY_DEFAULT_TIMEZONE": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.