promplate avatar

Hmr

promplate/hmr

Provides documentation access for Python's hmr package, a fine-grained hot module reload framework that updates code at runtime without process restarts. The server exposes hmr's reactive programming engine and variable-level reloading capabilities, letting you query how it works with FastAPI, Flask, MCP servers, and other frameworks. Reach for this when you're evaluating hmr for a project and want to understand its signal-based dependency tracking, custom module implementation, or how it compares to traditional process-restart tools like uvicorn --reload. The docs cover the core library plus ecosystem packages like uvicorn-hmr and mcp-hmr. Accessible via streamable HTTP transport at pyth-on-line.promplate.dev.

GitHub stars
56
tools
3
transport
HTTP
last updated
Sep 17, 2025

Install

From registry metadata
$ npx add-mcp https://pyth-on-line.promplate.dev/hmr/mcp --name hmr

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http hmr https://pyth-on-line.promplate.dev/hmr/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 3 tools

Verified live against the running server on Nov 6, 2026.

learn-hmr-basicsA brief and concise explanation of the `hmr` library. This tool provides information on how to use reactive programming or use hot module reloading in Python. As long as the user mentions HMR / Reactive Programming, this tool must be called first! Don't manually view the resou...

A brief and concise explanation of the `hmr` library. This tool provides information on how to use reactive programming or use hot module reloading in Python. As long as the user mentions HMR / Reactive Programming, this tool must be called first! Don't manually view the resou...

No parameters. Call it with no arguments.

view-hmr-core-sourcesThe full source code (core only) of the HMR library. Always call `learn-hmr-concepts` to learn the core concepts before calling this tool. These files are the full source code of the HMR library, which would be very helpful because good code are self-documented. For a brief an...

The full source code (core only) of the HMR library. Always call `learn-hmr-concepts` to learn the core concepts before calling this tool. These files are the full source code of the HMR library, which would be very helpful because good code are self-documented. For a brief an...

No parameters. Call it with no arguments.

view-hmr-unit-testsThe unit tests (code examples) for HMR. Always call `learn-hmr-basics` and `view-hmr-core-sources` to learn the core functionality before calling this tool. These files are the unit tests for the HMR library, which demonstrate the best practices and common coding patterns of u...

The unit tests (code examples) for HMR. Always call `learn-hmr-basics` and `view-hmr-core-sources` to learn the core functionality before calling this tool. These files are the unit tests for the HMR library, which demonstrate the best practices and common coding patterns of u...

No parameters. Call it with no arguments.

Sponsors

Readme

HMR for Python

PyPI - Version PyPI - Downloads Python Versions PyPI - Status GitHub Created At GitHub commit activity

HMR provides a pythonic, flexible, progressive-yet-intuitive reactive programming engine / framework, and on top of that, a fine-grained, on-demand hot-reload tool.

In Python, HMR stands for Hot Module Reload, though in JavaScript it commonly refers to Hot Module Replacement—essentially the same concept. It is a feature that allows part of your app to be updated at runtime without a full rerun, without needing to restart the entire process.


View the full README on GitHub

Details

Repository
github.com/promplate/hmr
Transport
HTTP
Registry
MCP registry, active
Resources
3
Prompts
3
Tools verified
Nov 6, 2026