Skip to main content
Glama

@silkweave/meet

Google Meet API client exposed as both an MCP server and a CLI. Built with silkweave.

Authentication is exclusively through a Google Workspace service account with domain-wide delegation (DWD). There is no OAuth flow, no per-user token registry, no interactive login. One service-account JSON on disk and a list of Workspace user emails in a config file is the entire setup.

Features

  • List upcoming meetings from Google Calendar and past Google Meet conference records

  • Retrieve conference details, participants, recordings, and transcripts (impersonating any Workspace user via DWD)

  • Render transcripts as clean Markdown (consecutive utterances per speaker merged)

  • Persistent transcript archive with full-text (and optional OpenAI-powered vector/hybrid) search — every saved transcript is enriched with its Calendar event (subject, description, attendees) and indexed into a local SQLite database

  • Two ways to consume new-transcript notifications:

    • eventPullTranscripts — on-demand polling with a persisted cursor (idempotent)

    • Built-in background watcher (transcriptWatch*) — streams from Pub/Sub and writes Markdown files, with optional per-save shell command

  • transcriptBackfill — one-shot catch-up across all users for the past N days

  • transcriptEnrich — re-run Calendar enrichment for archived transcripts that have no Calendar match yet

Related MCP server: Fireflies MCP Server

Quick Start

1. Provision a service account with DWD

In Google Cloud Console:

  1. Create or pick a project.

  2. Enable the Google Calendar API, Google Meet API, Google Workspace Events API, and Cloud Pub/Sub API.

  3. Create a service account; download its JSON key.

In your Google Workspace Admin Console:

  1. Security → Access and data control → API controls → Domain-wide delegation → Add new.

  2. Paste the service account's Client ID (the numeric one in the JSON key, field client_id).

  3. Grant these OAuth scopes:

    • https://www.googleapis.com/auth/userinfo.email

    • https://www.googleapis.com/auth/calendar

    • https://www.googleapis.com/auth/drive.readonly

    • https://www.googleapis.com/auth/meetings.space.readonly

    • https://www.googleapis.com/auth/meetings.space.created

2. Install the key locally

mkdir -p ~/.silkweave-meet
cp /path/to/sa-key.json ~/.silkweave-meet/service-account.json
chmod 600 ~/.silkweave-meet/service-account.json

That's all the auth configuration. No env vars, no OAuth flow.

3. Register the MCP server (optional, for Claude Code)

{
  "mcpServers": {
    "meet": {
      "command": "npx",
      "args": ["-y", "@silkweave/meet"]
    }
  }
}

The package ships two bins: meet (stdio MCP server, the default for npx @silkweave/meet) and meet-cli (full action set as direct commands). Requires Node.js ≥ 22.13.

4. Try a call

npx -p @silkweave/meet meet-cli calendar-event-list --user-email=you@your-workspace.com

Configuration file

Everything non-secret lives in ~/.silkweave-meet/config.json:

{
  "users": ["alice@company.com", "bob@company.com"],
  "watcher": {
    "pubsubSubscriptions": ["projects/my-project/subscriptions/meet-transcripts-sub"],
    "transcriptDir": "/Users/alice/meet-transcripts",
    "onTranscriptCommand": "osascript -e 'display notification ...'",
    "autoStart": true
  },
  "cursors": {
    "alice@company.com": "2026-04-22T14:30:00Z"
  },
  "openai": {
    "apiKey": "sk-...",
    "embeddingModel": "text-embedding-3-small"
  }
}
  • users — Workspace user emails the tool is allowed to impersonate. Populated by setupSubscribeAll --users=a,b,c or edited manually.

  • watcher — persisted watcher config, written by transcriptWatchStart.

  • cursors — per-user polling cursors for eventPullTranscripts.

  • openai — optional. Enables vector/hybrid search over the persisted transcript archive. OPENAI_API_KEY and OPENAI_EMBEDDING_MODEL env vars are used as fallbacks.

Archive files & database

  • Ingested transcripts are written to <transcriptDir>/<organizerEmail>/YYYY-MM-DD_{meetCodeOrConferenceId}_{transcriptId}.md. Because each saved file is fetched via the organizer's own subscription, the top-level folder makes it easy to browse "meetings I ran".

  • A companion SQLite database at ~/.silkweave-meet/transcripts.db (WAL mode, plus -wal/-shm side files) holds the searchable metadata (subject, description, attendees, date range, file path, embedding) with an FTS5 full-text index. It is the source of truth for transcriptList / transcriptGet / transcriptSearch. Several processes (MCP sessions, the watcher, CLI backfills) can read and write it at the same time.

  • Uses the built-in node:sqlite (hence Node.js ≥ 22.13); no native dependencies.

