About Py Mcpe Stats
Py Mcpe Stats is an MCP server published by w-gao in the Developer Tools category: a tool to get basic information from Minecraft: Bedrock Edition servers.
The repository has 14 stars and 5 forks, with the last commit 5 years ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/w-gao/py-mcpe-statsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Py Mcpe Stats
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
py-mcpe-stats
Introduction
mcstats (aka py-mcpe-stats) is a Python software that allows you to ping a Minecraft: Bedrock edition server for basic information.
Install
You are required to have Python >= 3.6 installed on your computer.
Install via pip
Run pip install mcstats in your terminal, and it will install the latest version of this project in your Python
environment.
Install from source
Clone this repository and run the following in the root folder of this project:
python setup.py build install
Usage
Query with CLI
After installation, the mcstats command will be available in your Python environment. You can perform a query with
the following command: mcstats localhost.
Example:
$ mcstats play.lbsg.net
Ping id: 850756528
Server id: 123456789
Game id: MCPE
Server name: §3US§8> SM Become a Creeper
Game protocol: 422
Game version: 1.16.210
Num players: 5479
Max players: 38865
Hash code: -1
Motd: None
Gamemode: None
Hash code: 1189580737
You can also specify the port with the -p option (e.g.: mcstats localhost -p 19133). For more options, please run
mcstats --help.
Use as a module
You can also use the API by writing the following code in your project:
from mcstats import mcstats
host = "localhost"
port = 19132
with mcstats(host, port=port, timeout=10) as data:
# data is a StatsServerData object
print(data)
License
MIT © 2016-2021 w-gao
README fetched from the repository 1 hours ago. The original is authoritative.