UNPKG

google-search-console-mcp-server

Version:

Model Context Protocol server for Google Search Console API - integrate with Claude Code and Claude Desktop

54 lines 1.46 kB
/** * Get Analytics Tool * Query search performance data from Google Search Console */ import { OAuth2Client, AnalyticsRequest } from '../types/index.js'; export declare const name = "get_analytics"; export declare const description = "Query search performance data from Google Search Console for a specified date range"; export declare const inputSchema: { type: string; properties: { siteUrl: { type: string; description: string; }; startDate: { type: string; description: string; }; endDate: { type: string; description: string; }; dimensions: { type: string; items: { type: string; enum: string[]; }; description: string; }; rowLimit: { type: string; description: string; default: number; }; startRow: { type: string; description: string; default: number; }; }; required: string[]; }; /** * Handler for querying search analytics data * Validates inputs and retrieves performance data with retry logic */ export declare function handler(args: AnalyticsRequest, authClient: OAuth2Client): Promise<{ content: { type: string; text: string; }[]; }>; //# sourceMappingURL=get-analytics.d.ts.map