mcp hooks

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

Browse within: python 89agent-memory 87local-first 62Multi-Agent 55typescript 43ai-memory 42knowledge-graph 31knowledge-management 29fastmcp 28knowledge-base 27codex-plugin 25ai-assistant 24bun 23embeddings 22

Stop

01

MemPalace/mempalace

Hook Claude Code

Runs when the agent finishes a response, executing mempal-stop-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 55% MIT

SessionEnd

02

MemPalace/mempalace

Hook Claude Code

Runs when a session ends, executing mempal-session-end-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 58% MIT

PreCompact

03

MemPalace/mempalace

Hook Claude Code

Runs before the context is compacted, executing mempal-precompact-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 63% MIT

SessionStart

04

aaif-goose/goose

Hook

Runs when a session starts, executing announce.sh. From aaif-goose/goose.

54k +42 today A tokens not measured original Apache-2.0

UserPromptSubmit

05

aaif-goose/goose

Hook

Runs when you submit a prompt, before the agent sees it, executing announce.sh. From aaif-goose/goose.

54k +42 today A tokens not measured original Apache-2.0

PostToolUse

06

aaif-goose/goose

Hook

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

54k +42 today A tokens not measured original Apache-2.0

UserPromptExpansion

07

anthropics/claude-plugins-official

Hook

Runs to expand your prompt before the agent sees it for ^claude-security:claude-security$ tool calls, executing banner_hook.sh via sh. From anthropics/claude-plugins-official.

36k 3d ago A tokens not measured original Apache-2.0

SessionStart

08

PrefectHQ/fastmcp

Hook Claude Code

Runs when a session starts, executing session-init.sh via bash. From PrefectHQ/fastmcp.

27k +29 today A tokens not measured copy · 53% Apache-2.0

SessionStart

09

jnMetaCode/superpowers-zh

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From jnMetaCode/superpowers-zh.

7.9k 14d ago A tokens not measured copy · 100% MIT

PreToolUse

10

Galaxy-Dawn/claude-scholar

Hook

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing security-guard.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured original MIT

SessionStart

11

Galaxy-Dawn/claude-scholar

Hook

Runs when a session starts, executing session-start.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured copy · 52% MIT

UserPromptSubmit

12

Galaxy-Dawn/claude-scholar

Hook

Runs when you submit a prompt, before the agent sees it, executing skill-forced-eval.js via node. From Galaxy-Dawn/claude-scholar.

5.3k 5d ago A tokens not measured original MIT

SessionStart

13

basicmachines-co/basic-memory

Hook

Runs when a session starts, executing session_start.py via uv with --quiet and --script. From basicmachines-co/basic-memory.

3.8k yesterday A tokens not measured AGPL-3.0

PreCompact

14

basicmachines-co/basic-memory

Hook

Runs before the context is compacted, executing pre_compact.py via uv with --quiet and --script. From basicmachines-co/basic-memory.

3.8k yesterday A tokens not measured AGPL-3.0

Stop

15

Atmosphere/atmosphere

Hook Claude Code

Runs when the agent finishes a response, executing check-drift-log.sh. From Atmosphere/atmosphere.

3.8k yesterday A tokens not measured original Apache-2.0

SessionStart

16

giancarloerra/SocratiCode

Hook

Runs when a session starts, running echo 'IMPORTANT: If you notice that SocratiCode MCP tools ap. From giancarloerra/SocratiCode.

3.3k 3d ago A tokens not measured AGPL-3.0

SessionStart

17

microsoft/skills

Hook Claude Code

Runs when a session starts, running entire hooks claude-code session-start. From microsoft/skills.

3.0k +4 yesterday A tokens not measured original MIT

SessionEnd

18

microsoft/skills

Hook Claude Code

Runs when a session ends, running entire hooks claude-code session-end. From microsoft/skills.

3.0k +4 yesterday A tokens not measured original MIT

PostToolUse

19

microsoft/skills

Hook Claude Code

Runs after a tool call finishes for Task and TodoWrite tool calls, running entire hooks claude-code post-task (2 commands). From microsoft/skills.

3.0k +4 yesterday A tokens not measured original MIT

SessionEnd

20

moltis-org/moltis

Hook Claude Code

Runs when a session ends, executing save-session.sh. From moltis-org/moltis.

2.8k 4d ago A tokens not measured copy · 48% MIT

Stop

21

moltis-org/moltis

Hook Claude Code

Runs when the agent finishes a response, executing rename-plan.sh. From moltis-org/moltis.

2.8k 4d ago A tokens not measured original MIT

SessionStart

22

Dicklesworthstone/mcp_agent_mail

Hook Claude Code

Runs when a session starts, running an inline shell check (2 commands). From Dicklesworthstone/mcp_agent_mail.

2.1k 6d ago A tokens not measured

PreToolUse

23

Dicklesworthstone/mcp_agent_mail

Hook Claude Code

Runs before the agent uses a tool for Edit tool calls, running an inline shell check. From Dicklesworthstone/mcp_agent_mail.

2.1k 6d ago A tokens not measured

PostToolUse

24

Dicklesworthstone/mcp_agent_mail

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing check_inbox.sh. From Dicklesworthstone/mcp_agent_mail.

2.1k 6d ago A tokens not measured