Vercel × Metabase

How to build Vercel dashboards in Metabase

Vercel is a frontend cloud platform for deploying and hosting web applications, with builds, previews, and edge infrastructure. Metabase is where you turn those operational signals into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Vercel MCP and loads a CSV into Metabase with the Metabase CLI, and a durable pipeline route that syncs Vercel rollups into a database so you can build dashboards anyone can read.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Vercel connector, and a BI warehouse is the wrong home for raw telemetry. Sync aggregates, entities, and metadata — incidents, error groups, rollups, deploys — and leave the event firehose in Vercel.

How do you connect Vercel to Metabase?

Most teams combine both routes: use MCP and CLI uploads for a fast first pass, then move recurring reliability reporting to a warehouse-backed model.

1 · MCP + CLI route (AI-assisted)

Live data in, quick analysis out

Pair the Vercel MCP with the Metabase CLI. Use MCP for live lookups, write a scoped result to CSV, then load it into Metabase as a ready-to-query table and model.

Best for
  • Quick lookups such as "show me deployment frequency and failures"
  • Loading a Vercel export into Metabase in seconds
  • Spot-checks and one-off analyses without a warehouse
Trade-offs
  • Great for exploration, not governed reliability reporting
  • Use read-only/scoped credentials wherever the MCP server supports them
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Vercel rollups and metadata into a database or warehouse with a connector, custom pipeline, or API, then point Metabase at it.

Best for
  • Vercel reliability dashboards leaders depend on
  • Joining Vercel data with deploys, issues, support, or cost data
  • Long-run trends for deployment frequency and failures and build duration trends
Trade-offs
  • You own the refresh schedule and the rollup grain
  • Sync aggregates and entities — not the raw event firehose
  • Metric definitions must be consistent across services and teams

What can you analyze from Vercel data in Metabase?

  • Deployment frequency and failures — built from deployments and the related builds, checks, projects data your sync exposes.
  • Build duration trends — built from deployments and the related builds, checks, projects data your sync exposes.
  • Preview vs. production activity — built from deployments and the related builds, checks, projects data your sync exposes.
  • Project delivery health — built from deployments and the related builds, checks, projects data your sync exposes.
  • Error and rollback correlation — built from deployments and the related builds, checks, projects data your sync exposes.

Which Vercel dashboards should you build in Metabase?

For: Eng leads

Deployment health

How often you ship and how often it fails.

  • Production deployments per week (bar)
  • Failed and canceled deployments (line)
  • Deployment frequency by project (table)
  • Change failure rate (number + trend)
For: Platform, frontend leads

Build performance

Whether the path to production is getting slower.

  • Median build duration by week (line)
  • p95 build duration by project (bar)
  • Failed builds and checks per week (bar)
  • Slowest projects to build (table)
For: Teams, PMs

Preview and promotion flow

How work moves from preview to production.

  • Preview vs. production deployments per week (stacked bar)
  • Time from first preview to production (line)
  • Active projects by deployment volume (table)
  • Stale projects with no recent deploys (table)
For: Eng leads, release owners

Release quality

What each release did to production.

  • Deployments followed by an error spike (table, joined to error data)
  • Rollbacks and redeploys per week (bar)
  • Checks failed per deployment (line)
  • Releases per project, trailing 30 days (bar)

How do you use the Vercel MCP with the Metabase CLI?

Pair the Vercel MCP with the Metabase CLI for fast, hands-on analysis. MCP is useful for scoped lookups and summarized exports; the Metabase CLI's upload command loads CSV data into Metabase and creates a ready-to-query table and model.

Example workflow

  • Ask the MCP server for the latest deployments with status, environment, and build duration.
  • Export the result as CSV, keeping stable IDs, services, environments, severities, and timestamps.
  • Run mb upload csv to load it into Metabase as a table and model, then build questions and dashboards on top.

Be honest about the limits

  • MCP lookups are excellent for exploration, not scheduled reporting.
  • A CSV upload is a snapshot; refresh it with mb upload replace or move to the pipeline for real history.
  • Deployment timestamps and statuses are required for frequency and failure trends.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up Vercel MCP and the Metabase CLI?

Vercel MCPofficial

