Convai Analytics logo

Convai Analytics

Query Convai telemetry for sessions, latency, reliability, usage, providers, models, and chart-ready analytics.

Install Convai Analytics

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "convai-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@convai/analytics-mcp@latest"
      ],
      "env": {
        "CONVAI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 44 tools correctly (26d ago).

Overview

Convai Analytics MCP server connects MCP-capable agents to Convai’s hosted Analytics API using a Convai API key. It exposes typed tools for account summaries, time series, breakdowns, sessions, interactions, metrics, regression detection, and analytics queries. Results arrive as structured JSON or Vega-Lite chart specifications, while account scoping, plan checks, and quota enforcement happen through the hosted API. Reach for it when you need programmable or agent-driven analysis of Convai applications rather than direct datastore access or browser-side telemetry access.

Use cases

  • Measure Convai latency percentiles over time
  • Investigate slow sessions and interaction spans
  • Compare usage across characters and end users
  • Identify providers or models associated with errors
  • Generate chart specifications for analytics reviews

Key features

  • Read-only Convai telemetry queries
  • Session and interaction inspection
  • Latency, usage, reliability, and concurrency analysis
  • Provider, model, and character breakdowns
  • Regression detection and metric catalog access
  • Vega-Lite chart specification output

Tools44

What Convai Analytics lets your agent do. Expand a tool for its parameters.

Verified live~10.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

21/21 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @convai/analytics-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads188Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed44Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Convai Analytics works

What Convai Analytics MCP server does

The Convai Analytics MCP server gives MCP-capable agents a read-only interface to Convai application telemetry. It connects to Convai’s hosted Analytics API at https://analytics-api.convai.com/v1/analytics and uses an API key to scope queries to the associated account.

Use it to investigate session activity, interaction counts, unique end users, latency percentiles, errors, concurrency, provider and model behavior, and character-level usage. The server is intended for analytics and investigation; it does not change characters, sessions, configuration, or telemetry.

The repository also contains TypeScript and Python SDKs, a command-line client, prompt recipes, chart recipes, and runnable examples. Those alternatives are useful when an application needs programmatic access without an MCP host.

How it works

The published package, @convai/analytics-mcp, runs as a local stdio MCP server. An MCP client starts it with npx, passes the API key through the process environment, and sends typed tool calls. The server forwards those calls through the public TypeScript SDK to Convai’s Analytics API.

The API performs server-side account resolution, plan validation, and quota enforcement. Returned data is agent-friendly JSON. Chart-oriented tools return Vega-Lite JSON specifications; the MCP client decides whether to render, save, or summarize those results. The server itself does not write chart files.

The available endpoint surface includes summaries, time series, breakdowns, session listing and retrieval, interaction retrieval, metric catalog access, regression detection, and general queries. Convenience analytics for latency, providers, errors, and usage are built on these primitives.

Setup and configuration

A Convai API key is required. Keep it on the server side and do not place it in browser code, mobile applications, public notebooks, screenshots, logs, or committed configuration.

server.ts
export CONVAI_API_KEY="ck_live_your_key_here"
npx -y @convai/analytics-mcp@latest

The SDK and MCP package use production as the default API base. CONVAI_ANALYTICS_BASE_URL can be supplied when an alternate base URL is needed. After adding or changing MCP configuration, restart the host or begin a new session so it reloads the command and environment.

The repository requires Node.js 18 or newer for the TypeScript SDK, CLI, examples, and chart recipes. Python 3.10 or newer plus uv applies to the Python SDK path. Claude Desktop configuration uses the npx command and passes CONVAI_API_KEY under env.

Tools and capabilities

The Convai Analytics MCP server supports questions such as:

  • Counting interactions and unique end users over a selected period.
  • Comparing usage by character.
  • Examining aggregate P50, P95, and P99 latency over time.
  • Finding components, providers, models, or characters associated with latency or errors.
  • Listing slow sessions and retrieving interaction details.
  • Producing latency, usage, reliability, and concurrency chart specifications.

Prompt recipes document call sequences for common questions, while chart recipes provide runnable Vega-Lite or Plotly workflows for developers using the repository directly.

Limitations and notes

This is a read-only analytics interface, not a mutation API or a client-side browser SDK. All reads pass through Convai’s hosted service; the package does not connect directly to a data store and does not accept account overrides, service credentials, or database URLs.

The project describes the MCP package as version 0.2. Availability and results remain subject to the Convai account’s plan and quota limits. The MCP server returns artifacts to the connected client but does not decide how charts are rendered or persisted.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Convai Analytics

Convai Analytics is an MCP server that connects MCP-capable agents to Convai’s hosted Analytics API through a Convai API key. Its main tools query account summaries, time series, breakdowns, sessions, interactions, metrics, regression detection, and chart-ready analytics. It returns structured JSON or Vega-Lite specifications for analysis, summaries, and visualization.

Install it by running `npx -y @convai/analytics-mcp@latest` with `CONVAI_API_KEY` exported in the environment. Add the same command and environment variable to an MCP client configuration, then restart the client or start a new session.

Yes, Convai Analytics works with Cursor through its local stdio MCP server. Configure Cursor to run the published `npx` package and provide `CONVAI_API_KEY`, then reload the MCP configuration.

It requires `CONVAI_API_KEY`, which identifies the Convai account whose analytics are queried. `CONVAI_ANALYTICS_BASE_URL` is optional because the production API is the default.

No, Convai Analytics only reads analytics data. It cannot mutate characters, sessions, configurations, or telemetry, and it does not provide direct datastore access.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewConvai Analytics AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/convai-analytics?style=directory)](https://allmcps.com/mcp/convai-analytics)
HTML Embed
<a href="https://allmcps.com/mcp/convai-analytics"><img src="https://allmcps.com/api/badge/convai-analytics?style=directory" alt="Convai Analytics on AllMCPs" /></a>