Agents and MCP

Plausible, with an agent on top.

You picked Plausible for simple, private numbers. Connect it to LopeBase and your agent can read them too: visitors, goals, channels, entry pages, and devices for each site, including self-hosted Plausible.

A Plausible Stats API key, which can only read. Cloud and self-hosted both work.

Ask, then act in the same session

Your agent reads the numbers and can fix what it finds in your code before you switch windows.

agent · Plausible, acme.com

Which entry pages convert to Signup best?

read_sourceplausible-acmelanding_pagesgoal: Signup

pagevisitorsconvertedbounce %
/pricing2,31018438
/8,90220154
/blog/invoice-template3,6442281
/compare/freshbooks9115741

The comparison page converts at about 6%, close to pricing. The invoice template brings traffic but almost no signups. A signup prompt on that post is the cheapest win here.

Your goals, as conversions

Pass a goal name and the breakdowns count who converted, not just who came.

Channels and entry pages

traffic_sources and landing_pages cover the last 28 days, with bounce rate per page.

Privacy stays intact

Plausible collects no personal data, and agents only ever see counts.

What your agent can read

Seven datasets per site, from Plausible's Stats API.

  • web_analyticsPageviews for 7 and 28 days, plus weekly and monthly visitors.pageviews_7d · pageviews_28d · wau · mau
  • daily_pageviewsPageviews and visitors per day.day · pageviews · visitors
  • top_pathsThe most viewed pages.url · views · visitors
  • goal_eventsYour goals, with people in the last 28 days, the 28 before, and the last 7.event · people_28d · people_prev_28d · people_7d
  • traffic_sourcesVisitors per channel. Add { goal } for conversions.source · visitors · converters
  • landing_pagesVisitors per entry page with bounce rate. Add { goal } for conversions.path · visitors · converters · bounce_rate
  • devicesVisitors per device. Add { goal } for conversions.device · visitors · converters

Workflows worth stealing

Plausible keeps the dashboard simple. These asks go one step further.

Find posts that never convert

Which entry pages get over 1,000 visitors and under 1% goal conversion?

Good candidates for a clearer next step.

landing_pagesgoal_events

Compare goals month over month

Which goals grew and which shrank compared with the previous 28 days?

goal_events carries both windows, so no second query.

goal_events

Weigh your channels

Rank channels by conversions to Signup, not visitors.

A small channel that converts well is worth more than it looks.

traffic_sources

Check mobile

Do mobile visitors reach our goals as often as desktop?

A gap usually points at a layout or form problem.

devices

Set it up in a few minutes

  1. 01

    Connect Plausible. In Plausible, create a Stats API key. Paste it into LopeBase and pick each product's site. Self-hosted? Add your Plausible address too.

  2. 02

    In a terminal agent, run npx lopebase in a project folder. It signs you in and adds LopeBase to Claude Code, Codex, Gemini CLI, opencode, or Cursor Agent.

  3. 03

    In a chat app or editor, add the remote MCP server https://app.lopebase.com/api/mcp and sign in when it asks. Any client that supports remote MCP servers with sign-in works.

Your agent can also connect Plausible for you if you give it the key: connect_source tests it before saving.

Good to know

  • Fixed windowsBreakdowns cover the last 28 days. Custom ranges are not offered yet.
  • Goals must exist in PlausibleConversions use goals you set up in Plausible. goal_events lists them.
  • Read onlyA Stats API key cannot change anything, and LopeBase does not ask for more.
  • One token, one workspaceAn agent's token only reads the workspace that issued it.

Plausible MCP questions

Something else? Email us.

Does it work with self-hosted Plausible?

Yes. Add your Plausible address when you connect, along with a Stats API key from that instance.

Which API key do I need?

A Stats API key, from Account settings, API keys. It can only read stats.

Can my agent see individual visitors?

No. Plausible does not record them, and LopeBase passes only counts and rates.

Can I connect several Plausible sites?

Yes. Each site is its own connection, and your agent can ask about all of them at once.

Give your agent your Plausible numbers.

Free for one product. No card. Agent access is on every plan.