MI

Mineflayer

JavaScript library for creating Minecraft bots and automation

Game Servers ★ 7.6k stars Medium setup MIT

Mineflayer is a powerful, stable JavaScript API for building Minecraft bots that can navigate, mine, craft, and interact with the world. It is widely used for automation, AI experiments, and self-hosted game tooling.

Key features

  • High-level bot API
  • Pathfinding and entity tracking
  • Crafting and inventory control
  • Large plugin ecosystem

Strengths

  • Released under the MIT license
  • Mature project with 7.6k GitHub stars
  • Written in JavaScript
  • Tiny footprint — runs in 256 MB RAM

Is Mineflayer secure?

OSV.dev has no published security advisories for Mineflayer's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

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

Mineflayer replaces

Health badge

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

SelfHostIndex: 91 · excellent

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

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

Compare Mineflayer

1 head-to-head comparisons.

Similar game servers apps