mcp hooks

135 tagged mcp, measured the same way as everything else here.

Browse within: mcp-server 329model-context-protocol 280LLM 202claude-code-plugin 166cli 121agent-memory 115cursor 79local-first 79Multi-Agent 64ai-tools 63knowledge-graph 60agent 56ai-coding 54agents 53

SessionStart

25

swapnanil/vectr

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup, resume, clear and compact, running vectr hook session-start. From swapnanil/vectr.

not rated 2 2mo ago A tokens not measured original MIT

UserPromptSubmit

26

ShipToday/forge-plugin-codex

Hook Claude Code

One of 4 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing prompt-router.cjs via node. From ShipToday/forge-plugin-codex.

not rated 2 5d ago A tokens not measured original MIT

SessionStart

27

kostya-pakhomov/graphmind

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing graphmind-session-start.mjs via node. From kostya-pakhomov/graphmind.

not rated 2 4mo ago A tokens not measured original MIT

PreToolUse

28

workspace-json/codex-mcp

Hook Claude Code

Runs before the agent uses a tool for ^apply_patch$ tool calls, executing pre-edit-check.mjs via node. From workspace-json/codex-mcp.

not rated 2 3mo ago A tokens not measured original Apache-2.0

PreToolUse

29

Liyuchen0118/RunBeacon

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for ^mcp__(?:runbeacon, remote[-_]job[-_]monitor)__job_start$ and ^Bash$ tool calls, executing inject-job-trace.cjs and route-ssh.cjs via node (2 commands). From Liyuchen0118/RunBeacon.

not rated 2 2mo ago A tokens not measured original MIT

SessionStart

30

mikhailbovt/ContextDB-Codex

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing contextdb-memory-hook.py via python3. From mikhailbovt/ContextDB-Codex.

not rated 1 3mo ago A tokens not measured original Apache-2.0

SessionStart

31

priyanshuchawda/tracepilot-gemini-cli

Hook Claude Code

Runs when a session starts, executing on-start.js via node. From priyanshuchawda/tracepilot-gemini-cli.

not rated 1 5mo ago A tokens not measured copy · 100% Apache-2.0

PreToolUse

32

bakalagoin/codinfy-agent-monitor

Hook Claude Code

One of 11 in settings.json

Runs before the agent uses a tool, executing codinfy-agent-monitor.js via node. From bakalagoin/codinfy-agent-monitor.

not rated 1 5mo ago A tokens not measured

SessionStart

33

xuhuawork/turncue

Hook Claude Code

Runs when a session starts on startup and resume, executing session-start-turncue.mjs via node. From xuhuawork/turncue.

not rated 1 14d ago A tokens not measured original MIT

SessionStart

34

jiangkoumo/agenttape

Hook Claude Code

One of 11 in hooks.json

Runs when a session starts, executing record-hook.mjs via node. From jiangkoumo/agenttape.

not rated 1 3mo ago A tokens not measured original MIT

BeforeTool

35

Checkmarx/cx-agentic-ai

Hook Claude Code

One of 2 in hooks.json

Runs on the BeforeTool event for mcp_.*, WriteFile, write_file, write_.*, replace, mcp_.*, WriteFile, write_file, write_.*, replace and run_shell_command tool calls, executing cx_check.sh, cx_run.sh and cx_record_login.sh via sh with --gemini-cli (4 commands). From Checkmarx/cx-agentic-ai.

not rated 1 2d ago A tokens not measured original Apache-2.0

SessionStart

36

mp-juns/universal-research-mcp

Hook Claude Code

Runs when a session starts on ^(startup, resume, clear and compact)$, executing session_start.py via python3. From mp-juns/universal-research-mcp.

not rated 0 2mo ago A tokens not measured original MIT

SessionStart

37

TallyUp-Engineering/chat-room

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing room.py. From TallyUp-Engineering/chat-room.

not rated 0 19d ago A tokens not measured original Apache-2.0

PreToolUse

38

AnuwatThisuka/edgemem

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool, running an inline shell check. From AnuwatThisuka/edgemem.

not rated 0 5mo ago A tokens not measured

UserPromptSubmit

39

Johnnybyzhang/post-plan

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing context.mjs via node. From Johnnybyzhang/post-plan.

not rated 0 4mo ago A tokens not measured original MIT

PreToolUse

40

javierfajardo85-rgb/aiaam-xyz

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing bash-firewall.sh. From javierfajardo85-rgb/aiaam-xyz.

not rated 0 5mo ago A tokens not measured archived

SessionStart

41

shanmukha-here/agentroots

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts, executing hook.mjs via node. From shanmukha-here/agentroots.

not rated 0 2mo ago A tokens not measured original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: