# Apex & Division Stats MCP

> Apex & Division Stats by TRN gives you deep analytics for Apex Legends and Division 2 players. It pulls lifetime stats, current rankings, match histories, and per-legend performance breakdowns across Origin, PSN, and Xbox. You can find any player through the entire Tracker Network ecosystem to analyze their true skill level.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** apex-legends, division-2, esports-analytics, player-statistics, leaderboards, match-history, gaming-intelligence

## Description

Stop guessing about a player's real skill. This MCP connects your agent directly to the official Tracker Network data—the same backend powering global esports sites. It lets you pull full profiles for Apex or Division 2 agents, tracking metrics like K/D ratio, total kills, and wins across platforms. You can analyze how one specific agent performs with a certain character or legend by running a per-legend breakdown. Need to check current top players? The MCP handles global leaderboards for any metric, keeping you benchmarked against the world's best. If you're using Vinkius, this connector makes it easy; your AI client just needs one connection point to access all these deep gaming stats and history tracking.

## Tools

### get_apex_leaderboard
Fetches the current global rankings for Apex Legends by a chosen stat category.

### get_apex_legend_breakdown
Gives detailed performance stats (kills, damage, wins) for every legend an Apex player uses.

### get_apex_match_history
Retrieves a list of recent game sessions and their associated aggregate statistics for an Apex player.

### get_apex_game_metadata
Retrieves general operational information about Apex Legends.

### get_apex_player_profile
Gets the full, lifetime statistical summary for an Apex Legends agent on any platform.

### get_division2_player_profile
Gets the full, lifetime statistical summary for a Division 2 agent on any platform.

### get_division2_pvp_stats
Fetches specific player-versus-player stats relevant to the Division 2 environment.

### get_division2_match_history
Retrieves a list of recent combat sessions and stats for a Division 2 agent.

### search_player
Locates and returns a player's account details across all connected game platforms.

## Prompt Examples

**Prompt:** 
```
Show me the full Apex Legends stats for 'ImperialHal' on Origin.
```

**Response:** 
```
ImperialHal is currently at Predator rank with over 52,000 lifetime kills, a 4.8 K/D ratio, and 2,100 wins. His top legends are Wraith and Horizon. Would you like to see the per-legend breakdown or his recent match history?
```

**Prompt:** 
```
Compare the legend stats of two players: 'Player1' and 'Player2' on PSN.
```

**Response:** 
```
I've pulled the per-legend breakdowns for both players. Player1 mains Octane with 8,200 kills and 45% headshot rate, while Player2 focuses on Lifeline with superior win rates. Player1 has 15% more total damage but Player2 has a higher K/D across all legends.
```

**Prompt:** 
```
Who are the top 5 Apex players worldwide by RankScore on PC?
```

**Response:** 
```
Here's the current global leaderboard for RankScore on Origin:
1. Player_A — 48,200 RP
2. Player_B — 47,800 RP
3. Player_C — 47,100 RP
4. Player_D — 46,500 RP
5. Player_E — 46,200 RP
Would you like detailed profiles for any of these players?
```

## Capabilities

### Find players across games
Search for any user by username across the entire Apex Legends and Division 2 ecosystem.

### Get full player records
Retrieve a complete, lifetime stats summary for an agent in either Apex or Division 2.

### Analyze specific character performance
Determine a player's main playstyle by getting detailed kill and damage metrics for each legend they use.

### Track recent matches
Review an agent’s most recent game sessions to spot trends in their performance over time.

### Check global rankings
Access world-class leaderboards instantly, ranking players by total kills, rank score, or damage output.

## Use Cases

### Evaluating a potential recruit
A scout needs to check if 'PlayerX' is worth the roster spot. They start by using search_player to confirm the user exists, then run get_apex_player_profile and get_division2_player_profile side-by-side to compare their overall skill across both titles.

