mcp-server hooks

32 tagged mcp-server, measured the same way as everything else here.

Browse within: model-context-protocol 65local-first 47cursor 46claude-code-plugin 42LLM 36agent-memory 25ai-memory 24cost-tracking 24token-tracking 24claude-ai 22ai-coding 16knowledge-graph 15docker 12beta 11

PostToolUse

01

cloudwego/abcoder

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit, mcp__abcoder__list_repos, mcp__abcoder__get_repo_structure, mcp__abcoder__get_package_structure and mcp__abcoder__get_file_structure tool calls, executing need_update.sh, prompt.sh and reminder.sh (3 commands). From cloudwego/abcoder.

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

SessionStart

02

sgx-labs/statelessagent

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, running same hook session-bootstrap (3 commands). From sgx-labs/statelessagent.

not rated 24 +1 today A tokens not measured

PostToolUse

03

SaravananJaichandar/world-model-mcp

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write, Bash and Read tool calls, executing world-model-capture.js via node. From SaravananJaichandar/world-model-mcp.

not rated 24 +1 1mo ago A tokens not measured original MIT

UserPromptSubmit

04

lroy-stack/ai-pod-store

Hook Claude Code

One of 10 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user_prompt_submit.py and send_event.py via uv with --log-only, --store-last-prompt, --name-agent, --source-app, --event-type and --summarize (2 commands). From lroy-stack/ai-pod-store.

not rated 6 4mo ago A tokens not measured

SessionStart

05

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

AfterAgent

06

djinn-soul/gemini-mem

Hook Claude Code

One of 3 in hooks.json

Runs on the AfterAgent event, executing hook-runner.cjs via node. From djinn-soul/gemini-mem.

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

PreToolUse

07

an0malous/mcp-custos

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From an0malous/mcp-custos.

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

UserPromptSubmit

08

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 4d ago A tokens not measured original MIT

PreToolUse

09

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 4mo ago A tokens not measured archived

BeforeTool

10

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 0 yesterday 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: