PostHog + Memtro

SQL-grade product analytics, feature flags and experiments.

Connect PostHog Cloud or a self-hosted instance with a scoped personal API key and Memtro can query events with HogQL, chart trends, read saved insights, look up people with their recent events and recordings, and report on feature flags and experiments. When you ask, and once an administrator has granted the action by name, it can switch flags on or off, create, roll out or archive flags, launch, pause, end or ship experiments, add annotations, build dashboards and set person properties. Flag and experiment changes reach real users within seconds, and an ended experiment cannot be restarted.

In Memtro

What you can do with PostHog in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right PostHog tool, reads what it needs, and answers with the source cited.

What it does

  1. 01Ask any question HogQL can answer across events, persons and sessions
  2. 02Pageviews, sign-ups or any event per hour, day, week or month, with breakdowns, and saved insights by id
  3. 03Find a person by email and see their properties, latest events and session recordings
  4. 04Which feature flags are on, for whom and at what rollout, and experiment status, variants and conclusions
  5. 05When asked and granted, switches, creates, rolls out or archives feature flags, and launches, pauses, ends or ships experiments. Users see the change the next time flags are evaluated
  6. 06When asked and granted, adds annotations, creates dashboards and places insights on them, and sets a person property, which can move that person in or out of a rollout

Acts when asked

When you ask it to

These tools change something in PostHog. The model is told to use them only when you ask for exactly that, and an administrator grants each one by name to the teams that may use it; a personal connection acts only after its owner allows it.

  1. 01Add a dated annotation to the project's charts, or to one insight or dashboard
  2. 02Switch a feature flag on or off
  3. 03Set a property on a person
  4. 04Create a feature flag with a rollout percentage and optional variants
  5. 05Roll a feature flag out to everyone, or set the percentage of one of its release conditions
  6. 06Archive a feature flag, which also switches it off
  7. 07Launch, pause or resume an experiment
  8. 08End an experiment, or ship one variant to 100% of its flag and end it
  9. 09Create a dashboard, or place a saved insight on one
In practice

Ask it like you would a colleague

Once PostHog is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

PostHog + Memtro
  • How many unique users viewed pricing each day this week?

  • What is the current result of our 'Activation funnel' insight?

  • What has jane@acme.com done recently, and are there session recordings?

  • Which feature flags are enabled for enterprise customers?

  • Turn off the new-checkout flag

01

Debug a customer report

A customer says a page broke. Ask Memtro for their recent PostHog events and recordings, then check which flags they were in, all from one question.

02

Pulling a flag

Support reports checkout errors since lunch, and Kim Ross at BigCo asks Memtro to turn off the new-checkout flag. Memtro reads the flag, switches it off, and every user it covered falls back to the old checkout the next time their client evaluates flags, usually within seconds.

Teams

Where it fits

The teams that lean on PostHog most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in PostHog is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Also in Analytics

Using something else for the same job, or both? Each connector has its own tools; connect as many as you like.

Setup

How to connect

Connect withPersonal API key
  1. 1

    In PostHog open Settings → Personal API keys and create a key restricted to your project

  2. 2

    Grant the read scopes project, user, query, insight, person, feature flag, session recording, experiment and survey, and for the actions annotation, feature flag, person, experiment and dashboard write. Leave the write scopes off for a read-only connection

  3. 3

    In Memtro open Connections → PostHog, enter the PostHog URL (US, EU or self-hosted), paste the Personal API key and optionally the Project ID

  4. 4

    Connect, Memtro verifies the key and records the project name

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The PostHog tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in PostHog?+

Only when you ask, and only what it has been granted: add a dated annotation to the project's charts, or to one insight or dashboard; switch a feature flag on or off; set a property on a person; create a feature flag with a rollout percentage and optional variants; roll a feature flag out to everyone, or set the percentage of one of its release conditions; archive a feature flag, which also switches it off; launch, pause or resume an experiment; end an experiment, or ship one variant to 100% of its flag and end it; create a dashboard, or place a saved insight on one. Every other tool reads, searches or lists. The Connections page labels the tools that act, an administrator grants each one by name to the teams that may use it, and a personal connection acts only after its owner allows it.

Who can use a PostHog connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my PostHog data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded. An hourly sync anchors recently changed PostHog records into memory as entities.

How do I connect PostHog?+

Personal API key. In PostHog open Settings → Personal API keys and create a key restricted to your project.

Connect PostHog in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time