npm · npm:mqtt
mqtt active
A library for the MQTT protocol
The latest stable version of mqtt is 5.16.1, published on 2026-10-14. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.16.1 |
|---|---|
| Published | 2026-10-14 13:26:39 UTC |
| Install | npm install mqtt@latest |
| Requires (engines) | {"node":">=16.0.0"} |
| Peer dependencies | — |
| Dist-tags | beta: 5.0.0-beta.4 next: 1.0.0-pre.6 latest: 5.16.1 v4-backport: 4.3.8 security-patch: 2.18.9 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:18:44 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "mqtt", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/mqtt . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-16 09:36:59 UTC · 57 days ago |
| Stable releases in the last 12 months | 4 |
| Published versions | 219 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.16.0 | 2026-09-16 09:36:59 UTC |
5.15.2 | 2026-07-06 06:48:52 UTC |
5.15.1 | 2026-03-24 10:18:04 UTC |
5.15.0 | 2026-02-02 14:50:32 UTC |
5.14.1 | 2025-09-04 16:13:12 UTC |
5.14.0 | 2025-07-30 16:10:20 UTC |
5.13.3 | 2025-07-18 06:37:48 UTC |
5.13.2 | 2025-07-07 08:34:21 UTC |
5.13.1 | 2025-06-03 11:59:48 UTC |
5.13.0 | 2025-05-09 10:28:28 UTC |
5.12.1 | 2025-05-06 15:59:49 UTC |
5.12.0 | 2025-04-28 15:24:32 UTC |
5.11.1 | 2025-04-23 14:10:03 UTC |
5.11.0 | 2025-04-10 07:00:03 UTC |
5.10.4 | 2025-02-26 07:32:13 UTC |
5.10.3 | 2024-11-26 15:29:54 UTC |
5.10.2 | 2024-11-13 07:59:15 UTC |
5.10.1 | 2024-08-28 11:53:25 UTC |
5.10.0 | 2024-08-14 11:51:00 UTC |
5.9.1 | 2024-08-01 15:31:24 UTC |
Showing the 20 most recent of 208 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 5.16.0 |
node 18 | 5.16.0 |
node 20 | 5.16.0 |
node 22 | 5.16.0 |
node 24 | 5.16.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of mqtt?
The latest stable version of mqtt is 5.16.1, published on 2026-10-14. Verified by Vigia on 2026-11-12.
How do I install the latest version of mqtt?
Run npm install mqtt@latest. The latest stable version is 5.16.1 (verified 2026-11-12).
Is mqtt deprecated?
No. mqtt is not marked as deprecated in the registry.
Which Node.js version does mqtt require?
mqtt 5.16.1 declares this requirement: {"node":">=16.0.0"}.
Does mqtt 5.16.1 have known vulnerabilities?
No known advisories affect mqtt 5.16.1 according to the data Vigia checks.
Is mqtt still maintained?
mqtt published 4 stable releases in the last 12 months; the most recent was 57 days ago. Activity: active.
Observed changes
- hu Oct 15 2026 09:45:57 GMT+0000 (Coordinated Universal Time) — released 5.16.1 → 5.16.1
- Wed Oct 14 2026 13:45:33 GM +0000 (Coordinated Universal Time) — released 5.16.0 → 5.16.1
Related packages
- @react-stately/virtualizer
- argv-formatter
- is-redirect
- lodash.foreach
- xmldoc
- @csstools/postcss-content-alt-text
- is-subset
- @tanstack/router-devtools-core
- use-latest-callback
- has-to-string-tag-x
- @aws-sdk/url-parser
- @datadog/datadog-ci-plugin-sbom
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/mqtt) [](https://vigia.coredls.cloud/npm/mqtt) [](https://vigia.coredls.cloud/npm/mqtt)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/mqtt
GET https://vigia.coredls.cloud/v1/packages/npm/mqtt/versions/{version}