# Xbox Live MCP

> Xbox Live MCP is an open-source MCP server for games and play. Local MCP server that gives AI assistants access to your Xbox Live playtime, achievements. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, Self-hosted
- **Repository:** https://github.com/vinsenty/xbox-mcp
- **MCP Registry name:** io.github.VinsentY/xbox-mcp
- **Categories:** [games and play](https://ai-powered.com/categories/games-and-play)
- **Listing updated:** 2026-11-27

## About

Xbox Live MCP lets an AI assistant read your Xbox and PC Game Pass account through Microsoft's official Xbox Live APIs. It runs locally as a stdio server, so OAuth tokens remain on your own machine rather than passing through a third-party proxy.

Once signed in, the assistant can pull exact minutes played for each title, list achievements with global rarity percentages, check friends' online status and see what they are playing. Playtime is split between Xbox console, PC and Game Pass titles, and Win32 games logged by the Xbox Game Bar can be filtered out.

It suits Xbox and PC gamers who want to ask questions about their own library, such as summaries of hours played or the rarest achievements they have unlocked.

## Features

- **Official Xbox Live access:** Connects directly to Microsoft's Xbox Live APIs without a third-party key or proxy service.
- **Exact playtime lookup:** Retrieves MinutesPlayed for Xbox and Game Pass titles in batches, including per-title stats.
- **Achievement rarity data:** Lists unlocks with timestamps, Gamerscore and global rarity percentages, with Xbox 360 fallback.
- **Playtime summaries:** Produces totals, console versus PC breakdowns, Game Pass share and a top-20 title list.
- **Friends and presence:** Shows which friends are online and the game or device they are currently using.
- **Local token storage:** Keeps OAuth tokens on the local machine with restricted file permissions and automatic refresh.

## Good for

- Summarizing total hours and Game Pass share across an Xbox and PC library
- Finding the rarest achievements unlocked in a specific game
- Checking which Xbox friends are online and what they are playing
- Filtering out non-Xbox PC games logged by the Xbox Game Bar when reviewing playtime

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add xbox-mcp -- uvx xbox-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add xbox-mcp -- uvx xbox-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.xbox-mcp]
command = "uvx"
args = ["xbox-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user xbox-mcp uvx -- xbox-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 9 of 10 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `get_auth_status` (name suggests: reads): Verify local Xbox OAuth token validity; returns the Microsoft login URL if unauthenticated
- `complete_auth`: Exchange an OAuth callback URL or raw code and save tokens locally
- `get_profile` (name suggests: reads): Fetch Gamertag, Modern Gamertag, Gamerscore, Account Tier, Tenure, Bio, Location, and Avatar
- `get_presence` (name suggests: reads): Check online status and currently playing title/device
- `get_game_library` (name suggests: reads): Fetch Xbox / PC Game Pass history enriched with MinutesPlayed, with sorting and filters
- `get_recently_played` (name suggests: reads): Quick view of most recently played titles with playtime and achievement progress
- `get_playtime_summary` (name suggests: reads): Aggregate playtime report with console vs. PC breakdown, Game Pass share and Top 20 titles
- `get_game_achievements` (name suggests: reads): Per-title achievement list with unlock timestamps, Gamerscore and global rarity percentage
- `get_game_stats` (name suggests: reads): Fetch MinutesPlayed and Hero stats for a specific title_id or scid
- `get_friends_list` (name suggests: reads): List Xbox Live friends with Gamertags, Gamerscore, online status and currently playing game

## FAQ

### Where are my login tokens stored?

Tokens are saved locally with 0600 file permissions, at a default OS app data path or a custom path set with XBOX_TOKENS_FILE. They are not sent to any third-party service.

### Which Xbox generations are supported for achievements?

Xbox One, Series X|S and PC achievements are supported, and Xbox 360 titles are handled through a fallback.

### How do I install Xbox Live MCP?

It can be run with uvx xbox-mcp after a one-time sign-in with the xbox-auth command, or from a local clone using uv. It requires Python 3.12 or newer.

### Is Xbox Live MCP free?

Yes. Xbox Live MCP is open source, so you can use and self-host it for free.

### How do I add Xbox Live MCP to Claude Code?

Run this command in your terminal: claude mcp add xbox-mcp -- uvx xbox-mcp

### What are the best alternatives to Xbox Live MCP?

The closest alternatives to Xbox Live MCP are Chess.com MCP by UnClick, Steam MCP Server, VRChat MCP, Game MCP and Lichess MCP by UnClick.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Chess.com MCP by UnClick](https://ai-powered.com/mcp/chess-com-mcp-by-unclick): Chess.com MCP by UnClick is an open-source MCP server for games and play.
- [Steam MCP Server](https://ai-powered.com/mcp/steam-mcp-server-2): Steam MCP Server is an open-source MCP server for games and play.
- [VRChat MCP](https://ai-powered.com/mcp/vrchat-mcp): VRChat MCP is an open-source MCP server for games and play.
- [Game MCP](https://ai-powered.com/mcp/game-mcp): Game MCP is an open-source MCP server for games and play.
- [Lichess MCP by UnClick](https://ai-powered.com/mcp/lichess-mcp-by-unclick): Lichess MCP by UnClick is an open-source MCP server for games and play.
- [BoardGameGeek MCP by UnClick](https://ai-powered.com/mcp/boardgamegeek-mcp-by-unclick): BoardGameGeek MCP by UnClick is an open-source MCP server for games and play.
- [osu! MCP](https://ai-powered.com/mcp/osu-mcp): osu! MCP is an open-source MCP server for games and play.
- [Maplestory MCP Server](https://ai-powered.com/mcp/maplestory-mcp-server): Maplestory MCP Server is an open-source MCP server for games and play.

---
Source: https://ai-powered.com/mcp/xbox-live-mcp
