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.