@gviper/alphavantage-mcp
Version:
MCP (Model Context Protocol) server for Alpha Vantage financial data API
167 lines • 6.76 kB
TypeScript
import { z } from 'zod';
import { Intelligence } from '@gviper/alphavantage-api';
declare const NewsSentimentParamsSchema: z.ZodObject<{
tickers: z.ZodOptional<z.ZodString>;
topics: z.ZodOptional<z.ZodString>;
time_from: z.ZodOptional<z.ZodString>;
time_to: z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodEnum<["LATEST", "EARLIEST"]>>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}>;
declare const EarningsCallTranscriptParamsSchema: z.ZodObject<{
symbol: z.ZodString;
year: z.ZodNumber;
quarter: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
symbol: string;
year: number;
quarter: number;
}, {
symbol: string;
year: number;
quarter: number;
}>;
export declare function createIntelligenceTools(intelligence: Intelligence): {
av_intelligence_news_sentiment: {
description: string;
inputSchema: z.ZodObject<{
tickers: z.ZodOptional<z.ZodString>;
topics: z.ZodOptional<z.ZodString>;
time_from: z.ZodOptional<z.ZodString>;
time_to: z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodEnum<["LATEST", "EARLIEST"]>>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}>;
handler: (params: z.infer<typeof NewsSentimentParamsSchema>) => Promise<import("@gviper/alphavantage-api").NewsSentimentResponse>;
};
av_intelligence_earnings_call_transcript: {
description: string;
inputSchema: z.ZodObject<{
symbol: z.ZodString;
year: z.ZodNumber;
quarter: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
symbol: string;
year: number;
quarter: number;
}, {
symbol: string;
year: number;
quarter: number;
}>;
handler: (params: z.infer<typeof EarningsCallTranscriptParamsSchema>) => Promise<import("@gviper/alphavantage-api").EarningsCallTranscriptResponse>;
};
av_intelligence_top_gainers_losers: {
description: string;
inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
handler: (params?: {}) => Promise<import("@gviper/alphavantage-api").TopGainersLosersResponse>;
};
av_intelligence_insider_transactions: {
description: string;
inputSchema: z.ZodObject<{
tickers: z.ZodOptional<z.ZodString>;
topics: z.ZodOptional<z.ZodString>;
time_from: z.ZodOptional<z.ZodString>;
time_to: z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodEnum<["LATEST", "EARLIEST"]>>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}>;
handler: (params: z.infer<typeof NewsSentimentParamsSchema>) => Promise<import("@gviper/alphavantage-api").InsiderTransactionsResponse>;
};
av_intelligence_analytics_fixed_window: {
description: string;
inputSchema: z.ZodObject<{
tickers: z.ZodOptional<z.ZodString>;
topics: z.ZodOptional<z.ZodString>;
time_from: z.ZodOptional<z.ZodString>;
time_to: z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodEnum<["LATEST", "EARLIEST"]>>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}>;
handler: (params: z.infer<typeof NewsSentimentParamsSchema>) => Promise<import("@gviper/alphavantage-api").AnalyticsResponse>;
};
av_intelligence_analytics_sliding_window: {
description: string;
inputSchema: z.ZodObject<{
tickers: z.ZodOptional<z.ZodString>;
topics: z.ZodOptional<z.ZodString>;
time_from: z.ZodOptional<z.ZodString>;
time_to: z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodEnum<["LATEST", "EARLIEST"]>>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}, {
sort?: "LATEST" | "EARLIEST" | undefined;
tickers?: string | undefined;
topics?: string | undefined;
time_from?: string | undefined;
time_to?: string | undefined;
limit?: number | undefined;
}>;
handler: (params: z.infer<typeof NewsSentimentParamsSchema>) => Promise<import("@gviper/alphavantage-api").AnalyticsResponse>;
};
};
export {};
//# sourceMappingURL=intelligence.d.ts.map