### Diagnosing a team slump
A coach notices one player is struggling. They check the get_apex_match_history and then run get_apex_legend_breakdown to see if the drop-off is tied to one specific character or playstyle.

### Comparing rival players
A journalist needs to write a comparison piece. They pull comprehensive stats for two rivals using get_division2_player_profile and compare their overall kill metrics against the world's best on the global leaderboards.

## Benefits

- Pinpoint weaknesses fast. Use get_apex_legend_breakdown to see if a player's main legend is actually performing well, or if they just have good luck sometimes.
- Track improvement over time. Review the match history using get_division2_match_history and compare it against their current stats for clear performance trends.
- No more guessing on rank. Get instant access to global leaderboards via get_apex_leaderboard, benchmarking your subject against the absolute top tier.
- Start with a name. Use search_player first. This function finds players across all games and platforms so you know exactly who you're looking at before pulling profiles.
- Deep D2 insights. Get granular PvP-specific stats using get_division2_pvp_stats, covering rogue kills and Dark Zone ranks that general profiling misses.

## How It Works

The bottom line is, you don't have to manually visit multiple websites; your AI client pulls all the raw stats into one place.

1. Subscribe to this MCP and enter your API Key from the Tracker Network Developer Portal.
2. Instruct your AI client to search for a player using the username they want analyzed. This verifies their existence across platforms.
3. Tell the agent exactly what data you need—like 'the per-legend breakdown' or 'their last five matches'—and it retrieves the specific stats.

## Frequently Asked Questions

**How do I find a player's stats across different platforms using search_player?**
You start by calling the search_player tool with the username. This returns matching accounts and links, confirming their presence on multiple platforms (Origin, PSN, Xbox) before you pull any detailed profiles.

**What is the difference between get_apex_player_profile and get_apex_legend_breakdown?**
get_apex_player_profile gives a high-level, lifetime summary of everything. get_apex_legend_breakdown drills down specifically to show how many kills and wins they achieved with each individual legend.

**Can I track Division 2 PvP stats separately from general profiles?**
Yes. You use get_division2_pvp_stats for deep-dive information specific to conflict zones, like rogue kills and Dark Zone ranking, which is separate from the main player profile.

**Does get_apex_match_history include aggregated stats?**
Yes. The tool retrieves recent sessions with aggregated stats, letting you track performance trends—like noticing a drop in damage output over the last ten matches.

**Before using get_apex_player_profile or get_division2_player_profile, how do I handle authentication?**
You must first obtain your unique API Key from the Tracker Network Developer Portal. This key authorizes all requests to this MCP and ensures you stay within usage quotas.

**When calling get_apex_game_metadata, what kind of reference data do I receive?**
This tool returns current operational details for Apex Legends. You get metadata like active season identifiers, map names, and general structural parameters used by the game.

**What metrics can I pull when running get_apex_leaderboard for global rankings?**
You specify the ranking stat and platform. Available metrics include RankScore points, total kills, damage dealt, and overall account level to filter the global leaderboard.

**Is there a difference between get_apex_match_history and get_division2_match_history?**
Yes. The Apex history tracks session-level K/D ratios across multiple legends, whereas the Division 2 version focuses on tracking Dark Zone encounters and agent-specific activity.

**Which games are supported?**
The official TRN public API supports **Apex Legends** and **The Division 2**. For Apex: full profile stats, per-legend breakdowns, match history, and global leaderboards. For Division 2: PvE/PvP stats, Dark Zone details, and session history.

**Can I see per-legend stats like kills on Wraith or damage on Octane?**
Yes! Use `get_apex_legend_breakdown` to get performance data for each individual legend — kills, damage, wins, and more. This is perfect for identifying a player's main and comparing legend-specific performance.

**How do I track a player's recent performance over time?**
Use `get_apex_match_history` or `get_division2_match_history` to retrieve grouped play sessions with aggregated stats. Each session shows kills, damage, placements, and XP — making it easy to spot improvement trends or slumps.