oak-events
Text-only events from OAK depth cameras for AI agents, with no images ever sent
oak-events is an open-source MCP server for internet and telecom. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, API
- Runs
- Locally
- Version
- 0.1.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add oak-events -- uvx oak-eventsAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"oak-events": {
"command": "uvx",
"args": [
"oak-events"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"oak-events": {
"command": "uvx",
"args": [
"oak-events"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"oak-events": {
"command": "uvx",
"args": [
"oak-events"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add oak-events -- uvx oak-eventsOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.oak-events]
command = "uvx"
args = ["oak-events"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"oak-events": {
"command": "uvx",
"args": [
"oak-events"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Or run: gemini mcp add -s user oak-events uvx -- oak-events
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.json
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "oak-events": { "command": "uvx", "args": [ "oak-events" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About oak-events
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.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
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.
What it does
- 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
Pricing
Open source
Free and MIT-licensed; runs locally.
oak-events 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.