Bundles 13,000+ deep sky objects from OpenNGC and runs all astronomy calculations locally with no API calls. Exposes three tools: lookup_object for detailed data on Messier, NGC, and IC objects with optional visibility computation, search_objects for filtering by type, constellation, magnitude, or size, and plan_session for generating observing lists optimized by altitude and time window. All coordinate transforms, rise/set times, and sidereal calculations happen deterministically in your runtime. Reach for this when you need Claude to stop hallucinating object magnitudes and coordinates, or when planning what's actually visible from your backyard tonight. Works offline once installed via npx.
Accurate astronomical catalog data and observing session planner for LLM assistants. Stops hallucinated magnitudes, coordinates, and visibility.
Run directly with npx:
npx astronomy-oracle
Or install globally:
npm install -g astronomy-oracle
Add to your claude_desktop_config.json:
{
"mcpServers": {
"astronomy-oracle": {
"command": "npx",
"args": ["-y", "astronomy-oracle"]
}
}
}
claude mcp add astronomy-oracle -- npx -y astronomy-oracle
lookup_objectLook up a celestial object by Messier number, NGC/IC designation, or common name. Optionally compute visibility from a given location and time.
{
"name": "lookup_object",
"arguments": {
"name": "M31",
"latitude": 51.5,
"longitude": -0.1,
"date": "2025-06-15T22:00:00Z"
}
}
Returns detailed object data: type, coordinates (RA/Dec), magnitude, angular size, surface brightness, Hubble type, cross-references, and (when location is provided) current altitude/azimuth with rise/transit/set times.
search_objectsSearch and filter the catalog by type, constellation, magnitude range, angular size, or catalog membership.
{
"name": "search_objects",
"arguments": {
"type": "PN",
"constellation": "Lyr",
"maxMagnitude": 12.0,
"limit": 10
}
}
Returns a formatted table of matching objects sorted by brightness. Supports filtering by object type (Galaxy, Planetary Nebula, Open Cluster, etc.), constellation, magnitude range, minimum angular size, and catalog (Messier, Caldwell, NGC, IC).
plan_sessionGenerate an observing session plan for a given location and date. Returns the best objects to observe grouped by time window.
{
"name": "plan_session",
"arguments": {
"latitude": 40.7,
"longitude": -74.0,
"date": "2025-03-20",
"minAltitude": 20,
"maxMagnitude": 10.0,
"types": ["G", "PN", "GCl"]
}
}
Returns objects grouped into three windows (evening, midnight, pre-dawn), scored by observability based on altitude, magnitude, and angular size.
| Source | License | Description |
|---|---|---|
| OpenNGC | CC-BY-SA 4.0 | NGC/IC/Messier catalog with coordinates, magnitudes, dimensions, and cross-references |
The OpenNGC data is included under the Creative Commons Attribution-ShareAlike 4.0 International License. See the OpenNGC repository for full attribution.
# Run tests
npm test
# Build
npm run build
# Run in development mode (tsx)
npm run dev
# Open MCP Inspector
npm run inspect
MIT for code. CC-BY-SA 4.0 for OpenNGC data.
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json