Moon Phase icon

Moon Phase

Calculates moon phases and illumination based on date and time, providing a clear example of an MCP server.

关于

Explore the intricacies of the Model Context Protocol (MCP) with this straightforward server, designed as a learning resource without external dependencies or SDKs. It accurately computes moon age and illumination percentages, accepting specific dates or using the current time. The server communicates via standard I/O using JSON-RPC and provides MCP tool definitions, making it an excellent starting point for anyone looking to understand how MCP servers function from the ground up.

主要功能

  • 0 GitHub stars
  • Calculates moon age (days since last new moon)
  • Calculates illumination percentage (0-100%)
  • Accepts specific datetime or uses current time
  • Communicates via stdio using JSON-RPC format
  • Provides MCP tool definitions for discovery

使用案例

  • Learning about MCP server implementation and mechanics
  • Integrating moon phase calculations into applications via a standardized protocol
  • Demonstrating Model Context Protocol functionality with a self-contained example
Advertisement

Advertisement