@gviper/alphavantage-mcp
Version:
MCP (Model Context Protocol) server for Alpha Vantage financial data API
172 lines • 8.69 kB
TypeScript
import { z } from 'zod';
import { Economic } from '@gviper/alphavantage-api';
declare const EconomicIndicatorParamsSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
declare const TreasuryYieldParamsSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
maturity: z.ZodOptional<z.ZodEnum<["3month", "2year", "5year", "7year", "10year", "30year"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
maturity?: "3month" | "2year" | "5year" | "7year" | "10year" | "30year" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
maturity?: "3month" | "2year" | "5year" | "7year" | "10year" | "30year" | undefined;
}>;
export declare function createEconomicTools(economic: Economic): {
av_economic_real_gdp: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_real_gdp_per_capita: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_treasury_yield: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
maturity: z.ZodOptional<z.ZodEnum<["3month", "2year", "5year", "7year", "10year", "30year"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
maturity?: "3month" | "2year" | "5year" | "7year" | "10year" | "30year" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
maturity?: "3month" | "2year" | "5year" | "7year" | "10year" | "30year" | undefined;
}>;
handler: (params: z.infer<typeof TreasuryYieldParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_fed_funds_rate: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_cpi: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_inflation: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_retail_sales: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_durable_goods: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_unemployment_rate: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
av_economic_nonfarm_payroll: {
description: string;
inputSchema: z.ZodObject<{
interval: z.ZodOptional<z.ZodEnum<["annual", "quarterly", "monthly"]>>;
datatype: z.ZodOptional<z.ZodEnum<["json", "csv"]>>;
}, "strip", z.ZodTypeAny, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}, {
interval?: "monthly" | "annual" | "quarterly" | undefined;
datatype?: "json" | "csv" | undefined;
}>;
handler: (params: z.infer<typeof EconomicIndicatorParamsSchema>) => Promise<import("@gviper/alphavantage-api").EconomicIndicatorResponse>;
};
};
export {};
//# sourceMappingURL=economic.d.ts.map