Astronomy Oracle

io.github.gregario由 GitHub 帳號 gregario 發布v0.1.0更新於 Oct 24, 2026

Astronomical catalog data and observing session planner. 13,000+ objects from OpenNGC.

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,為助理提供離線 OpenNGC 深空天體目錄與確定性天文計算,用於天體查詢、目錄搜尋和觀測計畫。

可以做什麼
依梅西爾編號、NGC/IC 編號或通用名稱查詢天體,可附帶指定地點和時間的方位角、高度角及升起、中天、落下時間。依天體類型、星座、星等範圍、角大小或所屬星表搜尋與篩選目錄,回傳依亮度排序的表格。為指定地點和日期產生觀測計畫,將最佳天體依傍晚、午夜和黎明前三段時間分組並依可觀測性評分。
適用情境
當助理需要準確的深空天體資料或可見性計算而不是猜測星等和座標時,或需要為特定地點和日期規劃一晚觀測時使用。
執行需求
透過 stdio 在本機執行,通常使用 npx 或全域 npm 安裝,因此需要 Node.js。無需帳號、API 金鑰或網路存取;所有目錄資料和計算皆內建並在本機完成。
安裝前請注意
僅提供唯讀查詢和計算,不涉及憑證、付款或資料寫入。目錄資料來自 OpenNGC,採用 CC-BY-SA 4.0 授權,重複使用資料時須遵守姓名標示和相同方式分享條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Astronomy Oracle,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[License: MIT] [npm version] [npm downloads] [Node.js 18+] [MCP Compatible] [Sponsor] [astronomy-oracle MCP server]

[astronomy-oracle MCP server]

Astronomy Oracle

Accurate astronomical catalog data and observing session planner for LLM assistants. Stops hallucinated magnitudes, coordinates, and visibility.

Features

  • 3 tools for object lookup, catalog search, and observing session planning
  • 13,000+ deep-sky objects from the OpenNGC catalog (NGC, IC, Messier, and addendum objects)
  • Deterministic astronomy math — Julian dates, sidereal time, alt/az conversion, rise/transit/set times
  • Zero network dependency — all data is bundled, all calculations are local

Install

Run directly with npx:

bash
npx astronomy-oracle

Or install globally:

bash
npm install -g astronomy-oracle

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "astronomy-oracle": {      "command": "npx",      "args": ["-y", "astronomy-oracle"]    }  }}

Claude Code

bash
claude mcp add astronomy-oracle -- npx -y astronomy-oracle

Tool Reference

lookup_object

Look up a celestial object by Messier number, NGC/IC designation, or common name. Optionally compute visibility from a given location and time.

json
{  "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_objects

Search and filter the catalog by type, constellation, magnitude range, angular size, or catalog membership.

json
{  "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_session

Generate an observing session plan for a given location and date. Returns the best objects to observe grouped by time window.

json
{  "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.

Data Sources

SourceLicenseDescription
OpenNGCCC-BY-SA 4.0NGC/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.

Development

bash
# Run testsnpm test
# Buildnpm run build
# Run in development mode (tsx)npm run dev
# Open MCP Inspectornpm run inspect

License

MIT for code. CC-BY-SA 4.0 for OpenNGC data.

來源:README.md,提交 7b5e6d7

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分