Need help with mcpi?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

185 Stars 65 Forks Other 13 Commits 6 Opened issues


Minecraft: Pi Edition API Python Library

Services available


Need anything else?

Contributors list

# 198,313
9 commits

Minecraft: Pi edition API Python Library

Python library for communicating with Minecraft: Pi edition and RaspberryJuice.



pip3 install mcpi

Linux / MacOS

sudo pip3 install mcpi


The Minecraft: Pi edition Python library was originally created by Mojang and released with Minecraft: Pi edition.

Initial supported was provided for Python 2 only, but during a sprint at PyconUK 2014 it was migrated to Python 3 and py3minepi was created.

The ability to hack Minecraft from Python was very popular and the RaspberryJuice plugin was created for Minecraft Java edition. RaspberryJuice also extended the API adding additional features.

This python library supports Python 2 & 3 and Minecraft: Pi edition and RaspberryJuice.

Documentation for the Minecraft: Pi edition and RaspberryJuice API's can be found at

It was released onto PyPI in May 2018.

If you want some cool additional tools for modifying Minecraft, check out minecraft-stuff.


This library is a collection of the following sources:


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.