# Py Mcpe Stats

> A tool to get basic information from Minecraft: Bedrock Edition servers.

- **Type:** MCP server
- **Install:** `agentstack add mcp-w-gao-py-mcpe-stats`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [w-gao](https://agentstack.voostack.com/s/w-gao)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [w-gao](https://github.com/w-gao)
- **Source:** https://github.com/w-gao/py-mcpe-stats

## Install

```sh
agentstack add mcp-w-gao-py-mcpe-stats
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# py-mcpe-stats

[](https://pypi.python.org/pypi/mcstats)

## 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:

```python
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 &copy; 2016-2021 w-gao

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [w-gao](https://github.com/w-gao)
- **Source:** [w-gao/py-mcpe-stats](https://github.com/w-gao/py-mcpe-stats)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-w-gao-py-mcpe-stats
- Seller: https://agentstack.voostack.com/s/w-gao
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
