Skip to content
MCP server

Xbox Live MCP

Local MCP server that gives AI assistants access to your Xbox Live playtime, achievements

Runs locally

Xbox Live MCP is an open-source MCP server for games and play. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add xbox-mcp -- uvx xbox-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xbox-mcp": {
      "command": "uvx",
      "args": [
        "xbox-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XBOX_LANGUAGEOptional Accept-Language locale for titles and achievements (e.g., en-US, zh-CN).
  • XBOX_TOKENS_FILEOptional custom path to store local Microsoft OAuth2 tokens.

About Xbox Live MCP

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.

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

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_statusName 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_profileName suggests: reads
Fetch Gamertag, Modern Gamertag, Gamerscore, Account Tier, Tenure, Bio, Location, and Avatar
get_presenceName suggests: reads
Check online status and currently playing title/device
get_game_libraryName suggests: reads
Fetch Xbox / PC Game Pass history enriched with MinutesPlayed, with sorting and filters
get_recently_playedName suggests: reads
Quick view of most recently played titles with playtime and achievement progress
get_playtime_summaryName suggests: reads
Aggregate playtime report with console vs. PC breakdown, Game Pass share and Top 20 titles
get_game_achievementsName suggests: reads
Per-title achievement list with unlock timestamps, Gamerscore and global rarity percentage
get_game_statsName suggests: reads
Fetch MinutesPlayed and Hero stats for a specific title_id or scid
get_friends_listName suggests: reads
List Xbox Live friends with Gamertags, Gamerscore, online status and currently playing game

What it does

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

Pricing

Open source

Free and MIT licensed; runs locally.

Xbox Live MCP 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.

How AIPoweredBot checks servers