Transport
Hosted remote MCP via Streamable HTTP
Auth
OAuth through Vercel (approved AI clients only)
Best for
Live scoped lookup and export

Metabase CLIofficial

Install
npm install -g @metabase/cli
Auth
mb auth login
Load data
mb upload csv --file data.csv
Requires
An uploads database (Admin → Settings → Uploads)
MCPExample MCP client config
{
  "mcpServers": {
    "vercel": {
      "url": "https://mcp.vercel.com"
    }
  }
}

Only Vercel-approved clients (Claude, Cursor, ChatGPT, VS Code, and others) can connect; the OAuth grant carries your user's access, so scope it deliberately.

TerminalLoad a Vercel CSV with the Metabase CLI
# Install the Metabase CLI
npm install -g @metabase/cli

# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com

# Load a deployments export — creates a table AND a model
mb upload csv --file vercel-deployments.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file vercel-deployments.csv

Can you generate a Vercel dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Vercel MCP and the Metabase CLI. It works end to end: if Vercel tables already exist in Metabase it analyzes those; otherwise it pulls scoped, summarized data over MCP, loads it with mb upload csv, then builds the dashboard and caveats any metric that needs missing history.

Prompt for creating a Vercel Deployment Analytics Overview dashboard
Create a polished Metabase dashboard for Vercel deployment analytics analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help engineering and operations leaders understand deployment frequency, build performance, preview flow, and release quality from Vercel data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for vercel tables and
  models). If durable Vercel data is already present — synced from a warehouse
  or uploaded earlier — use it and skip to Step 2.
- If nothing is there, pull a scoped, summarized export with the Vercel MCP:
  deployments, plus builds, checks, projects.
  Prefer aggregated or rollup views over raw events. Write each result to a CSV,
  then load it with the Metabase CLI — run "mb upload csv --file <export>.csv" so
  each upload creates a table and a ready-to-query model. Use "mb upload replace
  <table-id> --file <export>.csv" to refresh an existing table instead of creating
  duplicates.

Step 2 — Inspect before querying:
Do not assume exact table or column names. Inspect available fields, services,
environments, timestamps, and whether rollups or history exist before creating
duration or trend cards.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Vercel — it reads a database or CLI-uploaded tables.
- Never try to load the raw event firehose into Metabase; use rollups, entity
  tables, and incident- or group-grain data.
- Only compute durations (MTTA, MTTR, time-to-resolve) when the required
  timestamps exist.
- Exclude test, staging, or muted objects from headline reliability cards, and
  segment by environment where the field exists.
- A single CSV is a point-in-time snapshot: only build trend cards if there is a
  usable date column or multiple periods have been uploaded.

Dashboard title: Vercel Deployment Analytics Overview

Sections:
1. Executive summary: Production deploys last 30 days; Failed deploys; Median
   build duration; Active projects; Change failure rate.
2. Deployment health: Deploys by week and project; failed/canceled deploys.
3. Build performance: Median and p95 build duration by week and project.
4. Preview flow: Preview vs production deploys; time from preview to production.
5. Release quality: Rollbacks/redeploys; failed checks per deployment.

Filters: Date range, Service, Environment, Severity, Team, Status.

Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data.

How do you sync Vercel data into a database or warehouse?

For dashboards that need history and reliability, land Vercel rollups and metadata in a database first, then connect Metabase to that database.

Connector options

  • Managed ETL — use a connector when one covers the objects you need.
  • Custom pipeline — use the Vercel REST API for control over rollup grain, fields, and refresh cadence.
  • MCP + CSV — use this for quick exploration and one-off slices.

Sync deployments, builds, and projects with the Airbyte Vercel source or scripts against the Vercel REST API; Fivetran covers it via a Connector SDK example rather than a managed connector.

Notes

  • Decide the rollup grain first (hourly or daily per service/environment) — it drives warehouse cost and every trend card.
  • Land raw entity tables first, then build clean Metabase models on top.
  • Normalize project, environment, deploy status, build-duration, and deployed-at fields.

How should you model Vercel data in Metabase?

Core tables

TableGrainKey columns
deploymentsone row per deploymentid, project_id, environment, deployed_at, status, build_duration_seconds, creator_id
vercel_projectsone row per projectid, name, framework, team_id, created_at
vercel_checksone row per deployment checkid, deployment_id, name, conclusion, started_at, completed_at

