{
  "markdown": "<p align=\"center\">\n  <a href=\"https://opensource.org/licenses/MIT\"><img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\"></a>\n  <a href=\"https://www.npmjs.com/package/astronomy-oracle\"><img src=\"https://img.shields.io/npm/v/astronomy-oracle.svg\" alt=\"npm version\"></a>\n  <a href=\"https://www.npmjs.com/package/astronomy-oracle\"><img src=\"https://img.shields.io/npm/dm/astronomy-oracle.svg\" alt=\"npm downloads\"></a>\n  <a href=\"https://nodejs.org\"><img src=\"https://img.shields.io/badge/node-18%2B-brightgreen.svg\" alt=\"Node.js 18+\"></a>\n  <a href=\"https://modelcontextprotocol.io\"><img src=\"https://img.shields.io/badge/MCP-compatible-purple.svg\" alt=\"MCP Compatible\"></a>\n  <a href=\"https://github.com/sponsors/gregario\"><img src=\"https://img.shields.io/badge/sponsor-%E2%99%A5-ea4aaa.svg\" alt=\"Sponsor\"></a>\n  <a href=\"https://glama.ai/mcp/servers/gregario/astronomy-oracle\"><img src=\"https://glama.ai/mcp/servers/gregario/astronomy-oracle/badges/score.svg\" alt=\"astronomy-oracle MCP server\"></a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://glama.ai/mcp/servers/gregario/astronomy-oracle\"><img src=\"https://glama.ai/mcp/servers/gregario/astronomy-oracle/badges/card.svg\" alt=\"astronomy-oracle MCP server\"></a>\n</p>\n\n# Astronomy Oracle\n\nAccurate astronomical catalog data and observing session planner for LLM assistants. Stops hallucinated magnitudes, coordinates, and visibility.\n\n## Features\n\n- **3 tools** for object lookup, catalog search, and observing session planning\n- **13,000+ deep-sky objects** from the OpenNGC catalog (NGC, IC, Messier, and addendum objects)\n- **Deterministic astronomy math** — Julian dates, sidereal time, alt/az conversion, rise/transit/set times\n- **Zero network dependency** — all data is bundled, all calculations are local\n\n## Install\n\nRun directly with npx:\n\n```bash\nnpx astronomy-oracle\n```\n\nOr install globally:\n\n```bash\nnpm install -g astronomy-oracle\n```\n\n## Configuration\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"astronomy-oracle\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"astronomy-oracle\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\n```bash\nclaude mcp add astronomy-oracle -- npx -y astronomy-oracle\n```\n\n## Tool Reference\n\n### `lookup_object`\n\nLook up a celestial object by Messier number, NGC/IC designation, or common name. Optionally compute visibility from a given location and time.\n\n```json\n{\n  \"name\": \"lookup_object\",\n  \"arguments\": {\n    \"name\": \"M31\",\n    \"latitude\": 51.5,\n    \"longitude\": -0.1,\n    \"date\": \"2025-06-15T22:00:00Z\"\n  }\n}\n```\n\nReturns 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.\n\n### `search_objects`\n\nSearch and filter the catalog by type, constellation, magnitude range, angular size, or catalog membership.\n\n```json\n{\n  \"name\": \"search_objects\",\n  \"arguments\": {\n    \"type\": \"PN\",\n    \"constellation\": \"Lyr\",\n    \"maxMagnitude\": 12.0,\n    \"limit\": 10\n  }\n}\n```\n\nReturns 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).\n\n### `plan_session`\n\nGenerate an observing session plan for a given location and date. Returns the best objects to observe grouped by time window.\n\n```json\n{\n  \"name\": \"plan_session\",\n  \"arguments\": {\n    \"latitude\": 40.7,\n    \"longitude\": -74.0,\n    \"date\": \"2025-03-20\",\n    \"minAltitude\": 20,\n    \"maxMagnitude\": 10.0,\n    \"types\": [\"G\", \"PN\", \"GCl\"]\n  }\n}\n```\n\nReturns objects grouped into three windows (evening, midnight, pre-dawn), scored by observability based on altitude, magnitude, and angular size.\n\n## Data Sources\n\n| Source | License | Description |\n| --- | --- | --- |\n| [OpenNGC](https://github.com/mattiaverga/OpenNGC) | CC-BY-SA 4.0 | NGC/IC/Messier catalog with coordinates, magnitudes, dimensions, and cross-references |\n\nThe OpenNGC data is included under the Creative Commons Attribution-ShareAlike 4.0 International License. See the [OpenNGC repository](https://github.com/mattiaverga/OpenNGC) for full attribution.\n\n## Development\n\n```bash\n# Run tests\nnpm test\n\n# Build\nnpm run build\n\n# Run in development mode (tsx)\nnpm run dev\n\n# Open MCP Inspector\nnpm run inspect\n```\n\n## License\n\nMIT for code. CC-BY-SA 4.0 for OpenNGC data.\n",
  "bytes": 4487,
  "sha": "14fa0b873e26b92fd78b73c822774f6155e5521b1e5ba1e209acf3cb3d5527e9",
  "repo_slug": "gregario/astronomy-oracle",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_gregario_astronomy_oracle_6012000a/readme"
}