UNPKG

@gviper/alphavantage-mcp

Version:

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

184 lines 6.88 kB
import { z } from 'zod'; import { Fundamental } from '@gviper/alphavantage-api'; declare const CompanyOverviewParamsSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; declare const FinancialStatementParamsSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; declare const EarningsParamsSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; declare const ListingStatusParamsSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; export declare function createFundamentalTools(fundamental: Fundamental): { av_fundamental_company_overview: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof CompanyOverviewParamsSchema>) => Promise<import("@gviper/alphavantage-api").CompanyOverview>; }; av_fundamental_income_statement: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof FinancialStatementParamsSchema>) => Promise<import("@gviper/alphavantage-api").FinancialStatementResponse>; }; av_fundamental_balance_sheet: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof FinancialStatementParamsSchema>) => Promise<import("@gviper/alphavantage-api").FinancialStatementResponse>; }; av_fundamental_cash_flow: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof FinancialStatementParamsSchema>) => Promise<import("@gviper/alphavantage-api").FinancialStatementResponse>; }; av_fundamental_earnings: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof EarningsParamsSchema>) => Promise<import("@gviper/alphavantage-api").EarningsResponse>; }; av_fundamental_listing_status: { description: string; inputSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; handler: (params: z.infer<typeof ListingStatusParamsSchema>) => Promise<import("@gviper/alphavantage-api").ListingStatusResponse>; }; av_fundamental_earnings_calendar: { description: string; inputSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; handler: (params: z.infer<typeof ListingStatusParamsSchema>) => Promise<import("@gviper/alphavantage-api").EarningsCalendarResponse>; }; av_fundamental_ipo_calendar: { description: string; inputSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; handler: (params: z.infer<typeof ListingStatusParamsSchema>) => Promise<import("@gviper/alphavantage-api").IPOCalendarResponse>; }; av_fundamental_dividend_calendar: { description: string; inputSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; handler: (params: z.infer<typeof ListingStatusParamsSchema>) => Promise<import("@gviper/alphavantage-api").DividendCalendarResponse>; }; av_fundamental_splits_calendar: { description: string; inputSchema: z.ZodObject<{ date: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodEnum<["active", "delisted"]>>; }, "strip", z.ZodTypeAny, { date?: string | undefined; state?: "active" | "delisted" | undefined; }, { date?: string | undefined; state?: "active" | "delisted" | undefined; }>; handler: (params: z.infer<typeof ListingStatusParamsSchema>) => Promise<import("@gviper/alphavantage-api").SplitsCalendarResponse>; }; av_fundamental_etf_profile: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof CompanyOverviewParamsSchema>) => Promise<import("@gviper/alphavantage-api").ETFProfileResponse>; }; av_fundamental_etf_holdings: { description: string; inputSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>; handler: (params: z.infer<typeof CompanyOverviewParamsSchema>) => Promise<import("@gviper/alphavantage-api").ETFHoldingsResponse>; }; }; export {}; //# sourceMappingURL=fundamental.d.ts.map