@ryancardin/noaa-tides-currents-mcp-server
Version:
MCP Server that interfaces with NOAA Tides and Currents API using FastMCP
35 lines (34 loc) • 1.16 kB
TypeScript
import { MoonPhaseParams, MoonPhasesRangeParams, NextMoonPhaseParams } from '../interfaces/moon.js';
import { MoonPhaseInfo } from '../types/moon.js';
/**
* Service for moon phase calculations
*/
export declare class MoonPhaseService {
/**
* Get the moon phase for a specific date
* @param params Parameters for the request
* @returns Moon phase information
*/
getMoonPhase(params: MoonPhaseParams): MoonPhaseInfo;
/**
* Get moon phases for a date range
* @param params Parameters for the request
* @returns Array of moon phase information
*/
getMoonPhasesRange(params: MoonPhasesRangeParams): MoonPhaseInfo[];
/**
* Get the next occurrence(s) of a specific moon phase
* @param params Parameters for the request
* @returns Array of dates for the next occurrences of the specified phase
*/
getNextMoonPhase(params: NextMoonPhaseParams): {
date: string;
phase: string;
}[];
/**
* Get the moon phase name based on the phase value (0-1)
* @param phase Phase value (0-1)
* @returns Moon phase name
*/
private getMoonPhaseName;
}