MJ

Mjolnir

Moderation bot for Matrix communities

Matrix & XMPP ★ 448 stars Medium setup Apache-2.0

Mjolnir is a moderation tool for Matrix that helps homeserver admins manage rooms, enforce ban lists, and protect communities from spam and abuse. It runs as a self-hosted bot alongside a Matrix server.

Key features

  • Moderation bot for Matrix
  • Shared ban list enforcement
  • Spam and abuse protection

Strengths

  • Released under the Apache-2.0 license
  • First-class Docker support for quick deployment
  • Written in TypeScript
  • Tiny footprint — runs in 256 MB RAM

Is Mjolnir secure?

No known vulnerabilities affect Mjolnir's latest release (v1.12.1). OSV.dev lists 1 past advisory for the project; none of them applies to this release. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

  • Most recent fixed advisory CVE-2025-24024, published 2025-01-21 (631 days ago)

Source: OSV.dev, checked 2026-10-14. How this is measured.

Mjolnir replaces

Health badge

Maintain Mjolnir? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 80 · excellent

Markdown
[![SelfHostIndex health score for Mjolnir](https://selfhostindex.com/badge/mjolnir.svg)](https://selfhostindex.com/app/mjolnir/)
HTML
<a href="https://selfhostindex.com/app/mjolnir/"><img src="https://selfhostindex.com/badge/mjolnir.svg" alt="SelfHostIndex health score for Mjolnir"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/mjolnir.svg
   :alt: SelfHostIndex health score for Mjolnir
   :target: https://selfhostindex.com/app/mjolnir/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Similar matrix & xmpp apps