Privytics logoPrivyticsBack to home

Connect ChatGPT to Privytics

Privytics has an MCP server, so ChatGPT can work with your analytics. Ask a question in plain language and ChatGPT looks up the answer in your projects. It can also build dashboards and reports for you, and in Codex it can set up tracking in your code.

  • MCP server: https://api.privytics.com/mcp
  • Works in ChatGPT and in Codex, which share the same plugins. For Claude, Cursor, VS Code and other clients, see Connect Claude.
  • Included on every plan, including free.

You sign in with your Privytics account and approve the connection. There is no key to copy.

Connect from ChatGPT

If Privytics is listed in ChatGPT's plugin directory, add it from there and sign in. Otherwise add it as a custom MCP server:

  1. Open Plugins in ChatGPT, select the plus button, then Add custom MCP server.
  2. Name it Privytics and enter https://api.privytics.com/mcp as the URL.
  3. Choose OAuth as the authentication method, review the warning and select I understand and want to continue.
  4. Select Create as a plugin. Sign in to Privytics when asked and approve the connection.
  5. Install the plugin, start a new conversation and type @ to pick Privytics.

Whether you can add a custom MCP server, and whether ChatGPT can use the tools that make changes, depends on your ChatGPT plan and your workspace's settings.

Connect from Codex

If Privytics is listed in the plugin directory, add it from there. Otherwise, in the Codex CLI:

codex mcp add privytics --url https://api.privytics.com/mcp
codex mcp login privytics

Sign in to Privytics in the browser window that opens and approve the connection.

New to Privytics? Sign up as you connect

No account yet? On the sign-in page that opens, choose Create an account and sign up with Google, GitHub or email. Approve the connection and you are back in your assistant.

You start without a project. Ask the assistant to create one: it creates the project, gives you the install code for your framework and checks that events arrive. Your first workspace includes the free plan.

Permissions

You approve one permission. The assistant sees what you see in the dashboard, across all your workspaces:

  • It can read the analytics of every project you can open.
  • Where you have write access, it can create projects and create, edit and delete dashboards and reports.
  • If you are a viewer, or your access to a project is read-only, it only reads there.
  • Creating a project in an existing workspace needs the owner or admin role. The assistant can also create a new workspace for the project.

Tools

The assistant picks the tool for each question, so you never call them by name. Claude Code shows them as mcp__privytics__<name>.

Read

  • Projects and setup: List projects (list_projects), Get install snippet (get_install_snippet), Check incoming events (check_events), Get dashboard links (get_dashboard_urls)
  • Overview and traffic: Get analytics overview (get_analytics_overview), Get rolling active users (get_rolling_active_users), Get top pages (get_top_pages), Get entry and exit pages (get_entry_exit_pages), Get page performance (get_page_performance), Get page conversions (get_page_conversions), Get top referrers (get_top_referrers), Get location breakdown (get_country_breakdown), Get device breakdown (get_device_breakdown)
  • Events and sessions: List event names (list_event_names), List event properties (list_event_properties), Get property values (get_event_property_values), Query events (query_events), Query sessions (query_sessions)
  • Users and groups: Find user profiles (find_profiles), Get user profile (get_profile), Get profile sessions (get_profile_sessions), Get profile metrics (get_profile_metrics), List group types (list_group_types), Find groups (find_groups), Get group (get_group)
  • Funnels, retention and flows: Get funnel (get_funnel), Get retention cohort (get_retention_cohort), Get weekly retention (get_weekly_retention_series), Get last-seen distribution (get_user_last_seen_distribution), Get user flow (get_user_flow)
  • Dashboards and reports: List dashboards (list_dashboards), Get dashboard (get_dashboard), List reports (list_reports), Get report data (get_report_data)

Write

  • Projects: Create project (create_project)
  • Dashboards: Create dashboard (create_dashboard), Rename dashboard (update_dashboard), Delete dashboard (delete_dashboard), Reset dashboard layout (reset_dashboard_layout)
  • Reports: Create report (create_report), Update report (update_report), Duplicate report (duplicate_report), Update report layout (update_report_layout), Delete report (delete_report)

Example prompts

  • "Set up Privytics analytics in this Next.js app and confirm events arrive."
  • "What were my top 5 referrers in the last 7 days?"
  • "Show the signup funnel from signup_started to signup_completed over the last 30 days and where people drop off."
  • "Create a dashboard with weekly visitors and top pages."

What data goes to the assistant

The results of what you ask are sent to your assistant and its provider (Anthropic for Claude, OpenAI for ChatGPT and Codex), under your terms with that provider. Privytics does not choose that provider, and its terms decide how the data is used and kept.

Profile tools such as Find user profiles and Get user profile can return the names and email addresses of users you have identified.

For each call we log the tool, your account, the workspace and project, the time, how long it took and the result (success or error), not what you asked or what came back. Some assistants, such as ChatGPT, also send an approximate location, a language setting, a hint about the browser or app in use and anonymous identifiers with each call; we do not store them. The details are in the privacy policy, section 4.3.

Disconnect

Open Account → Connected apps in the dashboard and disconnect the assistant. It loses access right away.

Resetting your password signs you out of Privytics on every device and disconnects every assistant connected to your account. Turning two-factor authentication on or off also disconnects every assistant.

Free plan limits

The free plan includes 10,000 events a month, one project and 12 months of history, with no credit card. Only the first workspace you own includes it: a workspace you create after that needs a paid plan before it accepts events.

Over 10,000 events, new events pause until the next monthly period. Nothing is charged, and the dashboard and the assistant keep working with the data you have. Paid plans are on the pricing page.

Troubleshooting

The assistant asks you to sign in again, or says it is not authorised. Sign in again: in Claude Code, run /mcp, choose privytics and sign in. In Claude, open Customize → Connectors, choose Privytics and click Reconnect. In ChatGPT, open Plugins, choose Privytics and connect again. This happens after you disconnect the assistant, reset your password or change two-factor authentication, and after 30 days without use.

"This sign-in link has expired." The sign-in link your assistant opens is valid for 10 minutes. Start the connection again from your assistant.

Events are not arriving. Ask the assistant to check incoming events for the project. The usual causes:

  • The site's origin is not in the project's allowed domains. Add it in Project settings → Details → Allowed domains.
  • The SDK is not pointed at Privytics. apiUrl must be https://api.privytics.com.
  • The free limit is reached, or the workspace has no free plan (only the first workspace you own includes it). Events still get a success response, but they are dropped until the next monthly period, or until you choose a plan on the workspace's Billing page.
  • The workspace is being closed (you will have had emails about it). It no longer accepts events. Choose a plan on the workspace's Billing page to keep it.

"You have read-only access to this project." You can only view that project (for example as a viewer), so the assistant cannot change its dashboards or reports. Ask a workspace owner or admin for write access.

"Project not found or you do not have access to it." The project was deleted, or you no longer have access to it. Ask the assistant to list your projects.

Need help?

Write to hello@privytics.com.

Privytics logoPrivytics

Privacy-first product analytics, hosted in the EU.

System status

Compare

Google Analytics alternativesvs Google Analyticsvs Plausiblevs Fathomvs Mixpanel

Resources

PricingDocsClaude and MCPChatGPTSetup guidesBlogLog in

Popular guides

Next.jsReactReact NativeScript tag

Legal

PrivacyTermsDPACookies
© 2026 PrivyticsBuilt on the open-source OpenPanel engine. Independent service, not affiliated with OpenPanel.Includes GeoLite2 data created by MaxMind.