Mojang

liveGames

Mojang/Minecraft API — resolve player usernames and UUIDs, fetch profiles, name history, and blocked servers.

5tools
0msauth
free tier50 calls/day

Tools

username_to_uuid

Resolve a Minecraft username to its current Mojang UUID; returns the canonical UUID string used to identify the account.

No parameters required.

▶Try it
username_to_uuid_at

Resolve a Minecraft username to the UUID it was assigned at a given Unix epoch timestamp (seconds); useful for historical name lookups.

No parameters required.

▶Try it
profile

Fetch a Minecraft player's public profile by UUID via Mojang Session Server; returns current username and skin/cape texture URLs.

No parameters required.

▶Try it
name_history

Fetch the full name-change history for a Minecraft account by UUID; returns a list of past usernames and the timestamps when each was adopted.

No parameters required.

▶Try it
blocked_servers

Retrieve Mojang's blocklist of banned Minecraft multiplayer servers as SHA-1 hashes; returns count and hashes array from the Session Server.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/mojang/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/mojang/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"username_to_uuid","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("username_to_uuid", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("mojang/minecraft api — resolve player usernames and uuids, fetch profiles, name history, and blocked servers");