Skip to main content
Glama
faceit-mcp

faceit-mcp

by justinbchau

FACEIT MCP Server

Lets Claude query your FACEIT CS2 stats directly (player profile, lifetime stats, match history, per-match detailed stats) so you can ask for real analysis instead of pasting screenshots.

Setup

  1. Install dependencies and build:

    npm install
    npm run build
  2. Get your FACEIT API key (if you don't already have one):

  3. Add this server to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or the equivalent on your OS):

    {
      "mcpServers": {
        "faceit": {
          "command": "node",
          "args": ["/absolute/path/to/faceit-mcp/build/index.js"],
          "env": {
            "FACEIT_API_KEY": "your-api-key-here"
          }
        }
      }
    }
  4. Restart Claude Desktop. You should see "faceit" as a connected MCP server.

Related MCP server: faceit-mcp

Using it from Claude web (claude.ai)

Claude Desktop runs this server locally over stdio. Claude web can't spawn a local process, so it needs the server hosted somewhere and reachable over HTTPS via the MCP Streamable HTTP transport, exposed here at api/mcp.ts.

  1. Deploy this repo to Vercel (or any Node host that runs api/mcp.ts as an HTTP endpoint).

  2. In the deployment's environment variables, set:

    • FACEIT_API_KEY — your FACEIT API key

    • MCP_ACCESS_TOKEN — a secret you generate yourself (e.g. openssl rand -hex 24). Anyone who can reach the URL and knows this token can query your FACEIT key through the connector, so keep it private.

  3. In claude.ai: Settings → Connectors → Add custom connector, and use https://<your-deployment>.vercel.app/api/mcp as the URL. If prompted for auth, use the MCP_ACCESS_TOKEN value as a bearer token (Authorization: Bearer <token>).

Tools exposed

  • faceit_find_player — look up a player by nickname, get their player_id

  • faceit_get_player_stats — lifetime CS2 stats (K/D, ADR, win rate, HS%, etc.)

  • faceit_get_match_history — recent match list for a player

  • faceit_get_match_stats — full per-round, per-player stats for one match

  • faceit_get_match_details — teams, competition, result for one match

  • faceit_analyze_weaknesses — compares a player's last N matches against their own official FACEIT lifetime average for the same stats (K/D, ADR, headshot %, entry success, clutch conversion, utility/flash usage) and flags any that trail their established baseline by 10%+

  • faceit_analyze_match_vs_pro — analyzes one match and ranks which stat areas trailed a pro/reference player's FACEIT lifetime average (defaults to donk666) by the largest relative margin

Notes

  • This uses FACEIT's free public Data API (open.faceit.com/data/v4). No cost, subject to their standard rate limits.

  • Your API key lives in your local Claude Desktop config, not in this repo — don't commit it anywhere.

Available Tools

5 tools
faceit_find_playerA

Look up a FACEIT player by their exact nickname to get their player_id and basic profile info. Use this first before other tools that require a player_id.

Inputs: nickname (required).

faceit_get_match_detailsA

Get general details for a specific FACEIT match: teams, players, competition info, status, results.

Inputs: match_id (required).

faceit_get_match_historyA

Get a player's recent CS2 match history (list of match ids, results, timestamps) on FACEIT.

Inputs: player_id (required), limit, offset, game_id.

faceit_get_match_statsA

Get detailed per-round, per-player stats for a specific FACEIT match (kills, ADR, KAST, headshots, rounds, etc). Use a match_id from faceit_get_match_history.

Inputs: match_id (required).

faceit_get_player_statsA

Get a player's lifetime CS2 stats on FACEIT (K/D, ADR, win rate, headshot %, etc.) using their player_id.

Inputs: player_id (required), game_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: player lookup, player stats, match history, match stats, and match details. The descriptions clearly differentiate match stats (per-round/per-player numbers) from match details (general info), so an agent can reliably choose the right tool.

    Naming Consistency4/5

    All tools follow a faceit_<verb>_<noun> pattern with snake_case. The only deviation is 'find_player' using 'find' instead of 'get', but this is minor and the pattern remains predictable across the set.

    Tool Count5/5

    Five tools is well-scoped for a focused FACEIT CS2 stats server. Each tool covers a necessary lookup or retrieval step without redundancy, and the count is squarely in the ideal 3-15 range.

    Completeness5/5

    The tool surface covers the core read-only workflow: finding a player, retrieving their stats, listing match history, and then fetching both summary and detailed stats for a match. There are no obvious dead ends for typical use cases; the missing operations are not essential for this domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Live CS2 FACEIT data for Claude — query player stats, match history, head-to-head comparisons, recent form, per-map breakdowns, and full match scoreboards for any public FACEIT player using natural language.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to query the FACEIT platform for players, matches, hubs, and tournaments through typed MCP tools generated from the FACEIT Data API v4.
      64
      MIT