Repository avatar
Search & Data Extraction
v0.1.1
active

roshi-recorder-mcp

io.github.RIAEvangelist/roshi-recorder-mcp

Google Recorder & local audio vault MCP: search, play, clip, sync, watch & archive recordings.

Documentation

Roshi's Recorder MCP — Google Recorder & SHA-256 Local Audio Vault MCP server

Roshi's Recorder MCP

Manage, Search, Play, Clip, Sync, Watch & Archive Google Recorder (recorder.google.com) from Any AI
Antigravity Plugin · Claude Code & Desktop Plugin · OpenAI Codex Plugin · Open MCP 2.x Server · Standalone CLI

Documentation Site · Field & Evidence Workflows · 27 MCP Tools Reference · GitHub Repository

Version 0.1.1 Python 3.10+ MCP 2.x stdio Multi-AI Plugin Cross-platform MIT License


Why Roshi's Recorder MCP?

Google Recorder (recorder.google.com) has no official public API and only lets you click and download recordings one by one in a browser tab. When you have dozens or hundreds of voice memos, field notes, meetings, or evidentiary recordings spread across accounts, pulling them down manually takes hours.

Roshi's Recorder MCP speaks directly to Google Recorder's real backend protocol (pixelrecorder-pa.clients6.google.com + usercontent.recorder.google.com) while maintaining a crash-safe, SHA-256 verified local SQLite FTS5 vault (~/RoshiRecordings/) and a declarative watch & trigger engine:

  • Personal Voice Notes & Second Brain: Capture ideas on your Pixel in the field → your workstation automatically syncs, indexes full transcripts, and triggers AI summaries or Antigravity tasks.
  • Clandestine / Evidentiary Chain-of-Custody: Every downloaded .m4a gets an immutable SHA-256 digest and ffprobe creation timestamp. If a recording is ever deleted remotely from recorder.google.com, your vault never wipes the local copy — it flags deleted_remotely_at and fires a recording_removed alert.
  • Listen & Clip in Seconds: Jump straight to any timestamp (01:10–01:35), speaker turn, or spoken phrase (query="watch commander"), cut a playable .mp3/.wav/.m4a clip, and open it in your audio player alongside the transcript.
  • Cross-Device Local Vault Import: recorder.google.com does not expose a web upload/create-recording RPC (cloud uploads are restricted to the native Pixel app). Use import_local_recording to bring audio from any device (iPhone, Zoom, FTR courtroom recordings, Signal voice notes, desktop mic) into the exact same searchable vault.
  • Seamless Roshi Suite Integration: Hands off vaulted audio directly to Roshi's Transcription MCP for local GPU NVIDIA Nemotron-3-Diarization + Whisper large-v3 court-reporter PDF/DOCX transcripts, and shares the same lockable privacy/redaction & watch-trigger architecture as Roshi's Signal MCP.

Install in Seconds

Google Antigravity (one command)

agy plugin install RIAEvangelist/roshi-recorder-mcp

Installs all 27 MCP tools, the roshi-recorder-mcp skill, and bundled safety rules, bootstrapping an isolated Python environment automatically on first launch via bootstrap_mcp.py.

Windows / macOS / Linux (local clone)

# Windows (PowerShell)
git clone https://github.com/RIAEvangelist/roshi-recorder-mcp.git
cd roshi-recorder-mcp
.\setup.ps1 -InstallPlugin
# macOS / Linux
git clone https://github.com/RIAEvangelist/roshi-recorder-mcp.git
cd roshi-recorder-mcp
./setup.sh --install-plugin

Works with Every Major AI Client

AI Client / EnvironmentIntegrationSetup
Google Antigravity (App, CLI, IDE)Native Plugin (MCP + Skill + Rules)agy plugin install RIAEvangelist/roshi-recorder-mcp
Claude Code & Claude DesktopNative Plugin (.claude-plugin/) or uvxclaude mcp add roshi-recorder-mcp -- uvx roshi-recorder-mcp
OpenAI Codex (CLI & App)Native Plugin (.codex-plugin/) or uvxAdd [mcp_servers.roshi-recorder-mcp] to ~/.codex/config.toml
Cursor / Windsurf / Zed / Gemini CLIStandard MCP 2.x stdio servercommand: "uvx", args: ["roshi-recorder-mcp"]
Docker / GlamaContainerized MCP stdio imagedocker build -t roshi-recorder-mcp .
Standalone CLI (No AI required)PowerShell / Python CLI.\recorder-tool.ps1 <cmd> or roshi-recorder-cli <cmd>
Copy-paste MCP configs (uvx / Codex / Claude Desktop / Cursor)