Upgrading from 2.1.x: 2.2.0 migrates the old Orama archive (transcripts.msp) into SQLite automatically on first start. Embeddings are not carried over, so run meet-cli transcript-reembed once afterwards. Any command that reads the archive (e.g. meet-cli transcript-list) triggers it; mcp-status does not. The .msp file is left in place as a rollback path and can be deleted once you're happy.

Tools Reference

Every action that reads Google data takes a required userEmail — the Workspace user the service account impersonates for that call. Permissions match exactly what that user can see.

The MCP surface is intentionally narrow: only the read-only transcript tools plus the archive maintenance tools (transcriptBackfill, transcriptEnrich, transcriptReembed) and mcpStatus are exposed over MCP. Everything that manages configuration, subscriptions, or the background watcher is CLI-only (via meet-cli).

MCP-exposed tools:

  • meetTranscriptList / meetTranscriptGet — live lookup against the Google Meet API.

  • transcriptList / transcriptGet / transcriptSearch — read from the persisted local archive (no Google round-trip; works offline for previously-ingested transcripts).

  • transcriptBackfill — catch-up ingest across all configured users (default: last 30 days). Dedupes by transcriptId.

  • transcriptEnrich — re-run Calendar enrichment for archived transcripts without a Calendar match (or one transcriptId).

  • transcriptReembed — compute missing OpenAI embeddings.

  • mcpStatus — health & status.

Upcoming meetings — Calendar* (CLI-only)

Tool

Purpose

calendarEventList

List Calendar events on the user's primary calendar (optionally filtered to Meet-enabled ones).

calendarEventGet

Get one event with Meet join info.

Past meetings & transcripts — Meet* (live Google API)

meetTranscriptList and meetTranscriptGet are available on both MCP and CLI. The rest are CLI-only.

Tool

Surface

Purpose

meetTranscriptList

MCP + CLI

List transcripts for a conference.

meetTranscriptGet

MCP + CLI

Fetch a full transcript; returns Markdown by default, format=json for raw entries.

meetConferenceList

CLI

List past conferenceRecords the user participated in (optional EBNF filter).

meetConferenceGet

CLI

Fetch a single conference record.

meetParticipantList

CLI

List participants of a conference.

meetRecordingList

CLI

List recording artifacts (Drive links).

meetSpaceGet

CLI

Resolve a space by spaces/{id} or meeting code.

Persisted transcript archive — Transcript* (local SQLite DB)

Reads from ~/.silkweave-meet/transcripts.db; populated by the background watcher (live) and transcriptBackfill (historical). Every record is enriched with its Calendar event (subject, description, attendees) — matching is deterministic: the event's Meet code (conferenceData.conferenceId, else the Meet link in its video entry point or hangoutLink) must equal the Meet space meetingCode, never time-guessing.

Tool

Surface

Purpose

transcriptList

MCP + CLI

List persisted transcripts, newest first, filterable by organizer, attendee, and date range.

transcriptGet

MCP + CLI

Fetch a single persisted transcript by id (or full resource name); returns metadata plus the rendered markdown body read from disk.

transcriptSearch

MCP + CLI

Keyword search over subject / description / full transcript body. With mode=vector or mode=hybrid and an OpenAI key configured, runs semantic or hybrid search. similarity defaults to 0.8, which is strict for text-embedding-3-small (typical query↔transcript cosine is 0.3–0.5); pass e.g. similarity=0.3 for broader semantic matches.

transcriptBackfill

MCP + CLI

Iterate every configured user, list conferences since startTime (default: 30 days ago), ingest any transcripts not already in the database. Dedupes by transcriptId.

transcriptEnrich

MCP + CLI

Re-run Calendar enrichment for every archived transcript without a Calendar match (or a single transcriptId), then rewrite its record and Markdown file. Uses only the stored meet code and times plus Calendar, so it works for meetings past Meet's retention window. Enriched transcripts are re-embedded when OpenAI is configured.

transcriptReembed

MCP + CLI

Compute embeddings for records ingested without one (force=true re-embeds everything). Requires an OpenAI key.

Notifications — Event* (CLI-only)

Tool

Purpose

eventPullTranscripts

Polling. Returns transcripts generated since the user's stored cursor, advances it. No Pub/Sub needed.

eventSubscriptionCreate

Create a Workspace Events subscription for a specific Meet space (requires meet-api-event-push@system.gserviceaccount.com to have Pub/Sub Publisher on the topic).

eventSubscriptionCreateForUser

Create a user-level Workspace Events subscription for the impersonated user. Covers meetings they own or attend.

eventSubscriptionList

List existing subscriptions owned by the impersonated user.

eventSubscriptionDelete

Delete a subscription.

Background watcher — TranscriptWatch* (CLI-only)

Singleton consumer that streams events from a Pub/Sub subscription (Pub/Sub auth from the same service-account key), and for each message impersonates (via DWD) the user whose Workspace Events subscription produced it — identified by the message's ce-source attribute — to fetch the transcript via the Meet API. One watcher covers every user listed in the config.

