# oak-events

> oak-events is an open-source MCP server for internet and telecom. Text-only events from OAK depth cameras for AI agents, with no images ever sent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API
- **Repository:** https://github.com/cloudlabworks/oak-events
- **MCP Registry name:** io.github.cloudlabworks/oak-events
- **Categories:** [internet and telecom](https://ai-powered.com/categories/internet-and-telecom)
- **Listing updated:** 2026-11-27

## About

oak-events runs on the camera's own chip to detect and track people, then emits one JSON line per event, such as a person entering a zone or a depth cell changing for a while. An MCP server exposes those lines to an agent, so the agent can ask what happened without ever receiving a frame.

The design keeps colour frames on the device and reduces depth maps to a coarse grid of medians that is discarded after use. Only detection results and that grid reach the host, and the MCP server reads saved JSONL files rather than opening the camera. Zones can be defined by image region and distance, each with its own tracker.

It suits people building home or workspace automations who want presence, dwell time and object movement signals from a camera without storing or streaming video. Event files still reveal when people were present, so they should be kept local.

## Features

- **Text-only event stream:** Emits JSON lines for person entry, exit, dwell time and depth changes instead of images.
- **On-device detection:** Person detection and tracking run on the camera chip, with only results sent to the host.
- **Zone definitions:** Regions can be set by normalized image box and distance range, each tracked separately.
- **Camera health reporting:** Heartbeat events and a health tool show whether the camera is alive and when it last reported.
- **Privacy controls:** DepthAI telemetry, crash-dump upload and auto-calibration are disabled by default.
- **Optional access logging:** Records each MCP tool call with argument names and result counts, excluding values.

## Good for

- Know whether someone is at a desk without showing an agent video
- Detect when a doorway zone has been entered or left
- Monitor a shelf for objects that have moved over a set time
- Check that a camera feed is running and report when it goes stale
- Trigger home or office automations from presence events

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add oak-events -- uvx oak-events
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add oak-events -- uvx oak-events
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.oak-events]
command = "uvx"
args = ["oak-events"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user oak-events uvx -- oak-events

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "oak-events": {
      "command": "uvx",
      "args": [
        "oak-events"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `recent_events`: Returns the latest events, oldest first, with optional limit and kind filters.
- `zone_state`: Returns per zone whether a person is present and the latest person and depth events.
- `camera_health`: Returns latest camera and heartbeat events with age, status and privacy state.

## FAQ

### Does the MCP server ever return images?

No. It offers recent_events, zone_state and camera_health tools, and the project states there is no image tool or code path that writes image files.

### Which camera hardware is supported?

The RVC2 OAK-D PoE was tested live. OAK-D over USB is expected to work but is untested, and RVC4 devices are untested.

### Do I need an internet connection at runtime?

No. The tool does not download models at runtime; you fetch a detection model once and pass its path with --model.

### What license is oak-events released under?

MIT.

### Is oak-events free?

Yes. oak-events is open source, so you can use and self-host it for free.

### How do I add oak-events to Claude Code?

Run this command in your terminal: claude mcp add oak-events -- uvx oak-events

### What are the best alternatives to oak-events?

The closest alternatives to oak-events are Atli, 이득온 인터넷 요금 비교, Horizon eSIM, WorldIP.io and Topolograph.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Atli](https://ai-powered.com/mcp/atli): Atli is a free MCP server for maps and travel.
- [이득온 인터넷 요금 비교](https://ai-powered.com/mcp/listing-mwx73x7c): 이득온 인터넷 요금 비교 is a free MCP server for internet and telecom.
- [Horizon eSIM](https://ai-powered.com/mcp/horizon-esim): Horizon eSIM is a free MCP server for internet and telecom.
- [WorldIP.io](https://ai-powered.com/mcp/worldip-io): WorldIP.io is a freemium MCP server for security.
- [Topolograph](https://ai-powered.com/mcp/topolograph): Topolograph is an MCP server for analytics and data.
- [DNS Super](https://ai-powered.com/mcp/dns-super): DNS Super is an MCP server for security.
- [AgentAPIHub — Domain RDAP/WHOIS/DNS/SSL, Shodan CVEs, arXiv & ClinicalTrials MCP](https://ai-powered.com/mcp/agentapihub-domain-rdap-whois-dns-ssl-shodan-cves-arxiv-and): AgentAPIHub — Domain RDAP/WHOIS/DNS/SSL, Shodan CVEs, arXiv & ClinicalTrials MCP is a paid MCP server for finance and payments.
- [Email Verification, SPF DMARC DKIM & Domain Age Security MCP](https://ai-powered.com/mcp/email-verification-spf-dmarc-dkim-and-domain-age-security-mc): Email Verification, SPF DMARC DKIM & Domain Age Security MCP is a free MCP server for communication.

---
Source: https://ai-powered.com/mcp/oak-events
