Feedback

Mcp Stargazing

@stargazer1995 Claim

Basic information

Category
License
MIT License
Transports
stdio
Author
stargazer1995
Submitted by
Community
Quality
10

About Mcp Stargazing Server

# mcp-stargazing

Mcp Stargazing is a MCP server in the Other category listed in the AddMCP.net directory, published by StarGazer1995. It exposes 11 tools, including get_celestial_pos, get_celestial_rise_set, get_moon_info, get_visible_planets and more. Supported transport: stdio. License: MIT License. Source code is hosted on github.com. Related topics: math-assistant, math-solver, mathgpt.

Setup

{
    "mcpServers": {
        "mcp-stargazing": {
            "isActive": true,
            "name": "mcp-stargazing",
            "command": "uvx",
            "args": [
                "mcp-stargazing"
            ]
        }
    }
}

Mcp Stargazing config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-stargazing": {
            "isActive": true,
            "name": "mcp-stargazing",
            "command": "uvx",
            "args": [
                "mcp-stargazing"
            ]
        }
    }
}

Mcp Stargazing tools

  • get_celestial_pos — Calculate the altitude and azimuth angles of a celestial object.
    celestial_object:string*, lat:number*, lon:number*, time:string*, time_zone:string*
  • get_celestial_rise_set — Calculate the rise and set times of a celestial object.
    celestial_object:string*, lat:number*, lon:number*, time:string*, time_zone:string*
  • get_moon_info — Get detailed information about the Moon's phase and position.
    time:string*, time_zone:string*
  • get_visible_planets — Get a list of solar system planets currently visible (above horizon).
    lat:number*, lon:number*, time:string*, time_zone:string*
  • get_constellation — Get the position (altitude/azimuth) of the center of a constellation.
    constellation_name:string*, lat:number*, lon:number*, time:string*, time_zone:string*
  • get_nightly_forecast — Get a curated list of best objects to view for the night.
    lat:number*, limit:integer, lon:number*, time:string*, time_zone:string*
  • get_weather_by_name — Fetches weather data for a specified location by its name using the QWeather API.
    place_name:string*
  • get_weather_by_position — Fetches weather data for a specified location by its geographic coordinates (latitude and longitude) using the QWeather API.
    lat:number*, lon:number*
  • light_pollution_map — Get light pollution data for a specific area. Returns a grid of light pollution data points including brightness, Bortle class, and SQM.
    east:number*, north:number*, south:number*, west:number*, zoom:integer
  • analysis_area — Analyze a geographic area for suitable stargazing locations. This tool searches for dark, accessible locations with good viewing conditions. Results are cached based on search parameters.
    db_config_path:string, east:number*, max_locations:integer, min_height_diff:number, network_type:string, north:number*, page:integer, page_size:integer, road_radius_km:number, south:number*, west:number*
  • get_local_datetime_info — Retrieve the current datetime and timezone. Returns: Dict with keys "data", "_meta". "data" contains "current_time" (ISO string).
    (no parameters)

Overview

What is Mcp Stargazing?

Mcp Stargazing calculates the altitude, azimuth, rise, and set times of celestial objects (Sun, Moon, planets, stars, and deep-space objects) for any location on Earth. It is a Python library designed for astronomers, educators, and anyone needing precise celestial positions.

How to use Mcp Stargazing?

Install dependencies with pip install astropy pytz numpy astroquery. Then use the functions celestial_pos and celestial_rise_set from the src.celestial module, passing an observer location (as an astropy.coordinates.EarthLocation), a timezone-aware datetime, and the celestial object name.

Key features of Mcp Stargazing

  • Altitude/azimuth calculation for any celestial object
  • Rise/set times with configurable horizon elevation
  • Supports solar system objects, stars, and deep-space objects
  • Time zone aware – works with local or UTC times
  • Returns UTC times for rise and set events

Use cases of Mcp Stargazing

  • Plan an evening of stargazing by knowing when planets and stars will be visible
  • Compute the Sun’s position for solar panel alignment or photography
  • Determine moonrise/moonset for outdoor event planning
  • Simulate celestial positions for educational demonstrations

Frequently asked questions

1 What celestial objects are supported?

Solar system objects (Sun, Moon, planets), named stars (e.g., "sirius"), and deep-space objects (e.g., "andromeda", "orion_nebula").

2 What are the required dependencies?

The package requires astropy, pytz, numpy, and astroquery. Install them via pip.

3 How are rise and set times returned?

celestial_rise_set returns two astropy.time.Time objects (rise and set) in UTC. You can convert them to local time as needed.

4 Does Mcp Stargazing support time zones?

Yes. All input times should be timezone-aware datetimes (or an Astropy Time object). The outputs are in UTC.

5 What is horizon in rise/set calculation?

The horizon parameter (default 0°) defines the elevation angle above which the object is considered “risen”. Use a negative value for civil twilight, etc.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