UNPKG

@gviper/alphavantage-mcp

Version:

MCP (Model Context Protocol) server for Alpha Vantage financial data API

100 lines 3.64 kB
import { z } from 'zod'; import { Crypto } from '@gviper/alphavantage-api'; declare const CryptoIntradayParamsSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; interval: z.ZodEnum<["1min", "5min", "15min", "30min", "60min"]>; outputsize: z.ZodOptional<z.ZodEnum<["compact", "full"]>>; datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>; }, "strip", z.ZodTypeAny, { symbol: string; interval: "1min" | "5min" | "15min" | "30min" | "60min"; market: string; outputsize?: "compact" | "full" | undefined; datatype?: "json" | "csv" | undefined; }, { symbol: string; interval: "1min" | "5min" | "15min" | "30min" | "60min"; market: string; outputsize?: "compact" | "full" | undefined; datatype?: "json" | "csv" | undefined; }>; declare const CryptoTimeSeriesParamsSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; market: string; }, { symbol: string; market: string; }>; export declare function createCryptoTools(crypto: Crypto): { av_crypto_intraday: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; interval: z.ZodEnum<["1min", "5min", "15min", "30min", "60min"]>; outputsize: z.ZodOptional<z.ZodEnum<["compact", "full"]>>; datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>; }, "strip", z.ZodTypeAny, { symbol: string; interval: "1min" | "5min" | "15min" | "30min" | "60min"; market: string; outputsize?: "compact" | "full" | undefined; datatype?: "json" | "csv" | undefined; }, { symbol: string; interval: "1min" | "5min" | "15min" | "30min" | "60min"; market: string; outputsize?: "compact" | "full" | undefined; datatype?: "json" | "csv" | undefined; }>; handler: (params: z.infer<typeof CryptoIntradayParamsSchema>) => Promise<import("@gviper/alphavantage-api").CryptoIntradayResponse>; }; av_crypto_daily: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; market: string; }, { symbol: string; market: string; }>; handler: (params: z.infer<typeof CryptoTimeSeriesParamsSchema>) => Promise<import("@gviper/alphavantage-api").CryptoDigitalCurrencyResponse>; }; av_crypto_weekly: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; market: string; }, { symbol: string; market: string; }>; handler: (params: z.infer<typeof CryptoTimeSeriesParamsSchema>) => Promise<import("@gviper/alphavantage-api").CryptoDigitalCurrencyWeeklyResponse>; }; av_crypto_monthly: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; market: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; market: string; }, { symbol: string; market: string; }>; handler: (params: z.infer<typeof CryptoTimeSeriesParamsSchema>) => Promise<import("@gviper/alphavantage-api").CryptoDigitalCurrencyMonthlyResponse>; }; }; export {}; //# sourceMappingURL=crypto.d.ts.map