Modeling advice

  • Build a clean deployments model with common columns across tools, so multi-source dashboards don't fork definitions.
  • Separate entity tables (services, monitors, policies) from time-series rollups and event-grain tables.
  • Exclude test, staging, and muted objects from headline reliability metrics; keep environment as an explicit column.
  • Use stable IDs for service, team, and incident joins; display names change.

Which Vercel metrics should you track in Metabase?

MetricDefinitionNotes
Deployment frequencyProduction deployments per period — a DORA throughput metric.Count production deploys, not previews or merges.
Change failure rateDeployments causing failures divided by all deployments.Rollbacks and instant redeploys are the failure signal.
Lead time for changesCommit to running in production — a DORA throughput metric.Build duration is the pipeline slice of it.
Error rateError events divided by total requests or sessions.Join an error tracker's release tags to deploys.

What SQL powers Vercel dashboards in Metabase?

These assume a cleaned analytical model in a warehouse (PostgreSQL dialect). Adjust table and column names to match your pipeline.

Deployments and change failure rate by weekPostgreSQL

Change volume and stability together.

SELECT
  date_trunc('week', deployed_at) AS week,
  COUNT(*) AS deployments,
  COUNT(*) FILTER (WHERE status IN ('failed', 'rolled_back')) AS failed,
  ROUND(
    100.0 * COUNT(*) FILTER (WHERE status IN ('failed', 'rolled_back'))
    / NULLIF(COUNT(*), 0), 1
  ) AS change_failure_rate
FROM deployments
WHERE environment = 'production'
GROUP BY 1
ORDER BY 1;
Build duration, median and p95 by weekPostgreSQL

Whether the path to production is getting slower.

SELECT
  date_trunc('week', deployed_at) AS week,
  percentile_cont(0.5) WITHIN GROUP (
    ORDER BY build_duration_seconds
  ) AS median_build_seconds,
  percentile_cont(0.95) WITHIN GROUP (
    ORDER BY build_duration_seconds
  ) AS p95_build_seconds
FROM deployments
WHERE status = 'success'
GROUP BY 1
ORDER BY 1;
Preview vs. production deployments by weekPostgreSQL

Flow from pull-request previews to shipped releases.

SELECT
  date_trunc('week', deployed_at) AS week,
  COUNT(*) FILTER (WHERE environment = 'production') AS production_deploys,
  COUNT(*) FILTER (WHERE environment <> 'production') AS preview_deploys
FROM deployments
WHERE status = 'success'
GROUP BY 1
ORDER BY 1;

What are common mistakes when analyzing Vercel in Metabase?

Syncing the raw event firehose into the warehouse.→ Land rollups, entities, and incident- or group-grain tables. Raw telemetry belongs in Vercel; the warehouse is for trends and joins.
Counting preview deployments as releases.→ Preview deploys dwarf production volume. Segment by environment, and make production deploys the headline delivery number.
Reporting build duration as an average.→ Build times are right-skewed by cold caches and dependency changes. Use the median and p95, and trend them separately.
Building dashboards from live MCP lookups only.→ MCP is useful for exploration; durable dashboards need a database-backed model with history.

Related analytics

Related dashboards

Related integrations

FAQ

Does Metabase connect natively to Vercel?
No. Metabase reads databases and warehouses. Sync Vercel rollups and metadata into a database first, or upload a CSV with the Metabase CLI, then build Metabase models and dashboards on top.
Should Metabase replace Vercel?
No — they answer different questions. Vercel is built for real-time triage and deep debugging. Metabase is where you build governed, shareable reporting on top of the same signals, and join them with deploys, issues, support, and business data.
Should I sync every preview deployment?
Sync them, but keep them out of headline numbers. Preview deploys usually dwarf production volume, so an unsegmented deploy count mostly measures how chatty pull requests are. Keep environment as an explicit column, report production deploys as the delivery signal, and use preview volume for flow analysis.
How do I measure change failure rate for Vercel deploys?
Flag production deployments that were rolled back, instantly redeployed, or followed by an error spike from a tracker like Sentry tagged with the same release. Divide those by all production deploys — see change failure rate for the SQL patterns.