mcmodwiki
Mods › PlayerCoordsAPI

PlayerCoordsAPI

Lightweight Fabric mod exposing locally MC player coords through HTTP API

3 config settings

Build 0.2.1+mc26.2 · checked 13 September 2026

Guides

Config

  • API Port api_port playercoordsapi — Port used by the local API server.
  • Host / IP origin_host playercoordsapi — Host name or IP address.
  • Port origin_port playercoordsapi — Optional port.

Requires

ModNeededVersions
fabric-api required >=0.156.0+26.2
cloth-config required >=26.2.155
modmenu optional >=20.0.1

Needs Java >=25.

Frequently Asked Questions

What is PlayerCoordsAPI used for in Minecraft?

It runs a lightweight local HTTP server that exposes your player coordinates to external apps like stream overlays, maps, and custom tools.

Does PlayerCoordsAPI require a server-side mod?

No, it runs entirely on the client and works across both singleplayer worlds and multiplayer servers.

How do you change the port used by PlayerCoordsAPI?

Open the mod configuration menu and edit the API Port setting within the permitted allowed range.

How do you protect the local coordinate API from unauthorized web requests?

Configure the With Origin setting to Whitelist or Local origins and use Add allowed origin to restrict which domains can query your coordinates.

Can local desktop scripts query the API without an Origin header?

Yes, adjust the Without Origin setting to allow local command-line tools, scripts, and desktop applications to fetch coordinate data.

Download Links

Mods › PlayerCoordsAPI