Tool

Purpose

transcriptWatchStart

Start the watcher (and persist config). Pass pubsubSubscriptions, transcriptDir, onTranscriptCommand, autoStart.

transcriptWatchStop

Stop the watcher. Pass disableAutoStart=true to also disable boot-time auto-start.

transcriptWatchStatus

Current status: running flag, per-subscription counters, known subscription owners, recent saved files.

When autoStart: true is persisted, the MCP server resumes the watcher on every boot. Each saved file is written to <transcriptDir>/<organizerEmail>/YYYY-MM-DD_{meetCodeOrConferenceId}_{transcriptId}.md and simultaneously inserted into the local search index.

Multi-user setup — Setup* (CLI-only)

Tool

Purpose

setupStatus

Report, for each user in the config, whether DWD impersonation succeeds and which Workspace Events subscriptions they own. With --pubsub-topic, flag which users are subscribed to it.

setupSubscribeAll

Create a user-level subscription for every user in the config. Optional --users=a,b,c also appends those emails to the config. Idempotent — re-running skips users already subscribed.

These are registered only in src/cli.ts (not the MCP action list), because they orchestrate the whole config rather than a single user.

Operational — Mcp*

Tool

Surface

Purpose

mcpStatus

MCP + CLI

Lightweight status: version/uptime/pid, service-account key presence, watcher running state, configured users with per-user subscription coverage, and the 10 most recent saved transcripts.

Multi-user setup walkthrough

# 1. Create the shared Pub/Sub topic and let Meet publish to it.
gcloud pubsub topics create meet-transcripts
gcloud pubsub topics add-iam-policy-binding meet-transcripts \
  --member=serviceAccount:meet-api-event-push@system.gserviceaccount.com \
  --role=roles/pubsub.publisher

# 2. Register the users and create one user-level subscription per person
#    (idempotent). The --users flag appends to ~/.silkweave-meet/config.json.
npx -p @silkweave/meet meet-cli setup-subscribe-all \
  --pubsub-topic=projects/<project>/topics/meet-transcripts \
  --users=alice@company.com,bob@company.com,carol@company.com,dave@company.com

# 3. Confirm every user is subscribed.
npx -p @silkweave/meet meet-cli setup-status \
  --pubsub-topic=projects/<project>/topics/meet-transcripts

# 4. Create the pull subscription the watcher will stream from, and grant the
#    service account Subscriber on it.
gcloud pubsub subscriptions create meet-transcripts-sub --topic=meet-transcripts
SA_EMAIL=$(jq -r .client_email ~/.silkweave-meet/service-account.json)
gcloud pubsub subscriptions add-iam-policy-binding meet-transcripts-sub \
  --member="serviceAccount:${SA_EMAIL}" --role=roles/pubsub.subscriber

# 5. Start the watcher. Routes each incoming event to the right user's
#    impersonation context based on the message's ce-source.
npx -p @silkweave/meet meet-cli transcript-watch-start \
  --pubsub-subscriptions=projects/<project>/subscriptions/meet-transcripts-sub \
  --transcript-dir=~/meet-transcripts \
  --auto-start=true

