UNPKG

google-context-mcp

Version:

Secure Google Search MCP server providing real-time coding context to AI models and LLMs - find latest docs, solutions, and best practices while coding

30 lines 875 B
export interface SearchResult { title: string; link: string; snippet: string; displayLink: string; formattedUrl: string; } export interface SearchOptions { query: string; numResults?: number; startIndex?: number; language?: string; country?: string; safeSearch?: 'off' | 'medium' | 'high'; dateRestrict?: string; siteSearch?: string; } export declare class GoogleSearchMCP { private apiKey; private customSearchEngineId?; private customsearch; constructor(apiKey: string, customSearchEngineId?: string); initialize(server: any): Promise<void>; private handleGoogleSearch; private handleAdvancedGoogleSearch; private handleSearchSuggestions; performSearch(options: SearchOptions): Promise<SearchResult[]>; private formatSearchResults; } //# sourceMappingURL=google-search-mcp.d.ts.map