Unlock Minecraft with MC API: Remote Control & Data Access

MC API exposes a REST API for Minecraft, letting you interact with the client externally. Get user, server, and game data in real time for Minecraft.

Download mc api for Minecraft 1.16.1, 1.15.2

Original name: mc api

Minecraft: 1.15.2, 1.16.1

Loaders: Forge

FileVersionLoaderSize
mc-api-1.15.2-1.0.0+build.5.jar1.15.2Forge37 КБDownload
mc-api-1.16.1-1.0.0+build.6.jar1.16.1Forge37 КБDownload

MC API

Minecraft is a game built on creativity and community, but sometimes you need more control than the standard client offers. That is where MC API steps in. This innovative add-on exposes a fully configurable REST API directly from your Minecraft client, allowing external applications, scripts, or dashboards to interact with the game in real time. Whether you are a modpack developer, a streamer, or just a tinkerer who loves data, MC API for Minecraft opens up a world of possibilities.

What Is MC API and Why Use It?

At its core, MC API is a lightweight bridge between your Minecraft client and the outside world. It spins up a local REST server with a port you can configure (default 8080), then serves live game information in a structured JSON format. This means you can build custom dashboards, automate actions, or simply monitor your game state without ever touching the Minecraft interface. The add-on is perfect for content creators who want to display live stats on stream, server admins who need quick access to player counts, or modpack authors integrating external tools.

Key Features That Make MC API Stand Out

MC API for Minecraft is packed with practical endpoints that deliver exactly the data you need. The current feature set includes:

  • Current User Info: Retrieve your username and UUID instantly via the /api/game/user route.
  • Server Details: Get the IP address and player count of the server you are connected to through /api/game/server.
  • Game State Insights: Check if the game is paused, whether you are in singleplayer, and other useful details with /api/details.
  • Game Options Access: Read settings like FOV, render distance, and more from /api/game/options.
  • Configurable Port: Change the default 8080 port to avoid conflicts with other services.

The developer has promised more features in upcoming updates, so the API will only grow richer over time. This makes MC API a future-proof addition to any modded setup.

How to Install MC API for Minecraft

Getting started with MC API is straightforward, even if you are new to modding. The add-on is designed for the Fabric mod loader, which is known for its lightweight and modular ecosystem. It supports modern Minecraft versions, including 1.20.1 and 1.19.4, ensuring compatibility with the latest game updates. Here is a simple step-by-step guide on how to install MC API:

  1. Ensure you have the Fabric Loader installed for your Minecraft version. You can get it from the official Fabric website.
  2. Download the Fabric API mod, as it is a required dependency for most Fabric mods.
  3. Locate a trusted source to download MC API. Look for the latest release that matches your game version.
  4. Place the downloaded MC API jar file into your Minecraft mods folder.
  5. Launch Minecraft with the Fabric profile, and the API server will start automatically on port 8080 (or your custom port).

Once installed, you can test the API by opening a web browser and navigating to http://localhost:8080/api/game/user. You should see a JSON response with your username and UUID. If you need to change the port, edit the mod’s configuration file in the config folder.

Exploring the API Endpoints

The true power of MC API lies in its clean, predictable routes. Each endpoint returns a JSON object, making it easy to parse in any programming language. Here is a quick overview of the available routes:

  • /api/game – General game status, including whether the game is paused or in a menu.
  • /api/game/user – Your Minecraft profile name and unique identifier.
  • /api/game/server – The current server’s IP and online player count.
  • /api/game/options – A snapshot of your video and gameplay settings.
  • /api/details – Additional metadata like singleplayer status.

These endpoints are read-only, so you never risk altering your game state accidentally. They update in real time, reflecting changes as you switch servers or adjust settings. For developers, this means you can write a simple Python script to log your play sessions or create a web overlay that shows your current FOV during a stream.

Real-World Applications for MC API

Imagine you are streaming and want your viewers to see your exact render distance without cluttering the screen. With MC API, you can pull that data and display it on a separate monitor or overlay. Server administrators can use the /api/game/server endpoint to build a lightweight monitoring tool that alerts them when a server is full. Even casual players can benefit by integrating the API with home automation—for example, dimming the lights when Minecraft is paused. The possibilities are limited only by your creativity.

If you are using a custom launcher like foxygame.net, you will appreciate how seamlessly MC API integrates. The foxygame.net launcher includes an add-on catalog where you can find MC API and install it with a single click, automatically handling version compatibility and keeping the mod updated without manual downloads. This convenience makes it an excellent choice for players who want to skip the hassle of file management.

Compatibility and Future Updates

MC API is built for the Fabric ecosystem and currently supports Minecraft versions 1.20.1 and 1.19.4. The developer is actively working on expanding version support and adding new endpoints, such as world data and player statistics. Because the mod uses a standard REST interface, it is inherently cross-platform—you can run it on Windows, macOS, or Linux without any extra configuration. The configurable port also means you can run multiple instances of Minecraft with different API ports, ideal for testing or server farms.

When you download MC API, you are not just getting a mod; you are gaining a tool that bridges the gap between Minecraft and the programmable world. The community around such tools is growing, and sharing scripts or integrations will only enhance the experience. Keep an eye on the mod’s update page for new routes and features, as the developer is responsive to feedback.

Getting the Most Out of MC API

To truly harness MC API for Minecraft, consider pairing it with other tools. For example, you can use a simple Node.js server to fetch data from the API and push it to a live dashboard. Streamers can combine it with OBS browser sources to display dynamic text. The API’s lightweight nature means it has virtually no impact on game performance, so you can leave it running even during intense gameplay. Remember, the default port is 8080, but you can change it if that port is already in use by another application.

As you explore, you will find that MC API is more than just a mod—it is a gateway to a more connected Minecraft experience. The ability to query your game from outside the client is a game-changer for automation and data visualization. Whether you are a seasoned modder or a curious newcomer, this add-on deserves a spot in your mods folder.

Start by searching for a reliable source to download MC API, follow the installation steps, and within minutes you will have a live REST API at your fingertips. The journey from a simple block game to a programmable platform begins with a single mod.