Integrations
Referenced as part of a configuration example showing how to combine with other MCP servers, specifically the Brave Search server which requires an API key.
Used as the runtime environment for the MCP server, allowing it to be started and run with the appropriate commands.
Used for package management and running scripts for the MCP server, including installation of dependencies and build processes.
CelestialMCP
Claude AI 的模型上下文协议 (MCP) 服务器提供用于计算天体位置、升起/落下时间和其他天文数据的工具。
概述
CelestialMCP 基于 mcp-framework 构建,并利用 astronomy-engine 库提供精确的天文计算。它提供了多种工具,用于确定天体位置、计算其升起和落下时间,以及列出恒星和深空天体目录中可用的天体。
特征
- 天体位置计算:从地球上的指定位置获取任何天体的高度和方位坐标
- 升起/落下时间计算:查找天体从特定位置升起、过境和落下的时间
- 详细物体信息:获取有关天体的全面信息,包括:
- 距离(对于太阳系物体)
- 相位信息(月球和行星)
- 即将到来的月相(月亮)
- 广泛的对象目录:包括:
- 太阳系天体(太阳、月亮、行星)
- 来自 HYG 数据库的 5,500 多颗星
- NGC 目录中的 14,000 多个深空天体
工具
该软件包包含三个主要工具:
- getCelestialPosition :计算天体的高度/方位角坐标
- getCelestialDetails :提供有关天体的详细信息
- listCelestialObjects :按类别返回可用天体的列表
快速入门
与 Claude Desktop 一起使用
本地开发
将此配置添加到您的 Claude Desktop 配置文件:
Windows : %APPDATA%/Claude/claude_desktop_config.json
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
目录数据
该项目包括一个用于获取天文目录数据的脚本:
这会将 HYG 星数据库和 NGC 深空天体目录下载到data/
目录。
工具使用
以下是使用 Claude 工具的一些示例:
获取对象位置
问克劳德:“从温哥华看,木星现在在天空中的什么位置?”
获取对象详细信息
问克劳德:“今天温哥华的月亮什么时候升起和落下?”
列出可用对象
问克劳德:“给我一份我可以查找的星星列表。”
项目结构
默认配置
默认情况下,观察者的位置设置为加拿大温哥华。你可以在src/config.ts
中更改此设置:
执照
麻省理工学院
致谢
- 用于核心天文计算的天文引擎
- mcp-framework用于 MCP 服务器实现
- HYG 星体数据数据库
- OpenNGC 用于深空天体数据
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
根据系统时间和可配置位置提供包括行星、超过 117,000 颗恒星和 14,000 个深空天体在内的天体的高度-方位角坐标。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides a standardized interface for AI models to interact with NASA's vast array of data sources including APOD, Mars Rover photos, satellite imagery, and space weather data.Last updated -2410423TypeScriptISC License
- -securityAlicense-qualityA feature-rich NASA data query tool that supports various NASA API services including astronomy pictures, Mars rover photos, Earth satellite images, near-Earth objects data, and space weather information through natural language queries.Last updated -47JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that provides AI assistants with access to Astro documentation, enabling them to search and reference Astro docs when helping users with Astro-related tasks.Last updated -JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables efficient discovery and retrieval of NASA Earth Data for geospatial analysis.Last updated -10PythonBSD 3-Clause