MCPcopy Index your code
hub / github.com/cpburnz/minecraft-prometheus-exporter

github.com/cpburnz/minecraft-prometheus-exporter @1.21.11-forge-1.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.21.11-forge-1.4.0 ↗ · + Follow
251 symbols 584 edges 23 files 251 documented · 100% updated 4mo ago1.21.11-forge-1.4.0 · 2026-02-24★ 1085 open issues

Browse by type

Functions 220 Types & classes 31
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

This mod provides a Prometheus exporter for Minecraft. It exports metrics related to the Minecraft server and the JVM for consumption by the open-source systems monitoring toolkit, Prometheus. The mod is intended for server-side use, and does not need to be installed client-side. You can find the latest builds for various versions of Minecraft and mod loaders in Releases.

Is there a newer version of Minecraft not listed? Is the mod outdated for one of the listed Minecraft versions? Let me know by opening an issue on GitHub.

Installation

The Prometheus Exporter mod only needs to be installed on the server. It can be downloaded from GitHub and Curse Forge. To install it, copy the JAR (Prometheus-Exporter-{MC Version}-{Mod Loader}-{Mod Version}.jar) to the server mods/ directory. Since this mod does not add anything to the Minecraft world, it can be safely upgraded by simply replacing an older version with a newer version.

Configuration

The mod configuration is located at world/serverconfig/prometheus_exporter-server.toml with Forge and Fabric, and config/prometheus_exporter-server.toml with NeoForge. It will be automatically generated upon server start if it does not already exist. The default configuration can be seen in the example prometheus_exporter-server.toml.

Exporter

The metrics are documented in metrics.md.

A sample output from the exporter can be seen in the example output.txt.

Dashboards

Known compatible Grafana dashboards are listed in dashboards.md.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 220
Class 28
Enum 2
Interface 1

Languages

Java100%

Modules by API surface

src/base/mc1.21.0/java/com/github/cpburnz/minecraft_prometheus_exporter/base/MinecraftCollector.java20 symbols
mc1.21.11-forge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java18 symbols
mc1.21.8-neoforge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.8-forge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.8-fabric/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.6-neoforge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.6-forge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.6-fabric/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.5-fabric/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.4-neoforge/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
mc1.21.4-fabric/src/main/java/com/github/cpburnz/minecraft_prometheus_exporter/PrometheusExporterMod.java13 symbols
src/forge/mc1.21.11/java/com/github/cpburnz/minecraft_prometheus_exporter/forge/ForgeMinecraftCollector.java12 symbols

For agents

$ claude mcp add minecraft-prometheus-exporter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page