Celestial Position MCP Server

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.

天体MCP

天体の位置、日の出/日の入り時刻、その他の天文データを計算するためのツールを提供する、Claude AI 用のモデル コンテキスト プロトコル (MCP) サーバー。

概要

CelestialMCPはmcpフレームワークで構築されており、天文学エンジンライブラリを活用して正確な天文計算を提供します。天体の位置を特定したり、天体の出入り時刻を計算したり、恒星や深宇宙の天体カタログから利用可能な天体をリストアップしたりするためのツールが複数用意されています。

特徴

  • 天体位置計算:地球上の指定された場所から任意の天体の高度と方位座標を取得します
  • 日の出・日の入り時刻の計算:特定の場所から天体が昇る時刻、通過する時刻、沈む時刻を調べます
  • 詳細な天体情報: 次のような天体に関する総合的な情報が得られます:
    • 距離(太陽系の天体の場合)
    • 満ち欠け情報(月と惑星)
    • 今後の月の満ち欠け(月の場合)
  • 広範なオブジェクトカタログ: 含まれるもの:
    • 太陽系の天体(太陽、月、惑星)
    • HYGデータベースからの5,500以上の星
    • NGCカタログの14,000以上の深宇宙天体

ツール

パッケージには 3 つの主なツールが含まれています。

  1. getCelestialPosition : 天体の高度/方位座標を計算します
  2. getCelestialDetails : 天体に関する詳細情報を提供します
  3. listCelestialObjects : カテゴリ別に利用可能な天体のリストを返します。

クイックスタート

# Install dependencies npm install # Build the project npm run build # Start the server npm start

Claude Desktopでの使用

地域開発

この構成を Claude Desktop 構成ファイルに追加します。

Windows : %APPDATA%/Claude/claude_desktop_config.json MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "CelestialMCP": { "command": "node", "args":["/absolute/path/to/CelestialMCP/dist/index.js"] } } }

カタログデータ

このプロジェクトには、天文学カタログデータを取得するためのスクリプトが含まれています。

# Fetch star and deep sky object catalogs npm run fetch-catalogs

これにより、HYG 星データベースと NGC 深空オブジェクト カタログがdata/ディレクトリにダウンロードされます。

ツールの使用

Claude のツールの使用例をいくつか紹介します。

オブジェクトの位置を取得する

クロードに質問します。「バンクーバーから見た木星の現在の位置は?」

オブジェクトの詳細を取得する

クロードに質問します。「今日バンクーバーでは月はいつ昇り、いつ沈みますか?」

利用可能なオブジェクトのリスト

クロードに質問します。「調べられる星のリストを見せてください。」

プロジェクト構造

CelestialMCP/ ├── src/ │ ├── tools/ # MCP Tools │ │ ├── CelestialPositionTool.ts │ │ ├── CelestialDetailsTool.ts │ │ └── ListCelestialObjectsTool.ts │ ├── utils/ │ │ └── astronomy.ts # Core astronomy calculations │ ├── config.ts # Observer configuration │ └── index.ts # Server entry point ├── scripts/ │ └── fetch-catalogs.js # Script to download star catalogs ├── data/ # Catalog data files │ ├── hygdata_v41.csv # HYG star database │ └── ngc.csv # New General Catalogue ├── package.json └── tsconfig.json

デフォルト設定

デフォルトでは、オブザーバーの場所はカナダのバンクーバーに設定されています。これはsrc/config.tsで変更できます。

export const OBSERVER_CONFIG = { latitude: 49.2827, // Observer latitude longitude: -123.1207, // Observer longitude altitude: 30, // Observer altitude in meters temperature: 15, // Default temperature in Celsius pressure: 1013.25 // Default pressure in hPa };

ライセンス

マサチューセッツ工科大学

謝辞

  • 中核的な天文学計算のための天文学エンジン
  • MCP サーバー実装用のmcp-framework
  • 星データのHYGデータベース
  • 深宇宙天体データ用のOpenNGC

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

システム時間と構成可能な場所に基づいて、惑星、117,000 個を超える星、14,000 個の深宇宙オブジェクトを含む天体の高度方位座標を提供します。

  1. Overview
    1. Features
    2. Tools
  2. Quick Start
    1. Using with Claude Desktop
      1. Local Development
      2. Catalog Data
    2. Tool Usage
      1. Getting Object Position
      2. Getting Object Details
      3. Listing Available Objects
    3. Project Structure
      1. Default Configuration
        1. License
          1. Acknowledgements

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A 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 -
              24
              104
              23
              TypeScript
              ISC License
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A 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 -
              47
              JavaScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              An 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
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables efficient discovery and retrieval of NASA Earth Data for geospatial analysis.
              Last updated -
              10
              Python
              BSD 3-Clause
              • Linux

            View all related MCP servers

            ID: 77u8rgvmfo