Parse and analyze Minecraft server log files
Project description
mclog-parser
Analyze Minecraft server logs instantly — turn raw log files into structured data.
mclog-parser 🎮
Analyze Minecraft server logs instantly — turn raw log files into structured data.
pip install mclog-parser
Why?
Every Minecraft server generates thousands of log lines. Finding crashes, tracking players, or spotting lag spikes means scrolling through walls of text manually.
mclog-parser does it in one line.
Quickstart
from mclog_parser import LogParser
log = LogParser("latest.log")
log.summary() # full overview
log.crashes() # all errors & crashes
log.lag_spikes() # lag warnings
log.player_stats() # per-player stats
log.export_json() # save report as JSON
Example Output
{
"unique_players": 3,
"total_sessions": 5,
"crash_count": 1,
"lag_spike_count": 2,
"top_players": [
{ "player": "Ahmed99", "sessions": 2, "deaths": 1 }
]
}
CLI
No Python needed — run directly from your terminal:
mclog latest.log # summary
mclog latest.log --crashes # errors only
mclog latest.log --players # player stats table
mclog latest.log --player Ahmed99 # one player's sessions
mclog latest.log --export report.json # export to JSON
Supported Servers
| Server | Status |
|---|---|
| Paper | ✅ |
| Spigot | ✅ |
| Vanilla | ✅ |
| Fabric | ✅ |
| Forge | 🔜 |
Install
pip install mclog-parser
Requires Python 3.10+
Roadmap
- Core parser (crashes, lag, sessions)
- Player stats
- JSON export
- CLI
- Web dashboard
- Discord bot integration
- Real-time log watching
License
MIT — free to use, modify, and distribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mclog_parser-0.1.0.tar.gz.
File metadata
- Download URL: mclog_parser-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c6dd035a2787ef1808453c7fb2636acb0202bf5cdeb9de85136b72a3eed022
|
|
| MD5 |
659573f45d71cf9e8b01e98cc81e6ca2
|
|
| BLAKE2b-256 |
df7a409ee25ebfd7267daccc1879e7db9c79f07df755c311b9f4b37eff2a00a8
|
Provenance
The following attestation bundles were made for mclog_parser-0.1.0.tar.gz:
Publisher:
publish.yml on IVANOLIO/mclog-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mclog_parser-0.1.0.tar.gz -
Subject digest:
03c6dd035a2787ef1808453c7fb2636acb0202bf5cdeb9de85136b72a3eed022 - Sigstore transparency entry: 1113279448
- Sigstore integration time:
-
Permalink:
IVANOLIO/mclog-parser@8f9c165ca8da76fe9303a21e40697959f99ea152 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/IVANOLIO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f9c165ca8da76fe9303a21e40697959f99ea152 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mclog_parser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mclog_parser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e709e885f3dc0b482dae1f57d8dbea82563251380b7308811fc54a01caf1b0f5
|
|
| MD5 |
c96e14e7829aaef840e4708b3b68e9f8
|
|
| BLAKE2b-256 |
f7f40ea7a5e15eb44db51763ad42b81bac3dd02155c9525d3902a16a6780ef10
|
Provenance
The following attestation bundles were made for mclog_parser-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on IVANOLIO/mclog-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mclog_parser-0.1.0-py3-none-any.whl -
Subject digest:
e709e885f3dc0b482dae1f57d8dbea82563251380b7308811fc54a01caf1b0f5 - Sigstore transparency entry: 1113279451
- Sigstore integration time:
-
Permalink:
IVANOLIO/mclog-parser@8f9c165ca8da76fe9303a21e40697959f99ea152 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/IVANOLIO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f9c165ca8da76fe9303a21e40697959f99ea152 -
Trigger Event:
release
-
Statement type: