Plausible Analytics

Plausible Analytics MCP integration

Queries visitor stats by dimension and date range, reports live visitor counts, and records server-side pageviews or custom events.

13actions available

Three actions you can hand over today

Every action runs live through MCP. Nothing to build, nothing to maintain.

  • Get realtime visitors

    Lyro retrieves the number of current site visitors from the past 5 minutes. Teams can see live traffic spikes without checking a separate dashboard.

  • Record event

    Lyro records a pageview or custom event via Plausible's Events API. Teams can track user interactions directly from conversations instead of coding events manually.

  • Query analytics stats

    Lyro queries analytics stats for a site to generate custom reports. Support can answer how many visitors questions without writing database queries.

See all 13 actions

How businesses use Plausible Analytics + Lyro

Each card is one request a support team gets, and the Plausible Analytics actions Lyro runs to close it.

  • Answer a traffic question with a filtered query

    Lyro runs a Stats API v2 query for the metrics, filters, dimensions, and date range the question implies, so visitors, pageviews, bounce rate, and visit duration come back grouped rather than as a raw export.

    Query Analytics StatsGet Breakdown StatsGet Timeseries Stats
  • Check who is on the site right now

    Lyro reads the visitor count for the last five minutes on the site in question, so a question about whether a launch or a campaign is landing gets a live number instead of yesterday's report.

    Get Realtime VisitorsGet Site DetailsList Sites
  • Record a pageview from outside the browser

    For mobile apps and server-side tracking, Lyro sends a pageview or custom event through the Events API with the User-Agent and forwarded IP headers Plausible needs to count the visitor once.

    Record EventList GoalsGet Site Details
  • Confirm which Plausible features the key can reach

    Lyro checks the capabilities enabled for the account, confirms the API is responding, and lists the sites and teams the key covers, so a request for funnels or goals fails fast instead of silently.

    Get Plugin CapabilitiesCheck API HealthList Teams

How it works

Get started in 3 steps

Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Plausible Analytics actions it has and picks the ones a request needs.

  1. 01

    Connect Plausible Analytics

    Authorize the Plausible Analytics account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.

  2. 02

    Tell your agent what you need

    Describe the job the way you would hand it to a teammate. Lyro maps it to the Plausible Analytics actions that close it and chains as many as the request needs.

  3. 03

    Watch it work

    The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.

    Get started free
Plausible Analytics · Lyro

Everything else about Plausible Analytics

Setup, permissions, and the limits of what Lyro can do inside Plausible Analytics.

  • Two of them. List Custom Properties and List Site Guests are documented as Enterprise-only, so on a standard plan those calls return nothing useful. Get Plugin Capabilities reports which features - Goals, Funnels, Stats API and the rest - are actually enabled for the connected account, and Lyro checks it before attempting one.

Every action available in Plausible Analytics

All 13 actions your agent can call on Plausible Analytics, straight from the live MCP connection.

  • Check API health

    Check the health status of the Plausible Analytics API.

  • Get breakdown stats

    Retrieve breakdown statistics for a specific property (dimension) from Plausible Analytics.

  • Get plugin capabilities

    Retrieve available capabilities for the Plausible Analytics Plugins API.

  • Get realtime visitors

    Retrieve the number of current visitors on your site in the last 5 minutes.

  • Get site details

    Retrieve details for a specific Plausible Analytics site.

  • Get timeseries stats

    Retrieve timeseries visitor data from Plausible Analytics over a specified time period.

  • List custom properties

    List all custom properties configured for a site.

  • List goals

    List all goals configured for a site.

  • List site guests

    List all guest users who have access to a site's dashboard in Plausible Analytics.

  • List sites

    List all sites the API key owner's Plausible account can access.

  • List teams

    List all teams available for the API key owner.

  • Query analytics stats

    Query analytics stats for a site using the Stats API v2.

  • Record event

    Record a pageview or custom event via the Plausible Events API.

Ready to connect Plausible Analytics?

Authorize the account and your agent has all 13 actions from the first conversation.

Support agent working at a laptop next to the Lyro mascot