UNPKG

@andrewlwn77/google-trends-mcp

Version:

MCP server for Google Trends API integration - Access trending topics, questions, and search data

62 lines 1.42 kB
export interface BaseParams { language?: string; country?: string; } export interface StatusParams extends BaseParams { } export interface QuestionsParams extends BaseParams { } export interface TrendingParams extends BaseParams { } export interface TrendingTopic { title: string; searchTerm?: string; traffic?: number; percentage?: string; description?: string; link?: string; [key: string]: any; } export interface TrendingQuestion { question: string; searchTerm?: string; traffic?: number; percentage?: string; link?: string; [key: string]: any; } export interface ApiStatus { status: string; message?: string; timestamp?: string; [key: string]: any; } export interface StatusResponse { status: ApiStatus; } export interface QuestionsResponse { questions: { geo?: string; timeframe?: string; trending_searches?: TrendingQuestion[]; total_results?: number; last_updated?: string; [key: string]: any; }; } export interface TrendingResponse { trending: { geo?: string; timeframe?: string; trending_searches?: TrendingTopic[]; total_results?: number; last_updated?: string; [key: string]: any; }; } export interface ApiError { error: string; message: string; statusCode?: number; } //# sourceMappingURL=types.d.ts.map