Skip to main content
Glama

Celestial Position MCP Server

by Rkm1999

天体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
Install Server
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. 概要
    1. 特徴
    2. ツール
  2. クイックスタート
    1. Claude Desktopでの使用
      1. 地域開発
      2. カタログデータ
    2. ツールの使用
      1. オブジェクトの位置を取得する
      2. オブジェクトの詳細を取得する
      3. 利用可能なオブジェクトのリスト
    3. プロジェクト構造
      1. デフォルト設定
        1. ライセンス
          1. 謝辞

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Fetches tide information for any location using latitude and longitude, providing detailed tide data including high/low tides and station information with automatic UTC time zone handling.
              Last updated -
              1
              12
              Python
              MIT License
              • Apple
            • -
              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 -
              1
              2
              JavaScript
              MIT License
            • A
              security
              F
              license
              A
              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 -
              1
              1
              JavaScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              Calculate the altitude, rise, and set times of celestial objects (Sun, Moon, planets, stars, and deep-space objects) for any location on Earth.
              Last updated -
              Python
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rkm1999/CelestialMCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server