Hook event logging and notification plugin for Orchestra MCP.
Persists hook events fired by Claude Code hooks (Notification, ToolUse, SubagentStart, TaskComplete, etc.) into a local SQLite store, and exposes them to AI agents via MCP tools.
orchestra plugin install orchestra-mcp/plugin-tools-hooksOr build from source:
go build -o bin/tools-hooks ./cmd/| Tool | Description |
|---|---|
receive_hook_event |
Ingest a hook event (called by orchestra-mcp-hook.sh) |
get_hook_events |
Query stored hook events with optional filters |
Called automatically by the orchestra-mcp-hook.sh Claude Code hook. Stores the event in the local SQLite database.
Parameters:
event_type— Hook event type (e.g.Notification,ToolUse,SubagentStart,TaskComplete)session_id— Claude Code session IDtool_name— Tool name (for ToolUse events)agent_type— Agent type that fired the eventpayload— JSON payload from the hook
Query recent hook events.
Parameters:
event_type(optional) — Filter by event typesession_id(optional) — Filter by session IDlimit(optional) — Max events to return (default: 100)