model-context-protocol hooks

25 tagged model-context-protocol, measured the same way as everything else here.

Browse within: mcp-server 81LLM 50claude-code-plugin 20obsidian 15agent-memory 14knowledge-management 14provenance 12recall 12sqlite 12agpl 11arckit 11cli 11enterprise-architecture 11governance 11

PostToolUse

01

menot-you/n-memory

Hook Claude Code

One of 12 in hooks.json

Runs after a tool call finishes for Write, Edit, MultiEdit, mcp__plugin_nott_nspawn__nspawn_run_start, mcp__plugin_nott_nspawn__nspawn_review_start, mcp__plugin_nott_nspawn__nspawn_batch_start, ^(Agent, Task, Workflow, SendMessage, mcp__(plugin_nott_)?nspawn__nspawn_(run, batch, review)_start)$, Bash, Bash, Agent…

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

SessionStart

02

GiulioDER/RE-call

Hook Claude Code

One of 7 in hooks.json

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

not rated 8 +2 changed 2mo ago A tokens not measured original AGPL-3.0

PostToolUse

03

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

SessionStart

04

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

BeforeTool

05

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 3d 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: