Tools

Sunrise & Sunset MCP Server

Use Studio chat to drive this server — credentials stay in your workspace.

Calculate sunrise, sunset, dawn, dusk, solar noon, twilight phases, day length, and moon phase for any location and date. Pure astronomical computation — no API calls, no rate limits, works offline.

5 tools
Agent guide included
No auth required
Try it Free

No account needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for Sunrise & Sunset — workflow patterns, data models, and gotchas for your AI agent.

Sunrise & Sunset

Compute sunrise, sunset, dawn, dusk, solar noon, twilight phases, day length, and moon phase for any latitude/longitude and date. All calculations use the Meeus astronomical algorithms — no external API, no rate limits, instant results.

Data Model

  • Sun events — sunrise, sunset, solar noon, dawn (civil/nautical/astronomical), dusk (civil/nautical/astronomical), day length.
  • Moon phase — current phase name and illumination percentage for the given date.
  • Location — specified by latitude (-90 to 90) and longitude (-180 to 180) in decimal degrees.
  • Timezone — results returned in the requested timezone (defaults to UTC).

Gotchas

  • Polar regions: Locations above ~66° latitude may have no sunrise/sunset on certain dates (midnight sun or polar night). The tool reports these conditions explicitly.
  • Timezone names: Use IANA timezone identifiers (e.g. "America/New_York", "Europe/London", "Asia/Tokyo"). Invalid timezone names fall back to UTC.
  • Date format: Accepts YYYY-MM-DD. Defaults to today (UTC) if omitted.

Tools in this Server (5)

Sunrise Sunset Batch Dates

Get sunrise and sunset times for a range of consecutive dates at a location. Useful for trip planning, outdoor event scheduling, or tracking daylight ...

Sunrise Sunset Daylight Info

Get daylight duration analytics for a location: day length, change from yesterday (gaining or losing daylight), and comparison to the solstice extreme...

Sunrise Sunset Get Sun Times

Get sunrise, sunset, dawn, dusk, solar noon, and all twilight times (civil, nautical, astronomical) for any location and date. Uses astronomical calcu...

Sunrise Sunset Golden Hour

Get golden hour and blue hour times for a location. Essential for photography planning. Returns morning and evening golden hour windows and blue hour ...

Sunrise Sunset Moon Phase

Get the moon phase for any date. Returns the phase name (New Moon, Waxing Crescent, First Quarter, etc.), phase value (0-27.99), and illumination perc...

Frequently Asked Questions

What is the Sunrise & Sunset MCP server?

Calculate sunrise, sunset, dawn, dusk, solar noon, twilight phases, day length, and moon phase for any location and date. Pure astronomical computation — no API calls, no rate limits, works offline. It provides 5 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Sunrise & Sunset to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/sunrise-sunset. Authentication is handled automatically.

How many tools does Sunrise & Sunset provide?

Sunrise & Sunset provides 5 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does Sunrise & Sunset require?

Sunrise & Sunset uses open data APIs — no authentication required.

Setup Instructions

Connect Sunrise & Sunset to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/sunrise-sunset

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to chat with Sunrise & Sunset?

Same flow: Studio opens on this server after sign-in. Keep chatting to call tools from the conversation.

Sunrise & Sunset MCP Server & Skill — 5 Tools