# Simple Analytics — MCP server on mcp.ai > Connect your Simple Analytics account and use 4 tools for analytics straight from your AI agent. Connect with your own API key. Simple Analytics is a privacy-friendly and simple alternative to Google Analytics, offering straightforward analytics without cookies or trackers. By: mcp.ai · official Page: https://mcp.ai/simple_analytics ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_simple_analytics?ms=1787295900000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/simple_analytics/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/simple_analytics/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/simple_analytics/skill.md Postman collection (v2.1): https://mcp.ai/simple_analytics/postman.json ## Tools - simple_analytics_admin_api_list_websites() — Tool to list all websites associated with the authenticated user. Use after authenticating an admin account to retrieve website list. - simple_analytics_export_api_get_raw_data(fields?: string[], format?: string, to_date?: string, website: string, from_date?: string) — Tool to export raw data points (page views and events) for a specific website. Use when you need to download CSV or JSON exports of site traffic. - simple_analytics_get_aggregated_stats(end?: string, page?: string, start?: string, source?: string, compare?: string, website: string, referrer?: string) — Tool to retrieve aggregated statistics for a specified website. Use when you need an overview of key metrics like visitors, pageviews, bounce rate, and more. - simple_analytics_send_event(ua: string, path?: string, type: string, event: string, https?: boolean, medium?: string, source?: string, unique?: boolean, content?: string, campaign?: string, hostname: string, language?: string, metadata?: object, referrer?: string, timezone?: string, screen_width?: integer, screen_height?: integer, viewport_width?: integer, viewport_height?: integer) — Tool to submit server-side events or pageviews to Simple Analytics. Use for mobile apps, backend tracking, or scenarios where JavaScript is not available. Supports custom metadata for enriched event d ## Example prompts - "What can I do in Simple Analytics?" - "Show me a summary of my Simple Analytics account" ## Links Docs: https://mcp.ai/docs/mcps/simple_analytics Website: https://mcp.ai/mcps/simple_analytics