Built for ChatGPT Apps and MCP Servers

MCPeek is an SDK that lets you track user analytics in ChatGPT apps.

MCPeek allows you to track user metrics like: DAU/WAU/MAU, retention, sessions, toolcalls, power users, and feature adoption.

Dashboard Snapshot

Overview

Live

DAU

1,248

WAU

4,932

MAU

12,410

New Users

327

Sessions / User

2.8

Toolcalls / User / Day

6.1

SDK Setup

Instrument both sides in minutes.

MCPeek wraps the MCP server transport on the backend and wraps the OpenAI widget client (`window.openai`) in your ChatGPT app

MCP Server

@mcpeek/server-sdk

server.ts
import { withMcpServerAnalytics } from "@mcpeek/server-sdk";
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";

const api_config = {
  endpoint: ingestEndpoint,
  apiKey: process.env.MCPEEK_INGEST_KEY!,
  organizationId: process.env.MCPEEK_ORG_ID!,
  environment: "production" as const,
};

const server = createTodoServer(isAuthenticated, resourceMetadataUrl);
const transport = withMcpServerAnalytics(
  new StreamableHTTPServerTransport(),
  api_config,
);

await server.connect(transport);
await transport.handleRequest(req, res);

ChatGPT App

@mcpeek/openai-client-sdk

widget.html

window.McPeek.withOpenAiClientAnalytics({
  endpoint: "https://your-app.com/ingest",
  apiKey: "mcpeek_...",
  organizationId: "org_...",
  environment: "production",
});

// withOpenAiClientAnalytics wraps window.openai automatically.
const response = await window.openai.callTool("add_todo", {
  title: "Ship analytics",
});







Metrics You Have

Aligned to your actual dashboard categories.

Active User Metrics

Track DAU, WAU, MAU and New Users to see how your product grows across release cycles.

Engagement Metrics

Monitor Sessions per User, Session Length, Tool Calls per Session, and 7d/30d retention.

Tool & Feature Analytics

Analyze daily tool calls, power users, feature adoption, and distribution by locale/country/agent.

Privacy-first telemetry

Track DAU, retention, and tool usage without storing prompts or message content.

MCPeek captures structured usage events and performance metrics, while excluding prompt text, response bodies, and other sensitive conversation payloads.

Structured event metrics for usage, engagement, and adoption
Cross-team visibility for product, engineering, and growth
Quick setup on both MCP server and ChatGPT app side