プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

oak-events

作者:cloudlabworksバージョン 0.1.2i★ 1iパソコンで動くリポジトリ ↗

インストール方法

できること

Privacy-first events from Luxonis OAK cameras for AI agents. Text only, never pictures.

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気4/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア16/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

oak-events をインストールして。https://mcp.popnx.com/i/cloudlabworks-oak-events.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月25日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server oak-events を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events", "mcp", "--events-dir", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、oak-events のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "oak-events": {
          "command": "uvx",
          "args": [
            "oak-events",
            "mcp",
            "--events-dir",
            "your-value"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    oak-events を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が oak-events を使っていると言うか、回答に oak-events のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ oak-events につなげません

oak-events はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · oak-events につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server oak-events を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user oak-events -- uvx oak-events mcp --events-dir your-value 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、oak-events のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user oak-events -- uvx oak-events mcp --events-dir your-value
  4. Claude Code で /mcp と入力

    oak-events が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    oak-events を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が oak-events を使っていると言うか、回答に oak-events のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server oak-events を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events", "mcp", "--events-dir", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、oak-events のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. Cursor の MCP 設定ファイルを開く

    ~/.cursor/mcp.json

    この設定を貼り付け、空いている値を入力して保存

    {
      "mcpServers": {
        "oak-events": {
          "command": "uvx",
          "args": [
            "oak-events",
            "mcp",
            "--events-dir",
            "your-value"
          ]
        }
      }
    }
  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    oak-events を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が oak-events を使っていると言うか、回答に oak-events のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server oak-events を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "oak-events": { "type": "stdio", "command": "uvx", "args": [ "oak-events", "mcp", "--events-dir", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、oak-events のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. VS Code の MCP 設定ファイルを開く

    MCP: Open User Configuration

    この設定を貼り付け、空いている値を入力して保存

    {
      "servers": {
        "oak-events": {
          "type": "stdio",
          "command": "uvx",
          "args": [
            "oak-events",
            "mcp",
            "--events-dir",
            "your-value"
          ]
        }
      }
    }
  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    oak-events を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が oak-events を使っていると言うか、回答に oak-events のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?oak-events を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user oak-events -- uvx oak-events mcp --events-dir your-value

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events",
        "mcp",
        "--events-dir",
        "your-value"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events",
        "mcp",
        "--events-dir",
        "your-value"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "oak-events": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "oak-events",
        "mcp",
        "--events-dir",
        "your-value"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

レジストリ名
io.github.cloudlabworks/oak-events
週あたりのダウンロードi
21/週
接続方法
パソコンで動く
最新バージョンi
0.1.2
カテゴリi
その他
レジストリ公開日i
2026年11月25日
コードの最終更新i
2026年11月26日
作者
cloudlabworks
パッケージ
pypi: oak-events
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月26日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント cloudlabworks で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に oak-events@0.1.2 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月25日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/cloudlabworks-oak-events.svg)](https://mcp.popnx.com/en/servers/cloudlabworks-oak-events)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの22308件のうち87%よりスターが多い
  • このカテゴリのほかの22308件のうち97%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの22308件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

oak-eventsは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(0.1.2)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万10 日前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92813 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター37 日前更新

すぐ接続できる(URL あり)ツール 2 個 · 軽め✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582114 か月前更新

すぐ接続できる(URL あり) · キーが必要リポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51394 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · jitsu.com
似たものと比べる
これ
oak-events
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

oak-events

Privacy-first events from Luxonis OAK cameras for AI agents.

An OAK camera detects people, tracks them and measures depth on its own chip. oak-events turns that into one JSON line per event ("a person entered the doorway zone", "something 40 cm closer has stood in cell r2c5 for a minute") and serves those lines to agents through an MCP server.

Agents never receive a picture. There is no image tool, no snapshot command, and no code path that writes an image file.

Why

Giving an agent a camera usually means giving it a video feed. Most agent questions do not need one: *is anyone at the bench? did something on the shelf move? is the camera alive?* Those are answerable from detections and a coarse depth grid, which carry far less about the people in view than frames do.

Privacy model

Stated plainly, so you can check it against the code:

  1. Colour frames stay on the camera. The colour sensor feeds the on-chip detection network. Its frames are never linked to a host output queue. Only two streams reach the host: detection results (label, confidence, 3-D position, normalized box) and the stereo depth map (src/oak_events/camera.py).
  2. Depth maps are reduced and dropped. Each depth frame becomes a grid of cell medians (default 6 x 8) in memory, then is discarded. No depth map is stored.
  3. Only JSON lines are written, to stdout and/or a daily .jsonl file. A test scans the repo and a temporary run directory for image files.
  4. DepthAI telemetry, crash-dump upload and auto-calibration are off by default. oak_events.privacy forces DEPTHAI_TELEMETRY=0, DEPTHAI_DISABLE_CRASHDUMP_COLLECTION=1 and DEPTHAI_AUTOCALIBRATION=OFF before depthai is imported. Only OAK_EVENTS_ALLOW_TELEMETRY=1 leaves DepthAI's own defaults in place.
  5. The MCP server only reads the JSONL files. It never opens the camera.
  6. No model download at runtime. You point --model at a local NNArchive you fetched once.

What the events still reveal: when someone was present, for how long, how far from the camera, and when objects moved. Treat the event files as sensitive and keep them local.

Supported hardware

DeviceStatus
RVC2: OAK-D PoETested live (DepthAI 3.11, bootloader 0.0.29, macOS arm64)
RVC2: OAK-D (USB)Expected to work; untested, reports welcome
RVC4 (e.g. OAK 4)Untested; reports welcome

Requires DepthAI v3 (depthai>=3.9) and Python 3.10+.

Quickstart

pip install 'oak-events[camera,mcp]'

1. Check the setup (works without a camera or depthai installed)

oak-events doctor

2. Fetch a detection model ONCE (see below), then run

oak-events run --model ~/models/yolov6-nano.rvc2.tar.xz --out-dir ~/.local/share/oak-events/events

3. Let an agent read the events over MCP

oak-events mcp --events-dir ~/.local/share/oak-events/events

Fetching a model once

oak-events never downloads at runtime. Fetch an NNArchive from the Luxonis model zoo once, with DepthAI itself, and keep the file:

import depthai as dai

path = dai.getModelFromZoo( dai.NNModelDescription(model="luxonis/yolov6-nano:r2-coco-512x288", platform="RVC2") ) print(path) # copy this .tar.xz somewhere stable and pass it to --model

This one step contacts the Luxonis model hub. Check the exact model slug on the Luxonis model zoo; any detection NNArchive whose classes include person works (use --person-label if the class has another name). For RVC4, use platform="RVC4".

Zones

By default everything is reported for one zone named view. A zones file names regions by normalized image box and/or distance:

{"zones": [

{"name": "doorway", "bbox": [0.0, 0.0, 0.35, 1.0]}, {"name": "desk", "bbox": [0.4, 0.3, 1.0, 1.0], "z_mm": [400, 2500]} ]}

bbox is [x0, y0, x1, y1] in 0..1 with the origin top-left; z_mm is [min, max] distance in millimetres (either side may be null). Numbers must be finite: NaN and Infinity are rejected. Each zone gets its own person tracker and depth-change grid. The depth map is aligned to the colour camera only approximately, so leave some margin.

Commands

CommandWhat it does
oak-events run --model PATH [--device-id ID] [--out-dir DIR] [--zones FILE] [--fps 10] [--model-sha256 HEX] [--confidence-stats]Run the camera; print events, optionally append to DIR/YYYY-MM-DD.jsonl
oak-events doctor [--json]depthai version, visible devices, bootloader advice, privacy env state
oak-events mcp --events-dir DIR [--stale-after SECONDS] [--access-log FILE]MCP stdio server with recent_events, zone_state, camera_health; camera_health defaults to stale after 900 seconds

Optional checks, all off unless you set them:

  • --model-sha256 HEX: compare the model archive's SHA-256 with HEX at start and refuse to run on a mismatch (camera event error, exit code 3, camera not opened). The hash is computed and recorded in the camera up event on every start, with or without this option. The reference hash is in docs/MODEL_CARD.md.
  • --confidence-stats: add per-zone detection-confidence statistics to each alive event (see the spot-check procedure in the model card).
  • --access-log FILE: append one JSON line per MCP tool call to FILE (mode 0600): time, tool name, argument names with the size of each value, result count, success, and the process id of the MCP client. Argument values and results are not written, and there is no image content to write. FILE must be outside the events directory.

Event schema

Every line is a JSON object with ts (ISO-8601 local time with offset), kind, and the fields below.

kindfieldsmeaning
person_enterzone, count, nearest_mma person was seen in confirm_frames (3) consecutive frames
person_exitzone, dwell_snobody seen for gone_seconds (10); dwell = first to last sighting
depth_baselinezone, cells_judged, cells_noisy, gridbaseline built; noisy cells (stereo noise, low texture) are ignored
depth_changezone, cells (e.g. ["r0c3"]), delta_mma cell's depth moved > 15 % for --hold-seconds (60) with nobody present
camerastate (up, not_found, error, reconnect, pipeline_stopped, stopped), plus device, device_model, bootloader, model, model_sha256, model_sha256_checked, expected_sha256, detail as relevantcamera lifecycle
alivedet_fps, person, occupied; with --confidence-stats also confidence: per zone n, mean, min, max, belowheartbeat every --alive-every seconds (300)
privacyprivate, telemetry_opt_in, deviationswritten once per run, before DepthAI loads: private is false if any DepthAI privacy variable differs from the private default, deviations names them

In confidence, n counts per-frame person detections in the zone at or above --person-confidence and below counts those under it; mean, min and max describe the accepted ones (null when n is 0). Each alive event covers the time since the previous one.

Example:

{"ts": "2026-10-11T09:14:03-07:00", "kind": "person_enter", "zone": "doorway", "count": 1, "nearest_mm": 1840}

Depth-change detection pauses while a person is present in that zone: people are not scenery.

MCP

oak-events mcp --events-dir DIR runs a stdio MCP server (official mcp Python SDK). Tools, all returning JSON text:

  • recent_events(limit=50, kind=None) - latest events, oldest first
  • zone_state() - per zone: person present or not, latest person and depth events
  • camera_health() - latest camera and alive events with their age and a status (ok, stale, no_data, or the last camera state), plus the latest privacy event and private (true, false, or null if no run has written one)

See examples/claude-desktop-mcp.json for a client config, and examples/openclaw-stream.md / examples/webhook.md for wiring the event stream into automations.

Running it for real

Run oak-events run under a supervisor that restarts it on exit (systemd, launchd, a container restart policy). The process exits with a camera event explaining why: not_found, error, pipeline_stopped.

PoE notes
  • Bootloader: RVC2 PoE devices with a bootloader older than 0.0.29 can fail discovery; 0.0.29 fixes it. oak-events doctor shows the version when the device is not in use.
  • The device can take from ~30 s to a few minutes to free up after a previous host disconnects (2.5 min observed on an OAK-D PoE). oak-events run retries discovery for up to 4 minutes (240 s), then asks DepthAI to reconnect up to 5 times before giving up.
  • macOS launchd: observed, cause not proven: under a launchd job the device could fail with X_LINK_DEVICE_NOT_FOUND while the same command worked from a terminal. Running it under a supervisor process that has macOS local-network permission worked. If you see this, check *System Settings > Privacy & Security > Local Network*.
  • Prefer --device-id over addresses; the id survives network changes.

Security and AI documentation

  • Threat model: trust boundaries, threats (STRIDE, MITRE ATLAS, OWASP LLM Top 10) and residual risk.
  • Model card: the reference detector, its limits, failure modes and open-model risk.
  • Data flow, retention and privacy impact: what leaves the camera, what is stored, retention and redaction.
  • Software bill of materials: CycloneDX SBOM and licence summary for 0.1.2.
  • Shared responsibility: who owns which security control (CloudLab Works, you, the model provider), per AI-CAIQ question.
  • Risk assessment: AI risk register and AI impact assessment.
  • Hardening: running oak-events as a dedicated user, with a sandboxed, read-only MCP server.
  • CloudLab Works security policies: security baseline, security and AI governance policy (including acceptable use of oak-events), incident response plan, supply chain policy and the security program index.

Report vulnerabilities as described in SECURITY.md.

Development

python3 -m venv .venv

.venv/bin/pip install -e '.[mcp]' pytest .venv/bin/pytest -q

Tests need neither a camera nor depthai. See CONTRIBUTING.md.

License

MIT. See LICENSE.


oak-events is an independent community project, not affiliated with or endorsed by Luxonis. OAK and DepthAI are Luxonis trademarks, used here only to say which hardware and SDK the tool works with.