Claude Code hook
Claude Rpc
Discord Rich Presence (RPC) for Claude Code — live model, project, tokens, and lifetime stats in your Discord profile. Driven by Claude Code hooks.
Install
/plugin marketplace add rar-file/claude-rpcFound in the project README. Check it for setup steps after installing.
git clone https://github.com/rar-file/claude-rpc.gitFrom the README
the card's live states — working · thinking · waiting · idle Discord Rich Presence for Claude Code — your live model, project, tokens, and lifetime stats, driven by the hooks Claude Code already fires. claude-rpc.com → — see it in one page. · Discord → — help, ideas, show your card. live — on by default for fresh installs, opt out any time. see community totals A small Node daemon that takes the lifecycle events Claude Code already fires and pipes them into the Discord rich-presence card on your profile. Your friends see what you're building; your future self gets lifetime stats. Built solo, on weekends. install macOS / Linux / any Node 18+ — one command: (The @latest matters — bare npx claude-rpc will happily reuse a stale cached copy.) That installs claude-rpc globally, wires the hooks into Claude Code, and starts the daemon — no separate start step. Open Claude Code in any project and the card appears within a second. Something looks wrong? claude-rpc doctor (or claude-rpc doctor --fix to auto-repair). Prefer a one-liner that figures it out for you? Detects Node (installs the npm package) or falls back to the prebuilt Apple-Silicon binary, then runs setup for you. Homebrew (macOS / Linux): Windows (no Node required) — grab claude-rpc.exe from the latest release (the standalone CLI — no installer), then run it from the folder you saved it to: setup copies the exe to a fixed per-user location (so the download can go afterwards) and adds that folder to your user PATH, so claude-rpc works in any new terminal. Prefer a GUI? The release's claude-rpc--x64-setup.exe (installer, auto-updates) and claude-rpc--x64-portable.exe (no install) are the desktop dashboard app, which runs the same setup for you on first launch. That's the whole pitch. setup…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- rar-file/claude-rpc
- Type
- Hooks
- Website
- claude-rpc.com
- Language
- JavaScript
- License
- MIT
- Last updated
- 30 October 2026
- Topics
- anthropicclaudeclaude-codeclaude-code-hooksclideveloper-toolsdiscorddiscord-rpchooksnodejsproductivityrich-presence
FAQ
What is Claude Rpc?
Discord Rich Presence (RPC) for Claude Code — live model, project, tokens, and lifetime stats in your Discord profile. Driven by Claude Code hooks. It is a hook for Claude Code, from rar-file/claude-rpc on GitHub.
How do I install Claude Rpc?
Run /plugin marketplace add rar-file/claude-rpc inside Claude Code, then follow the setup in the README.
Is Claude Rpc popular?
rar-file/claude-rpc has 32 GitHub stars and 3 forks. It was last updated on 30 October 2026.
More hooks
Safer Dependencies
43robert-auger/safer-dependencies
safer-dependencies is a security layer for Claude Code that audits packages before they’re added to your project. It detects and fixes risky dependencies, including CVEs, typosquats, abandoned packages, version-age issues, and adds package-cooldown violations across npm, PyPI, RubyGems, Maven, Go, and Rust.
Britfix
19Talieisin/britfix
Convert American spellings to British English - fix LLM output and documents
Fastapi Claude Template
33ewtryocb/fastapi-claude-template
Agent-first FastAPI template built to pair with Claude Code - opinionated architecture kept on the rails by custom skills, hooks and review agents.
nomos
19safe-agentic-world/nomos
Deny-wins policy hook checking every shell, file and fetch call from Claude Code or Codex.
AI Saas Starter
29nikandr-surkov/ai-saas-starter
AI SaaS boilerplate for Next.js 16 — Better Auth, Stripe subscriptions, credits system, AI image generation. AI-native: AGENTS.md, Claude Code skills & hooks.
squawk
17nov1n/squawk
Smart macOS notifications for Claude Code sessions.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.