mcp hooks

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

Browse within: model-context-protocol 190claude-code-plugin 128agent-memory 85local-first 66Multi-Agent 59ai-coding 53knowledge-graph 51ai-memory 39knowledge-base 30knowledge-management 29fastmcp 28codex-plugin 25markdown 24ai-assistant 23

PreToolUse

97

prakrititz/relayBrain

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit, Write, NotebookEdit, Read, Grep and Glob tool calls, executing relay-claude-pre-tool.js and relay-claude-pre-read.js via node (2 commands). From prakrititz/relayBrain.

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

PostToolUse

98

prakrititz/relayBrain

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Edit, Write and NotebookEdit tool calls, executing relay-claude-post-tool.js via node. From prakrititz/relayBrain.

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

Stop

99

prakrititz/relayBrain

Hook Claude Code

One of 4 in settings.json

Runs when the agent finishes a response, executing relay-claude-stop.js via node. From prakrititz/relayBrain.

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

PostToolUse

100

IntelligentElectron/universal-netlist

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing ts-check.sh. From IntelligentElectron/universal-netlist.

not rated 34 yesterday A tokens not measured copy · 52% Apache-2.0

Stop

101

NikiforovAll/mcp-template-dotnet

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing analyzers.sh via bash. From NikiforovAll/mcp-template-dotnet.

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

PreToolUse

102

gnt-ai/gnt

Hook

Runs before the agent uses a tool, running gnt hooks check-action. From gnt-ai/gnt.

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

SessionStart

103

akougkas/zulipchat-mcp

Hook Claude Code

One of 8 in settings.json

Runs when a session starts on startup and resume, running uvx --from zulipchat-mcp zulipchat-mcp-hook --zulip-config-f. From akougkas/zulipchat-mcp.

not rated 27 +1 26d ago A tokens not measured original MIT

PermissionRequest

104

akougkas/zulipchat-mcp

Hook Claude Code

One of 8 in settings.json

Runs when the agent asks permission for an action, running uvx --from zulipchat-mcp zulipchat-mcp-hook --zulip-config-f. From akougkas/zulipchat-mcp.

not rated 27 +1 26d ago A tokens not measured original MIT

Notification

105

akougkas/zulipchat-mcp

Hook Claude Code

One of 8 in settings.json

Runs when the agent sends a notification for idle_prompt tool calls, running uvx --from zulipchat-mcp zulipchat-mcp-hook --zulip-config-f. From akougkas/zulipchat-mcp.

not rated 27 +1 26d ago A tokens not measured original MIT

PreCompact

106

olgasafonova/miro-mcp-server

Hook Claude Code

One of 3 in settings.json

Runs before the context is compacted, running bd prime. From olgasafonova/miro-mcp-server.

not rated 26 4d ago A tokens not measured copy · 100% MIT

SessionStart

107

olgasafonova/miro-mcp-server

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, running bd prime. From olgasafonova/miro-mcp-server.

not rated 26 4d ago A tokens not measured copy · 100% MIT

UserPromptSubmit

108

youdotcom-oss/dx-toolkit

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running .claude/hooks/UserPromptSubmit. From youdotcom-oss/dx-toolkit.

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

PreToolUse

109

namastexlabs/automagik-hive

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing pyproject_protection.py, no_root_files_hook.py and auto_format_hook.py (3 commands). From namastexlabs/automagik-hive.

not rated 24 8mo ago A tokens not measured original MIT

Stop

110

jmilinovich/grove

Hook Claude Code

One of 3 in settings.json

Runs when the agent finishes a response, executing stop-autocommit.sh. From jmilinovich/grove.

not rated 23 4d ago A tokens not measured copy · 52% MIT

PostToolUse

111

jmilinovich/grove

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Bash tool calls, executing post-commit-mark-plan.sh. From jmilinovich/grove.

not rated 23 4d ago A tokens not measured original MIT

PostToolUse

112

nantobv/pituitary

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running an inline shell check (3 commands). From nantobv/pituitary.

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

SessionStart

113

yan-yanko/rainman

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, running python -m rainman.hooks.session_start. From yan-yanko/rainman.

not rated 21 12d ago A tokens not measured original MIT

PostToolUse

114

yan-yanko/rainman

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes, running python -m rainman.hooks.post_tool_use. From yan-yanko/rainman.

not rated 21 12d ago A tokens not measured original MIT

SessionEnd

115

yan-yanko/rainman

Hook Claude Code

One of 4 in settings.json

Runs when a session ends, running python -m rainman.hooks.session_end. From yan-yanko/rainman.

not rated 21 12d ago A tokens not measured original MIT

SessionStart

116

qingyu321/Little-Claude

Hook Claude Code

One of 4 in settings.json

Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From qingyu321/Little-Claude.

not rated 21 10d ago A tokens not measured copy · 100% Apache-2.0

PreToolUse

117

qingyu321/Little-Claude

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Task and Agent tool calls, executing inject-subagent-context.py via python3 (2 commands). From qingyu321/Little-Claude.

not rated 21 10d ago A tokens not measured copy · 100% Apache-2.0

SubagentStop

118

qingyu321/Little-Claude

Hook Claude Code

One of 4 in settings.json

Runs when a subagent finishes for check tool calls, executing ralph-loop.py via python3. From qingyu321/Little-Claude.

not rated 21 10d ago A tokens not measured copy · 100% Apache-2.0

Stop

119

mohitbadwal/ringback

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing stop_hook.py via python3. From mohitbadwal/ringback.

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

UserPromptSubmit

120

ai-debugger-inc/aidb

Hook Claude Code

One of 4 in settings.json

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.sh. From ai-debugger-inc/aidb.

not rated 21 3mo ago A tokens not measured copy · 55% 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: