{"report":"{\"v\":1,\"package\":\"mcp-google-analytics\",\"version\":\"1.3.1\",\"ranAt\":\"2026-11-16T11:36:35.370Z\",\"install\":{\"ok\":true,\"integrity\":\"sha512-gImeZBR7OsWYrzn/AqV4BSMjJBu2j5MlzdO968hVQ7yHlSnDiboviHJVuYxZ5BHAcsLz68uRZvGrbgzVPeH6ng==\",\"deps\":129,\"scripts\":[],\"bins\":[\"mcp-google-analytics\"],\"license\":\"MIT\",\"engines\":\"node >=20\",\"repository\":\"git+https://github.com/leonardosepulvedat/mcp-google-analytics.git\",\"bin\":\"mcp-google-analytics\"},\"start\":{\"ok\":true,\"ms\":197,\"serverName\":\"mcp-google-analytics\",\"serverVersion\":\"1.3.1\",\"protocol\":\"2025-06-18\",\"stderr\":\"⚠ GA Data API not configured (missing GA_SERVICE_ACCOUNT_JSON)\\n⚠ Measurement Protocol not configured (missing GA_MEASUREMENT_ID or GA_API_SECRET)\\nMCP Google Analytics server running on stdio\\n\"},\"tools\":[{\"name\":\"ga_run_report\",\"description\":\"Run a custom Google Analytics report with dimensions and metrics.\\n\\n⚠️ TOKEN OPTIMIZATION: Use 'limit' to control result size (default: 10).\\nThis tool can consume significant tokens with large datasets.\\n\\nCommon dimensions: date, city, country, deviceCategory, browser, pagePath, eventName\\nCommon metrics: activeUsers, sessions, screenPageViews, conversions, totalRevenue\",\"params\":[\"dateRanges\",\"dimensions\",\"metrics\",\"limit\",\"offset\",\"orderBys\",\"dimensionFilter\",\"metricFilter\",\"propertyId\"]},{\"name\":\"ga_run_realtime_report\",\"description\":\"Get real-time Google Analytics data (last 30 minutes).\\n\\n⚠️ TOKEN OPTIMIZATION: Use 'limit' to control result size (default: 10).\\n\\nCommon dimensions: city, country, deviceCategory, unifiedScreenName\\nCommon metrics: activeUsers, screenPageViews, conversions\",\"params\":[\"dimensions\",\"metrics\",\"limit\",\"propertyId\"]},{\"name\":\"ga_get_metadata\",\"description\":\"Get available dimensions and metrics metadata for your GA4 property.\\n\\n⚠️ TOKEN OPTIMIZATION: This returns ALL available dimensions and metrics.\\nResponse can be large (~500+ items). Use sparingly and cache results when possible.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_list_accounts\",\"description\":\"List all Google Analytics accounts accessible to the service account.\\n\\nUse this to find account IDs for listing properties.\",\"params\":[]},{\"name\":\"ga_list_properties\",\"description\":\"List Google Analytics properties.\\n\\nOptionally filter by account ID. Without an account ID, properties from all\\naccessible accounts are aggregated.\",\"params\":[\"accountId\"]},{\"name\":\"ga_get_property\",\"description\":\"Get details about a GA4 property (the configured one, or any accessible property via propertyId).\",\"params\":[\"propertyId\"]},{\"name\":\"ga_list_data_streams\",\"description\":\"List data streams for the configured GA4 property.\\n\\nUse this to find measurement IDs for Measurement Protocol.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_run_pivot_report\",\"description\":\"Run a pivot table report with row and column dimensions.\\n\\n⚠️ TOKEN OPTIMIZATION: Pivot reports can be VERY large.\\nLimit dimensions and use small date ranges. Recommended for analysis, not raw data extraction.\",\"params\":[\"dateRanges\",\"dimensions\",\"metrics\",\"pivots\",\"propertyId\"]},{\"name\":\"ga_run_funnel_report\",\"description\":\"Run a funnel analysis report to track user progression through steps (Data API v1alpha).\\n\\nEach step matches an event: set 'eventName' per step (defaults to the step name).\\nFor advanced matching, pass a full 'filterExpression' instead.\",\"params\":[\"dateRanges\",\"funnelSteps\",\"funnelBreakdown\",\"funnelVisualizationType\",\"propertyId\"]},{\"name\":\"ga_batch_run_reports\",\"description\":\"Run multiple reports in a single request.\\n\\n⚠️ TOKEN OPTIMIZATION: Can return LARGE amounts of data.\\nLimit to 2-5 reports per batch. Each report should have small limits.\",\"params\":[\"requests\",\"propertyId\"]},{\"name\":\"ga_get_account_summaries\",\"description\":\"Get a compact overview of all accessible GA accounts and their properties in a single call.\\n\\nThe fastest way to discover account IDs, property IDs, and property names.\",\"params\":[]},{\"name\":\"ga_list_custom_dimensions\",\"description\":\"List all custom dimensions defined for the configured GA4 property.\\n\\nUse this to discover custom dimension API names (e.g., \\\"customEvent:plan_type\\\") for reports.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_list_custom_metrics\",\"description\":\"List all custom metrics defined for the configured GA4 property.\\n\\nUse this to discover custom metric API names for reports.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_list_key_events\",\"description\":\"List the key events (conversions) configured for the GA4 property.\\n\\nUseful to know which event names count as conversions before building reports or sending events.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_list_google_ads_links\",\"description\":\"List Google Ads accounts linked to a GA4 property.\",\"params\":[\"propertyId\"]},{\"name\":\"ga_check_compatibility\",\"description\":\"Check whether a combination of dimensions and metrics is valid for this property BEFORE running a report.\\n\\nAvoids wasted report requests and token-heavy error loops. Also lists which other fields remain compatible with the given combination.\",\"params\":[\"dimensions\",\"metrics\",\"compatibilityFilter\",\"propertyId\"]},{\"name\":\"ga_send_event\",\"description\":\"Send a custom event to Google Analytics via Measurement Protocol.\\n\\nUse this for tracking custom user actions, conversions, or any GA4 event.\\nEvents are processed asynchronously and appear in reports within minutes.\\n\\nCommon events: click, form_submit, video_play, file_download, custom_conversion\",\"params\":[\"client_id\",\"user_id\",\"events\",\"user_properties\"]},{\"name\":\"ga_validate_event\",\"description\":\"Validate an event before sending it to Google Analytics.\\n\\nUses GA4's debug endpoint to check for errors without recording the event.\\nReturns validation messages and errors if any.\",\"params\":[\"client_id\",\"user_id\",\"events\",\"user_properties\"]},{\"name\":\"ga_send_pageview\",\"description\":\"Send a page view event to Google Analytics.\\n\\nStandard event for tracking page/screen views. Automatically uses 'page_view' event name.\",\"params\":[\"client_id\",\"user_id\",\"page_location\",\"page_title\",\"page_referrer\",\"user_properties\"]},{\"name\":\"ga_send_purchase\",\"description\":\"Send an ecommerce purchase event to Google Analytics.\\n\\nStandard event for tracking completed purchases with transaction details and items.\",\"params\":[\"client_id\",\"user_id\",\"transaction_id\",\"value\",\"currency\",\"tax\",\"shipping\",\"coupon\",\"affiliation\",\"items\",\"user_properties\"]},{\"name\":\"ga_send_login\",\"description\":\"Send a login event to Google Analytics.\\n\\nStandard event for tracking user logins with authentication method.\",\"params\":[\"client_id\",\"user_id\",\"method\",\"user_properties\"]},{\"name\":\"ga_send_signup\",\"description\":\"Send a sign-up event to Google Analytics.\\n\\nStandard event for tracking new user registrations.\",\"params\":[\"client_id\",\"user_id\",\"method\",\"user_properties\"]},{\"name\":\"ga_send_add_to_cart\",\"description\":\"Send an add to cart event to Google Analytics.\\n\\nEcommerce event for tracking when items are added to shopping cart.\",\"params\":[\"client_id\",\"user_id\",\"currency\",\"value\",\"items\",\"user_properties\"]},{\"name\":\"ga_send_begin_checkout\",\"description\":\"Send a begin checkout event to Google Analytics.\\n\\nEcommerce event for tracking when users start the checkout process.\",\"params\":[\"client_id\",\"user_id\",\"currency\",\"value\",\"coupon\",\"items\",\"user_properties\"]},{\"name\":\"ga_send_view_item\",\"description\":\"Send a view item event to Google Analytics.\\n\\nEcommerce event for tracking product/item detail views. Completes the standard\\nfunnel: view_item → add_to_cart → begin_checkout → purchase.\",\"params\":[\"client_id\",\"user_id\",\"currency\",\"value\",\"items\",\"user_properties\"]},{\"name\":\"ga_send_refund\",\"description\":\"Send a refund event to Google Analytics.\\n\\nEcommerce event for full or partial refunds. Omit 'items' for a full refund;\\ninclude them (with quantities) for a partial refund. Use the same transaction_id\\nas the original purchase.\",\"params\":[\"client_id\",\"user_id\",\"transaction_id\",\"currency\",\"value\",\"items\",\"user_properties\"]}],\"toolsHash\":\"70d58243b6ce34f9f68eb101ea0241d7e47255cc8fbb992680ef4a5170f37d52\",\"wrote\":[],\"callsAt\":\"2026-11-16T11:36:41.596Z\",\"calls\":[{\"tool\":\"ga_get_metadata\",\"ok\":false,\"ms\":4,\"bytes\":0,\"error\":\"tool reported an error: GA Data API not configured. Set GA_SERVICE_ACCOUNT_JSON (and optionally GA_PROPERTY_ID as the default property).\"},{\"tool\":\"ga_list_accounts\",\"ok\":false,\"ms\":1,\"bytes\":0,\"error\":\"tool reported an error: GA Data API not configured. Set GA_SERVICE_ACCOUNT_JSON (and optionally GA_PROPERTY_ID as the default property).\"},{\"tool\":\"ga_list_properties\",\"ok\":false,\"ms\":0,\"bytes\":0,\"error\":\"tool reported an error: GA Data API not configured. Set GA_SERVICE_ACCOUNT_JSON (and optionally GA_PROPERTY_ID as the default property).\"},{\"tool\":\"ga_get_property\",\"ok\":false,\"ms\":1,\"bytes\":0,\"error\":\"tool reported an error: GA Data API not configured. Set GA_SERVICE_ACCOUNT_JSON (and optionally GA_PROPERTY_ID as the default property).\"},{\"tool\":\"ga_list_data_streams\",\"ok\":false,\"ms\":0,\"bytes\":0,\"error\":\"tool reported an error: GA Data API not configured. Set GA_SERVICE_ACCOUNT_JSON (and optionally GA_PROPERTY_ID as the default property).\"}],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"names\":[\"registry.npmjs.org\"],\"conns\":[],\"callNames\":[],\"callConns\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJvb2YtcmVwb3J0OjY0ZDcyZmZhZjZiNzQ0MWM3NGQ4NWM2YmIwOGI5YzVkZTdmNmFhMmE3YTc2NTU5NDlhMjdhYTZhODBkZmFhM2IiLCJiYXNlX3JlZiI6IiIsImNoZWNrX3J1bl9pZCI6IjEzMzI2Mzk5NTM5NSIsImV2ZW50X25hbWUiOiJzY2hlZHVsZSIsImV4cCI6MTc5NDgyOTMwNiwiaGVhZF9yZWYiOiIiLCJpYXQiOjE3OTQ4MjkwMDYsImlzcyI6Imh0dHBzOi8vdG9r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