JSON MCP config (Claude Desktop, Cursor, Windsurf, Gemini CLI):

{
  "mcpServers": {
    "roshi-recorder-mcp": {
      "command": "uvx",
      "args": ["roshi-recorder-mcp"]
    }
  }
}

OpenAI Codex (~/.codex/config.toml):

[mcp_servers.roshi-recorder-mcp]
command = "uvx"
args = ["roshi-recorder-mcp"]

Capabilities at a Glance

CapabilityTools
Multi-account persistent Chrome/Edge auth + silent headless refreshconnect_account, list_accounts, refresh_account_session, recorder_doctor
Browse, read & search transcripts + audio tags (cloud + instant FTS5 vault)list_recordings, get_recording, get_transcript, get_audio_tags, search_recordings, search_in_recording
Crash-safe bulk sync, SHA-256 chain-of-custody & external audio importdownload_recording, sync_recordings, import_local_recording, transcribe_recording
Play full audio, jump to spoken phrases & cut MP3/WAV/M4A clipsplay_recording, listen_to_section, extract_audio_clip
Cloud organization, speaker naming & safeguarded sharing/deletionrename_recording, manage_labels, rename_speaker, manage_sharing, delete_recording
Lockable local privacy policy (ignore lists + PII/custom redaction)get_privacy_policy, manage_ignore_list, manage_redaction_rules
Declarative watch & trigger engine (added/updated/removed/matched)manage_watch_rules, manage_recorder_watcher

Watch & Trigger Automations (Field Capture → Workstation)

Record on your Pixel phone in the field, and let a remote computer signed into the same Google account automatically react:

  • Events: recording_added, recording_updated, recording_removed, transcript_matched
  • Matchers: account, title_contains, transcript_contains, regex, label, min_duration_seconds, max_duration_seconds, cooldown_seconds
  • Actions:
    • sync: Immediately download .m4a + transcript + SHA-256 hash into ~/RoshiRecordings/
    • transcribe: Sync and run local GPU roshi-transcription-mcp (fast / dual / court)
    • antigravity_task: Spawn an Antigravity conversation via ConversationService
    • command: Run any shell, webhook, Codex, or Signal notification script with redacted RECORDER_* environment variables

Run one-shot checks with /schedule or cron (manage_recorder_watcher(action="run_once")), or start the live polling loop (manage_recorder_watcher(action="start", poll_interval_seconds=30)).


Can You Upload Audio to recorder.google.com?

Honestly: no — Google does not expose any upload or create-recording RPC on recorder.google.com. Inspection of the live Google Recorder web frontend confirms its backend only implements PlaybackService (16 methods) and EditingService (9 methods); cloud recording creation is restricted to the native Pixel/Android app.

How Roshi's Recorder MCP solves cross-device audio anyway: Call import_local_recording(audio_path=..., title=..., tags=[...]) to ingest .m4a, .mp3, .wav, .flac, or .ogg files from any device into ~/RoshiRecordings/local/ — giving external recordings the exact same SHA-256 vault manifest, SQLite FTS5 search, section clipping, playback, and local GPU Nemotron transcription handoff.


Security & Trust Boundary

  • Zero credential leakage: Session cookies (SAPISID, __Secure-1PAPISID, __Secure-3PAPISID) stay private inside ~/.roshi-recorder-mcp/accounts/<alias>/ (mode 0600 on POSIX) and are never returned in tool outputs.
  • Safeguarded mutations: delete_recording and manage_sharing mutations default to dry_run=True (and backup_before_delete=True).
  • Lockable privacy policy: Run .\recorder-tool.ps1 policy lock (or roshi-recorder-cli policy lock) so MCP tools can add stricter ignore/redaction rules but cannot weaken or remove protections until unlocked from your terminal.
  • Non-destructive sync: Cloud deletions never erase local vault evidence; recordings are stamped with deleted_remotely_at.

Standalone CLI Quick Reference

.\recorder-tool.ps1 doctor
.\recorder-tool.ps1 auth login --alias personal
.\recorder-tool.ps1 list --favorites
.\recorder-tool.ps1 sync --all
.\recorder-tool.ps1 search "watch commander" --source both
.\recorder-tool.ps1 listen <recording_id> --query "coercive control"
.\recorder-tool.ps1 clip <recording_id> --start 01:10 --end 01:35 --format mp3
.\recorder-tool.ps1 import-local "C:\path\to\voice_memo.m4a" --tag field-note
.\recorder-tool.ps1 transcribe <recording_id> --profile court --precision bf16 --whisper
.\recorder-tool.ps1 policy lock
.\recorder-tool.ps1 watch daemon --interval 30

License

MIT — see LICENSE.