mcp hooks

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

Browse within: mcp-server 286model-context-protocol 210LLM 179claude-code-plugin 139agent-memory 118cli 105cursor 78local-first 74Multi-Agent 68ai-coding 55ai-tools 55knowledge-graph 52agents 51ai-memory 42

PostToolUse

01

aaif-goose/goose

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for developer__shell and developer__text_editor tool calls, executing announce.sh. From aaif-goose/goose.

not rated 55k +213 today A ✓ AI review tokens not measured original Apache-2.0

BeforeTool

02

ooples/token-optimizer-mcp

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeTool event for read_file, search_file_content, glob, replace, write_file and run_shell_command tool calls, executing pre-tool.mjs via node. From ooples/token-optimizer-mcp.

not rated 548 +7 yesterday A tokens not measured original MIT

SessionStart

03

realchendahuang/FlareMo

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup, resume, clear and compact, running "$HOME/.flaremo/bin/flaremo-hook" codex session-start. From realchendahuang/FlareMo.

not rated 311 +7 changed 21d ago A tokens not measured AGPL-3.0

SessionStart

04

agenticmail/agenticmail

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, running agenticmail-codex-mail-hook. From agenticmail/agenticmail.

not rated 237 +1 2d ago A tokens not measured original MIT

UserPromptSubmit

05

mtarcure/claude-vibe-squad

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, executing context-tripwire.sh via bash. From mtarcure/claude-vibe-squad.

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

PostToolUse

06

Bene-2020/plane-codex-mcp

Hook Claude Code

One of 5 in hooks.json

Runs after a tool call finishes for ^mcp__ambient_project__(list_projects, record_project_events, acknowledge_no_project_events, decline_project_binding and restore_project_binding)$ tool calls, executing index.js. From Bene-2020/plane-codex-mcp.

not rated 94 7d ago A tokens not measured original MIT

PreToolUse

07

Fmarzochi/EGC

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Write, Edit, MultiEdit, Write, Edit, MultiEdit, Bash, Write, Edit, Write, Bash, Write, Edit, MultiEdit, Write, Edit, MultiEdit, Edit, Write, MultiEdit, Bash, Write, Edit and MultiEdit tool calls, executing utils.js via node (12 commands). From Fmarzochi/EGC.

not rated 67 +4 yesterday A tokens not measured original Apache-2.0

SessionStart

08

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 32 +1 changed 6d ago A tokens not measured original MIT

PreToolUse

09

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 1mo ago A tokens not measured original MIT

PreToolUse

10

gnt-ai/gnt

Hook Claude Code

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

not rated 29 today A tokens not measured original Apache-2.0

Stop

11

seite-sh/seite

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running seite check --hook claude. From seite-sh/seite.

not rated 25 +3 6d ago A tokens not measured original MIT

UserPromptSubmit

12

bobmatnyc/mcp-skillset

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running mcp-skillset enrich-hook. From bobmatnyc/mcp-skillset.

not rated 20 7mo ago A tokens not measured original MIT archived

PreToolUse

13

buildinternet/uploads

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.

not rated 18 today A tokens not measured original Apache-2.0

SessionStart

14

Lians-ai/Lians

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on ^(startup, resume and clear)$, executing run_hook.sh. From Lians-ai/Lians.

not rated 16 today A tokens not measured original Apache-2.0

SessionStart

15

Rockielab/rockie-nugget

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From Rockielab/rockie-nugget.

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

UserPromptSubmit

16

agentproto/ts

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.mjs. From agentproto/ts.

not rated 10 today A tokens not measured original Apache-2.0

PreToolUse

17

anthillnet/sinain-hud

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approve-tool.sh. From anthillnet/sinain-hud.

not rated 9 24d ago A tokens not measured

SessionStart

18

GiulioDER/RE-call

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts on startup, resume, clear and compact, running recall-codex-hooks. From GiulioDER/RE-call.

not rated 6 changed 1mo ago A tokens not measured original AGPL-3.0

SessionStart

19

ToruAI/megg

Hook Claude Code

Runs when a session starts on startup and resume, running an inline shell check. From ToruAI/megg.

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

UserPromptSubmit

20

djerok/glm-mcp

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing glm_router_hook.mjs via node. From djerok/glm-mcp.

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

BeforeAgent

21

ilyautov/cordon

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeAgent event, executing cli.js via node with --harness. From ilyautov/cordon.

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

PreToolUse

22

yushiran/Academic-Figure-Figma-CC-Skills

Hook Claude Code

Runs before the agent uses a tool for mcp__.*[Ff]igma.*__use_figma tool calls, executing figma_preflight.py. From yushiran/Academic-Figure-Figma-CC-Skills.

not rated 5 12d ago A tokens not measured

PreToolUse

23

dinhanhthi/coding-friend

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.

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

PostToolUse

24

Obidel/Agentmemory

Hook Claude Code

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running echo 'Tip: project-specific conventions should be stored as . From Obidel/Agentmemory.

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

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: