@ryancardin/noaa-tides-currents-mcp-server
Version:
MCP Server that interfaces with NOAA Tides and Currents API using FastMCP
199 lines (198 loc) • 9.39 kB
TypeScript
import { z } from 'zod';
export declare const AffiliationSchema: z.ZodOptional<z.ZodEnum<["Global", "US"]>>;
export declare const ScenarioSchema: z.ZodOptional<z.ZodEnum<["all", "low", "intermediate-low", "intermediate", "intermediate-high", "high", "extreme"]>>;
export declare const SeasonSchema: z.ZodOptional<z.ZodEnum<["DJF", "MAM", "JJA", "SON"]>>;
export declare const DpapiDatumSchema: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
export declare const ThresholdSchema: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
export declare const DecadeSchema: z.ZodOptional<z.ZodString>;
export declare const YearSchema: z.ZodOptional<z.ZodString>;
export declare const YearRangeSchema: z.ZodOptional<z.ZodString>;
export declare const SeaLevelTrendsSchema: z.ZodObject<{
station: z.ZodString;
affil: z.ZodOptional<z.ZodEnum<["Global", "US"]>>;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
}, "strip", z.ZodTypeAny, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
affil?: "Global" | "US" | undefined;
}, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
affil?: "Global" | "US" | undefined;
}>;
export declare const ExtremeWaterLevelsSchema: z.ZodObject<{
station: z.ZodString;
units: z.ZodOptional<z.ZodEnum<["english", "metric"]>>;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
}, "strip", z.ZodTypeAny, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
units?: "english" | "metric" | undefined;
}, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
units?: "english" | "metric" | undefined;
}>;
export declare const HighTideFloodingDailySchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
begin_date: z.ZodOptional<z.ZodString>;
end_date: z.ZodOptional<z.ZodString>;
year: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}>;
export declare const HighTideFloodingMonthlySchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
begin_date: z.ZodOptional<z.ZodString>;
end_date: z.ZodOptional<z.ZodString>;
year: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}>;
export declare const HighTideFloodingSeasonalSchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
season_months: z.ZodOptional<z.ZodEnum<["DJF", "MAM", "JJA", "SON"]>>;
begin_date: z.ZodOptional<z.ZodString>;
end_date: z.ZodOptional<z.ZodString>;
year: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
season_months?: "DJF" | "MAM" | "JJA" | "SON" | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
year?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
season_months?: "DJF" | "MAM" | "JJA" | "SON" | undefined;
}>;
export declare const HighTideFloodingAnnualSchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
begin_date: z.ZodOptional<z.ZodString>;
end_date: z.ZodOptional<z.ZodString>;
year_range: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
year_range?: string | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
format?: "json" | "xml" | "csv" | undefined;
end_date?: string | undefined;
begin_date?: string | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
year_range?: string | undefined;
}>;
export declare const HighTideFloodingProjectionsSchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
scenario: z.ZodOptional<z.ZodEnum<["all", "low", "intermediate-low", "intermediate", "intermediate-high", "high", "extreme"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
decade: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
format?: "json" | "xml" | "csv" | undefined;
scenario?: "all" | "high" | "low" | "intermediate-low" | "intermediate" | "intermediate-high" | "extreme" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
decade?: string | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
format?: "json" | "xml" | "csv" | undefined;
scenario?: "all" | "high" | "low" | "intermediate-low" | "intermediate" | "intermediate-high" | "extreme" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
decade?: string | undefined;
}>;
export declare const HighTideFloodingLikelihoodsSchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
threshold: z.ZodOptional<z.ZodEnum<["minor", "moderate", "major"]>>;
date: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
date?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}, {
station: string;
threshold?: "minor" | "moderate" | "major" | undefined;
date?: string | undefined;
format?: "json" | "xml" | "csv" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
}>;
export declare const TopTenWaterLevelsSchema: z.ZodObject<{
station: z.ZodString;
format: z.ZodOptional<z.ZodEnum<["json", "xml", "csv"]>>;
datum: z.ZodOptional<z.ZodEnum<["STND", "MLLW", "MHHW", "GT", "MSL", "MLW", "MHW"]>>;
units: z.ZodOptional<z.ZodEnum<["english", "metric"]>>;
analysis_type: z.ZodOptional<z.ZodEnum<["highest", "lowest"]>>;
}, "strip", z.ZodTypeAny, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
units?: "english" | "metric" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
analysis_type?: "highest" | "lowest" | undefined;
}, {
station: string;
format?: "json" | "xml" | "csv" | undefined;
units?: "english" | "metric" | undefined;
datum?: "MHHW" | "MHW" | "MSL" | "MLW" | "MLLW" | "STND" | "GT" | undefined;
analysis_type?: "highest" | "lowest" | undefined;
}>;