Skip to content

Help & guides

Answers to common questions about pgday — from joining to analytics.

Connect AI & MCP

With the MCP server you connect Claude directly to pgday analytics and lead records. Your AI can query metrics — leads, points, discovery rate, channel mix, funnel, leaderboard — list individual leads, and export CRM-ready rows. Access is available on the Pro plan for all members (admins, game masters, and users). Guest accounts cannot connect.

What is MCP?

MCP (Model Context Protocol) is an open standard that lets AI clients use secure, read-only tools. pgday provides an MCP server with read-only analytics and optional lead record access.

Connect Claude (recommended)

  1. Open Analytics and scroll to Connect Claude (admins also find it under Settings → Integrations).
  2. Copy the MCP endpoint.
  3. In Claude Desktop (or claude.ai): Customize → Connectors → Add custom connector.
  4. Paste only the URL (no API key required) and click Add or Connect.
  5. Sign in to pgday and approve access on the consent screen (analytics + lead records including contact details).

Claude then runs the OAuth flow automatically — you do not need to enter a client ID or secrets.

Data scope

  • Admins and game masters see organization-wide analytics and leads (same as in the app).
  • Users see only their own data and team data — the same scope as on the Analytics and Leads pages.
  • Guests cannot authorize MCP access.

Available tools

Analytics

  • list_metrics — lists all available metrics.
  • query_metric — query one metric (with optional event/team/time range). Use point_attribution and sort by discovery_count for per-person discovery rankings; rows include display_name.
  • get_recap — compact overview plus people (point attribution with names).

Lead records (requires leads:read — granted on reconnect)

  • list_leads — paginated lead list (company, contact, outcome, owner name). Max 50 rows per call.
  • get_lead — single lead with notes and contact fields.
  • export_leads — up to 50 leads in HubSpot, Salesforce, or pgday CSV column layout (server-side mapping, not LLM guessing).

CRM workflow (without native HubSpot integration)

  1. Ask Claude to analyze leads for an event (e.g. top discovery meetings).
  2. Call export_leads with format: hubspot (or salesforce / csv).
  3. Use the returned CSV in chat or import it into your CRM — or use your own HubSpot MCP for upserts if you have write access there.

pgday does not push leads into HubSpot automatically; you stay in control of imports.

Disconnect

In Analytics → Connect Claude (or Settings for admins) you can revoke your Claude connection. Admins can revoke all active sessions for the organization.

Security & privacy

  • Access is bound to the user who authorized and is strictly read-only.
  • Lead tools may return contact names, email, phone, and notes — only within the same visibility rules as the pgday app.
  • Normal users cannot query other people's private leads beyond their team visibility.
  • Export rows include pgday_lead_id and source: pgday for CRM deduplication.
  • Connections can be revoked at any time.

Manual test checklist

  1. Discovery ranking — Ask: “Who booked the most discovery meetings this event?” → query_metric with point_attribution, verify display_name (not UUID fragments).
  2. Lead list — list_leads with outcome: discovery and event scope; verify pagination via next_cursor.
  3. Export — export_leads with format: hubspot; verify columns match the in-app HubSpot export wizard.