Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Hookify

@altalyst-solutionsRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Accurate, version-matched docs and hook recommendations for the @altalyst/hookify React hooks.

Developer documentationv0.1.3MITTypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@altalyst/hookify-mcpv0.1.3

Run

npx -y @altalyst/hookify-mcp

MCP client config

{
  "mcpServers": {
    "hookify": {
      "command": "npx",
      "args": [
        "-y",
        "@altalyst/hookify-mcp"
      ]
    }
  }
}
README3 min read
Hookify logo

Hookify

A collection of framework-agnostic React hooks that just work.

npm version npm downloads gzipped size PR Check status TypeScript PRs welcome MIT license

Documentation · Hook demos · API reference · Discussions


Hookify is a lightweight, dependency-free collection of React hooks for everyday problems: debouncing, data fetching, toggling state, syncing state to storage, detecting outside clicks, and more. Every hook is written in TypeScript, fully typed, tree-shakeable, and documented with a live, editable demo.

Features

  • 🌐 SSR-safe — hooks never touch window, document or navigator during render, so they work with Next.js, Remix and other server renderers without hydration warnings.
  • 🧭 Server Components aware — the bundles start with "use client", so React Server Component frameworks such as the Next.js App Router treat hookify as client code and give a clear error if a hook is called from a Server Component.
  • 🧹 Safe by default — timers, listeners and observers are cleaned up on unmount and when inputs change, and hooks behave correctly under StrictMode.
  • 🔁 No stale closures — callbacks and options can change between renders without resubscribing or resetting state.
  • 📦 Tiny and tree-shakeable — import only what you use; no runtime dependencies beyond React. Ships ESM and CommonJS builds.
  • 🔒 Fully typed — written in TypeScript with generated .d.ts files included.
  • ⚡ Zero config — works with any React 18 or 19 project (CRA, Vite, Next.js, Remix, etc.).

Installation

Hookify has react and react-dom as peer dependencies (v18+).

bash
npm install @altalyst/hookify
bash
yarn add @altalyst/hookify
bash
pnpm add @altalyst/hookify

Quick start

Import any hook directly from the package root:

tsx
import { useToggleState } from "@altalyst/hookify";

export const Example = () => {
  const [isVisible, toggleVisibility] = useToggleState(false);

  return (
    <div>
      <button onClick={toggleVisibility}>
        {isVisible ? "Hide" : "Show"} content
      </button>
      {isVisible && <p>This is some toggleable content!</p>}
    </div>
  );
};

Documentation

Hookify covers state, timing, async data, DOM observers, browser APIs, and multi-tab coordination. The hooks documentation lists every hook, with a live, editable demo and the full API of each one. Guides and the generated API reference live in the docs site.

These docs match the latest release on npm. To see hooks and changes that are on main but not yet released, browse the unreleased docs; the version menu in the top right switches between the two.

useDebounce and useThrottle are deprecated aliases of useDebouncedCallback and useThrottledValue, kept for compatibility and due to be removed in a future release.

Using hookify with AI agents

@altalyst/hookify-mcp is an MCP server that gives AI coding agents such as Claude Code, Cursor and VS Code accurate, version-matched docs for every hook, so they use the real API instead of guessing it. It runs locally and makes no network requests:

bash
claude mcp add hookify -- npx -y @altalyst/hookify-mcp

Setup for other clients, and what the server offers, is in its README.

Contributing

Contributions, issues, and feature requests are welcome! See CONTRIBUTING.md for local setup, running tests and the docs site, how to add a new hook, and our commit/versioning conventions. Please also read our Code of Conduct. See CHANGELOG.md for release history.

Community

License

MIT © Altalyst Solutions. See LICENSE for details.


Built with ❤️ by Altalyst Solutions

Similar modules

Browse Developer documentation