User-level subscriptions expire (Google's max TTL applies). Re-run setup-subscribe-all on a schedule (cron / launchd) to refresh any that have expired; existing valid ones are skipped.

User-level subscriptions capture transcript.v2.fileGenerated events for meetings the user owns or is merely invited to — that is the only non-owner event the Workspace Events API delivers, and it's exactly the one we want. Expect duplicates when multiple team members are in the same meeting; the watcher dedupes by transcriptId (in memory per run, and against the archive across runs).

Shell command env vars

The onTranscriptCommand runs via spawn(..., { shell: true }) with these environment variables exposed:

Var

Meaning

$TRANSCRIPT_PATH

Absolute path to the saved Markdown file

$TRANSCRIPT_RAW

Full rendered Markdown as a string (subject to shell env size limits)

$TRANSCRIPT_NAME

conferenceRecords/{c}/transcripts/{t} resource name

$CONFERENCE_RECORD

conferenceRecords/{c} resource name

$MEET_CODE

Meeting code (e.g. abc-mnop-xyz), if resolvable

$START_TIME / $END_TIME

Transcript start/end (RFC3339)

$ENTRY_COUNT

Number of transcript entries

$DATE

YYYY-MM-DD prefix used in the filename

$SUBJECT

Calendar event subject if matched, else empty

$CALENDAR_EVENT_ID

Calendar event id if matched, else empty

For very long transcripts, prefer reading from $TRANSCRIPT_PATH — environment size is bounded (~256KB on macOS).

Library usage

pnpm add @silkweave/meet
import { MeetClient } from '@silkweave/meet'
import { google } from 'googleapis'

const conferences = await MeetClient.withAuth('alice@company.com', async (auth) => {
  const { data } = await google.meet({ version: 'v2', auth }).conferenceRecords.list()
  return data.conferenceRecords ?? []
})

MeetClient.withAuth creates a DWD-impersonating JWT for that user using the key at ~/.silkweave-meet/service-account.json.

Development

pnpm install
pnpm tsx src/mcp.ts     # MCP server in dev
pnpm tsx src/cli.ts     # CLI in dev
pnpm build              # build to build/
pnpm lint               # eslint
pnpm typecheck          # tsc --noEmit
pnpm clean              # rm -rf build/

When iterating through the MCP in Claude Code, the server is a child process — after code changes, restart the MCP connection (or kill the process) so changes are picked up. Claude Code caches the tool list at connection time, so any change to the MCP action set also requires a full reconnect.

License

MIT

Available Tools

8 tools
McpStatusMcp StatusA

Lightweight MCP server status: health, the configured Workspace users (flagged with whether the transcript watcher has mapped a subscription to them), and the 10 most recent saved transcripts.

Inputs: no named parameters.

MeetTranscriptGetMeet Transcript GetA

Retrieve a full Google Meet transcript (all entries aggregated) rendered as Markdown or JSON. Defaults to the first transcript of the conference if no transcriptId is given. Impersonates userEmail via DWD.

Inputs: userEmail (required), conferenceRecordId (required), format, transcriptId.

MeetTranscriptListMeet Transcript ListB

List transcripts for a Google Meet conference. Each transcript has a state indicating whether its file has been generated. Impersonates userEmail via DWD.

Inputs: userEmail (required), conferenceRecordId (required), pageSize, pageToken.

TranscriptBackfillTranscript BackfillA

Backfill persisted Meet transcripts for every configured user (or the subset in userEmails). Lists past conferences since startTime (default: 30 days ago), fetches each transcript in parallel, enriches with Calendar, writes a YAML-frontmatter Markdown file to <transcriptDir>/<organizerEmail>/, and indexes into the local search database. Dedupes by transcriptId — already-ingested transcripts are skipped.

Inputs: startTime, userEmails, concurrency, generateEmbedding, +1 more.

TranscriptGetTranscript GetA

Fetch a previously-persisted Meet transcript by its transcriptId (not live from Google). Returns the enriched metadata and the rendered markdown body read from disk.

Inputs: transcriptId (required), includeBody.

TranscriptListTranscript ListA

List previously-persisted Meet transcripts (not live from Google), ordered by most recent first. Optional filters for organizer, attendee, and date range.

Inputs: limit, offset, attendee, startTimeTo, +2 more.

TranscriptReembedTranscript ReembedA

Compute or recompute OpenAI embeddings for persisted transcripts. By default operates on records that were ingested without an embedding (typical after adding the OpenAI key to an already-populated archive). Pass force=true to re-embed every record. Requires OPENAI_API_KEY (or openai.apiKey in ~/.silkweave-meet/config.json).

Inputs: force, limit, concurrency.

TranscriptSearchTranscript SearchA

Search previously-persisted Meet transcripts (not live from Google). Combines full-text over subject/description/transcript body with optional vector/hybrid search when OpenAI embeddings are configured. Results are scoped to transcripts already ingested by the watcher or backfill.

Inputs: mode, limit, query, offset, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 8 tools

    Disambiguation4/5

    The live vs persisted transcript distinction is clear between MeetTranscriptGet/List and TranscriptGet/List, though the names are similar enough to cause slight hesitation. Backfill, Reembed, Search, and Status are distinct services.

    Naming Consistency4/5

    All names use camelCase and follow an object-action pattern, but the prefix varies (McpStatus vs MeetTranscript* vs Transcript*). The 'Meet' prefix inconsistently indicates live Google data, while plain 'Transcript' indicates persisted data.

    Tool Count5/5

    Eight tools is a well-scoped count for managing Meet transcript ingestion, retrieval, search, and embedding. Each tool addresses a distinct stage in the transcript lifecycle without bloat.

    Completeness4/5

    The toolset covers the core lifecycle: list, get, backfill, persist, search, and embed. Missing delete/update operations for persisted transcripts are minor gaps, as they may not be core to the server's purpose.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables comprehensive Google Meet and Calendar management through Google Calendar API v3 and Google Meet API v2, supporting calendar event creation with Meet links, space management, transcription, recording, attendance tracking, and meeting moderation controls.
      24
      2
      ISC
    • A
      license
      Not graded
      quality
      B
      maintenance
      Open-source meeting bot API with MCP server. Search, retrieve, and analyze meeting transcripts from Google Meet, Zoom, and Microsoft Teams directly from your AI tools.
      3,001
      Apache 2.0