
HelioSPICE
io.github.huangzesen由 GitHub 帳號 huangzesen 發布v0.5.0更新於 Oct 27, 2026
Spacecraft ephemeris made easy — auto-managed SPICE kernels for heliophysics
概覽
本機 MCP 伺服器,以 SPICE 計算太空船與行星星曆,並自動下載與快取 NAIF 核心檔。
- 可以做什麼
- 取得太空船或自然天體相對於觀測者的位置、速度,或回傳軌跡時間序列(內嵌或 CSV)
- 計算兩個天體之間的距離
- 在 J2000、ECLIPJ2000、GSE、RTN 等座標系之間轉換向量
- 列出支援的探測任務與可用座標系
- 管理本機核心快取:下載、載入、檢視資訊與卸載核心
- 適用情境
- 適合需要太陽物理或行星幾何資訊的情境:查詢帕克太陽探測器、太陽軌道器、朱諾號、航海家號等任務在某時刻的位置,取得某段期間的軌跡表,或為分析進行座標系轉換。
- 執行需求
- 以本機 Python 程序執行;需安裝含 MCP 擴充的 PyPI 套件並啟動 xhelio-spice-mcp 指令。首次使用需連網從 NAIF 下載核心檔,快取於 ~/.xhelio_spice/kernels/(可用 XHELIO_SPICE_KERNEL_DIR 覆寫)。不需帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 HelioSPICE,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
xhelio-spice
Spacecraft ephemeris made easy — auto-managed SPICE kernels for heliophysics missions.
xhelio-spice wraps SpiceyPy with automatic kernel download, caching, and loading. Ask for a spacecraft position and xhelio-spice handles the rest: downloading the right NAIF kernels, loading them in the correct order, and returning results as Python dicts or pandas DataFrames.
Installation
For MCP server support (Claude Desktop, Claude Code, Cursor, etc.):
Quick Start
Kernels are automatically downloaded from NAIF on first use and cached in ~/.xhelio_spice/kernels/.
Supported Missions
With SPICE Kernels (auto-downloaded)
- PSP (Parker Solar Probe) — 2018-2030
- Solar Orbiter (SOLO) — 2020-2030
- STEREO-A — 2017-2031
- Juno — 2011-present (updated regularly)
- Voyager 1/2 — 1981-2100 / 1989-2100
- New Horizons — 2019-2030
NAIF IDs Only (no auto-download yet)
- ACE, Wind, DSCOVR, MMS (1-4) — no public SPK kernels exist
- Cassini, MAVEN — require multi-segment kernel loading (planned)
- Galileo, Pioneer 10/11, Ulysses, MESSENGER, STEREO-B
Natural Bodies
Sun, Earth, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto
API Reference
Position & Trajectory
Coordinate Transforms
Mission Registry
Kernel Management
Configuration
MCP Server
xhelio-spice includes an MCP server for LLM tool use:
Claude Desktop Configuration
Add to claude_desktop_config.json:
Available MCP Tools
MCP smoke test
For a CI-safe MCP check that does not request kernel downloads, run:
The smoke starts the stdio server with an isolated temporary kernel cache, runs
MCP initialize + list_tools, and verifies the advertised tool names.
License
MIT
來源:README.md,提交 9aeb318
工具
0版本歷史
1- v0.5.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分