# Plausible Analytics — MCP server on mcp.ai > Connect your Plausible Analytics account and use 13 tools for analytics straight from your AI agent. Connect with your own API key. Privacy-focused web analytics platform that provides simple, lightweight, and GDPR-compliant website statistics. By: mcp.ai · official Page: https://mcp.ai/plausible_analytics ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_plausible_analytics?ms=1787293560000 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/plausible_analytics/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/plausible_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/plausible_analytics/skill.md Postman collection (v2.1): https://mcp.ai/plausible_analytics/postman.json ## Tools - plausible_analytics_check_health() — Tool to check the health status of the Plausible Analytics API. Use when verifying API connectivity and service availability before making other API calls. - plausible_analytics_get_breakdown_stats(date?: string, page?: integer, limit?: integer, period?: string, filters?: string, metrics?: string, site_id: string, property: string) — Tool to retrieve breakdown statistics for a specific property (dimension) from Plausible Analytics. Use when you need to analyze top sources, top pages, device breakdown, geographic distribution, or a - plausible_analytics_get_plugin_capabilities() — Tool to retrieve available capabilities for the Plausible Analytics Plugins API. Use this to check which features are enabled for the authenticated account, such as Goals, Funnels, Stats API, and more - plausible_analytics_get_realtime_visitors(site_id: string) — Tool to retrieve the number of current visitors on your site in the last 5 minutes. Use this to get real-time visitor counts from the Plausible Analytics Stats API v1. - plausible_analytics_get_site(site_id: string) — Tool to retrieve details for a specific Plausible Analytics site. Use when you need site configuration including domain, timezone, custom properties, and tracker script settings. - plausible_analytics_get_timeseries_stats(period?: string, filters?: string, metrics?: string, site_id: string, interval?: string, with_imported?: boolean) — Tool to retrieve timeseries visitor data from Plausible Analytics over a specified time period. Use this to get historical trends for metrics like visitors, pageviews, bounce rate, and visit duration. - plausible_analytics_list_custom_props(site_id: string) — Tool to list all custom properties configured for a site. Use when you need to retrieve custom property configurations for a Plausible Analytics site. Enterprise feature only. - plausible_analytics_list_goals(after?: integer, limit?: integer, before?: integer, site_id: string) — Tool to list all goals configured for a site. Use when you need to retrieve conversion goals and custom action tracking configured for a Plausible Analytics site. - plausible_analytics_list_guests(site_id: string) — Tool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is a - plausible_analytics_list_sites(after?: string, limit?: integer, before?: string, team_id?: string) — Tool to list all sites the API key owner's Plausible account can access. Returns domain, timezone, and creation info with pagination support. Use when you need to retrieve all sites or paginate throug - plausible_analytics_list_teams(after?: string, limit?: integer, before?: string) — Tool to list all teams available for the API key owner. Use when you need to retrieve teams for site provisioning to a specific team. - plausible_analytics_query_stats(filters?: string|string[][][], metrics: string[], site_id: string, date_range: string|string[], dimensions?: string[]) — Tool to query analytics stats for a site using the Stats API v2. Use when you need to retrieve historical or real-time statistics such as visitors, pageviews, bounce rate, visit duration, and more. Su - plausible_analytics_record_event(url: string, name: string, props?: object, domain: string, revenue?: object, referrer?: string, user_agent: string, interactive?: boolean, x_forwarded_for?: string) — Tool to record a pageview or custom event via the Plausible Events API. Use when tracking Android/iOS mobile apps or server-side tracking. Requires proper User-Agent and optionally X-Forwarded-For hea ## Example prompts - "What can I do in Plausible Analytics?" - "Show me a summary of my Plausible Analytics account" ## Links Docs: https://mcp.ai/docs/mcps/plausible_analytics Website: https://mcp.ai/mcps/plausible_analytics