Connect Codex to Plausible
Codex reaches Plausible through one Flowplane address. You add Plausible once in Flowplane, add that address to Codex, and sign in. Ask your Plausible website statistics: visitors, top pages, sources, countries, devices and goal conversions, over any period.
- Tools
- 4 read · 3 change
- Sign-in
- One shared key
- Approval, by default
- Changes wait for you
- MCP server
- Flowplane’s tools
- 1
Add Plausible in Flowplane
In the Flowplane console, add Plausible, keep https://plausible.io or type the address of your own Plausible, and paste the API key. A self-hosted Plausible behind a firewall connects through a tunnel.
Plausible works with an API key, not a personal login. You make it in Plausible under your account settings, API keys, for the team that owns your sites, and the workspace pastes it once. A Stats API key reads statistics, sites and goals; adding or renaming a site or a goal needs a Sites API key. Flowplane keeps it sealed; the assistant never sees it.
- 2
Add Flowplane to Codex
Your address is shown in the Flowplane console; it looks like
https://mcp.flowplane.eu/<your-label>- Add the server with the first command below.
- Sign in with the second: your browser opens Flowplane; sign in and allow Codex.
- In the IDE extension: MCP servers › Add server, choose Streamable HTTP, paste
https://mcp.flowplane.eu/<your-label>, then Authenticate.
codex mcp add flowplane --url https://mcp.flowplane.eu/<your-label> codex mcp login flowplane - 3
Ask Codex
- “How many visitors did our site have last month, compared with the month before?”
- “Which pages got the most visits this week?”
- “Where does our traffic come from in October, by source?”
- “How many people completed the Signup goal in the last 30 days, and from which countries?”
- “Create a goal for visits to /thank-you on our main site.”
What Codex can do in Plausible
For anyone who measures their websites with Plausible Analytics, on Plausible Cloud or a self-hosted Community Edition. Through Flowplane an AI assistant can list your sites and their goals and query the Stats API: totals, a time series, or a breakdown by page, source, country, goal or device. With a Sites API key it can also add a site, rename one and create a goal; each waits for your approval by default.
Reads4
- Query statsVisitors, pages, sources and goals
query_stats - List sitesSites you can reach
list_sites - Get siteA site's details
get_site - List goalsA site's goals
list_goals
Changesasks first3
- Create goalFind or create a goal
create_goal - Create siteAdd a site
create_site - Update siteRename a site
update_site
Questions
- Why does creating a site or a goal fail?
- Those changes go through Plausible’s Sites API, which needs a Sites API key; a Stats API key is refused for them. Reading statistics, sites and goals works with a Stats API key.
- What is left out?
- Deleting a site, a goal, a custom property or a guest, shared links, guests and tracker settings are left out on purpose. A statistics answer has at most 100 rows a page, and Plausible allows 600 requests an hour per key.
- Does Codex see the password or key for Plausible?
- No. The key for Plausible is pasted into Flowplane once and kept sealed there. Codex only gets a Flowplane sign-in for you, which you can revoke in the console.
- Can Codex change things in Plausible without asking?
- Not by default: every change in Plausible waits for your approval in the browser. Your workspace’s rules decide, per tool.
- Connect Claude to Plausible→
- Connect Claude Code to Plausible→
- Connect ChatGPT to Plausible→
- Connect Cursor to Plausible→
- Connect GitHub Copilot to Plausible→
- Connect Mistral Le Chat to Plausible→
Flowplane is not affiliated with or endorsed by Plausible’s maker; the name and logo only identify the app. Pricing
Let your AI work with your data. Safely, from today.
Free for yourself, set up in a minute. For your team or company, we’re happy to help you get started.