FACEIT CS2 Coaching MCP Server
Provides tools to search and analyze public FACEIT CS2 player data, including profile overview, map performance, recent form, and improvement plans.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FACEIT CS2 Coaching MCP Serveranalyze player donk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FACEIT CS2 Coaching MCP Server
A remote MCP server (Python + FastMCP) that reads a player's public FACEIT CS2 data, diagnoses strengths and weaknesses, and produces a personalized, data-backed improvement pathway. It's designed to deploy to Render.com and be added as a remote connector in Claude on the first try.
The server is read-only — it only reads public FACEIT data. There is intentionally no auth wall on the MCP endpoint (see Enabling real OAuth later); your FACEIT API key stays server-side and is never exposed to the connected client.
What it exposes
Tools
Tool | What it does |
| Resolve a nickname / profile URL / |
| Profile + lifetime stats + active bans. |
| Per-map win rate / K-D, best & worst maps (maps with <10 matches ignored). |
| Recent matches + per-match stats, trend, streak, consistency. |
| Percentile verdicts for K/D, K/R, HS%, ADR, Win Rate vs same-level, same-region peers (e.g. "bottom-quartile ADR for level 8"). Live peer sampling, with a labelled static-baseline fallback. |
| Leetify advanced metrics FACEIT doesn't expose — opening-duel %, trade %, utility damage, preaim, reaction time, aim/positioning/utility ratings. Degrades cleanly if the player has no Leetify profile. Carries required attribution. |
| Headline tool — full diagnostic fusing FACEIT stats + peer benchmarks + Leetify signals: strengths, weaknesses (with severity), map/form insights, overall assessment. Reports progress while it fetches. |
| Weaknesses → prioritized drills/resources tied to the player's own numbers and percentiles. |
| Lightweight per-user identity: say "I'm |
Prompts — coach_me(query), pre_match_prep(query, map=None), post_loss_review(query), weekly_review(query).
Resource — faceit://player/{query}/analysis exposes the latest computed analysis (served from
an in-memory TTL cache, recomputed on demand — stateless-safe).
query in every tool accepts a nickname, a profile URL (faceit.com/en/players/<nick>), a
raw player_id (UUID), or a SteamID64. An exact-nickname miss falls back to FACEIT search;
an ambiguous nickname resolves to the best match and returns the alternatives so Claude can confirm.
How the advanced features work
Peer benchmarking (no DB). For the target's region + skill level, the server samples ~40 peers from the FACEIT rankings, fetches their lifetime stats concurrently (throttled), and computes the target's percentile per metric. The distribution is cached in-memory per
(region, level)for 6h. If sampling is rate-limited or too thin, it falls back to an approximate static baseline table (inbenchmarks.py) and clearly labels the outputsource: "baseline".Leetify bridge. A FACEIT player's
game_player_idis their SteamID64, and Leetify's public profile endpoint (GET /v3/profile?steam64_id=) is keyed by SteamID64. So the chain is nickname → FACEIT player → Steam64 → Leetify profile. Many players aren't on Leetify; the analysis degrades cleanly to FACEIT-only and notes that connecting Leetify would deepen the report.Leetify attribution (required). Any output containing Leetify-derived data includes "Data Provided by Leetify" and a View on Leetify link (
https://leetify.com/app/profile/{steam64}). This project is not affiliated with or sponsored by Leetify.
Related MCP server: MCP Chess Server
1. Get a FACEIT Server-Side API key
Go to the FACEIT Developer Portal / App Studio: https://developers.faceit.com/
Create an app and generate a Server-Side API key (not a Client-Side key).
Keep it secret — it lives only as a server env var (
FACEIT_API_KEY), never in client-facing code.
The current CS2 game slug is cs2 (the old csgo slug is deprecated and unused here).
2. Run locally
python -m venv venv
# Windows: venv\Scripts\activate macOS/Linux: source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # then edit .env and set FACEIT_API_KEY=...
python server.pyThe server starts on http://0.0.0.0:8000 and the MCP endpoint is at http://localhost:8000/mcp.
Test it:
Health check:
curl http://localhost:8000/health→{"status":"ok"}MCP Inspector: point it at
http://localhost:8000/mcp(Streamable HTTP transport) and callanalyze_playerwith a nickname likedonkorZywOo.
Note:
PORToverrides the default 8000 locally if set. On Render it's injected automatically.
3. Deploy to Render
This repo ships a Render Blueprint (render.yaml):
Push this repo to GitHub.
In Render: New → Blueprint, pick the repo. Render reads
render.yamland creates a free web service namedfaceit-cs2-mcp.In the service's Environment settings, set
FACEIT_API_KEYto your Server-Side key (it's markedsync: false, so Render won't read it from the file — set it manually). Optionally setLEETIFY_API_KEYfor higher Leetify rate limits (the server works without it).ENABLE_FACEIT_OAUTHandENABLE_ELICITATIONdefault to"false"— leave them.Deploy. Render's health probe hits
/health; once it's green the service is live athttps://<your-service>.onrender.com.
How the deploy is wired (and why it connects on the first try):
Streamable HTTP transport —
mcp.run(transport="http", ...), not stdio/SSE.Binds
0.0.0.0and readsPORTfrom the env var Render injects (falls back to 8000 locally). No hard-coded port, no127.0.0.1.Stateless HTTP (
stateless_http=True) so Render's proxy + free-tier cold starts don't break in-memory sessions and Claude's connector reconnects cleanly.TLS is terminated by Render. The app serves plain HTTP on
$PORT;.onrender.comprovides HTTPS for free. There is deliberately no cert/SSL code in Python — that's the classic mistake./healthis a plainGET(200{"status":"ok"}) and is Render'shealthCheckPath; the/mcp/endpoint is not a normal GET and must not be the health target.Every tool catches its own errors (404/401/429/timeouts) and returns a structured message instead of throwing, so a bad lookup never 500s mid-conversation.
4. Add it to Claude as a connector
In Claude → Settings → Connectors → Add custom connector, use this exact URL:
https://<your-service>.onrender.com/mcp(Replace <your-service> with your Render service name. The path is /mcp — the server also
accepts /mcp/.)
Render free-tier cold start: after ~15 min idle the service sleeps and the first request can take ~50s to wake. If the first connect attempt times out, just retry — it'll be instant once warm.
Per-user personalization
Two layers, both infra-free:
Now (default, no auth, no DB):
set_my_profile("<nick>")remembers who you are for the conversation, soanalyze_player()etc. default to you. It's stored in-memory keyed by MCP session and is best-effort — understateless_http=Truethere isn't always a stable session id, so every tool also accepts an explicitquery. That explicit argument is the real guarantee: nothing breaks across cold starts. FACEIT's public API + Leetify's public API already cover the full coaching surface, so this gives a personalized experience with zero auth.Later (real OAuth, disabled): see the next section.
Enabling real OAuth later (advanced — needs persistent storage)
A full FACEIT OAuth provider is scaffolded in auth_faceit.py using FastMCP's
OAuthProxy against FACEIT's real OIDC endpoints, gated behind ENABLE_FACEIT_OAUTH (default
false). When false, the server runs open and connects to Claude first-try. Do not enable it for a
normal deploy. Two caveats you must understand first:
Claude.ai DCR issue. Claude.ai remote connectors have a reported Dynamic Client Registration (DCR)
400failure against FastMCP'sOAuthProxy. Enabling OAuth may break the connection — test in the MCP Inspector first, not directly in Claude.In-memory token storage is not production-usable. The scaffold leaves
client_storage=None, so OAuth client registrations and tokens live in memory and do not survive a restart / cold start. Making this production-grade requires a persistent, encrypted store (a DB/Redis implementingAsyncKeyValue), which is deliberately out of scope for this infra-free build. The injection point is marked inauth_faceit.py.
To experiment: set ENABLE_FACEIT_OAUTH=true, MCP_JWT_SECRET, FACEIT_OAUTH_CLIENT_ID,
FACEIT_OAUTH_CLIENT_SECRET, and register https://<service>.onrender.com/auth/callback as the
redirect URI in your FACEIT OAuth app.
Similarly,
ENABLE_ELICITATION(defaultfalse) turns on protocol-levelctx.elicitprompts. It's off because that request/response round-trip is unreliable understateless_httpand can hang a tool. With it off, ambiguous nicknames resolve to the best match and return acandidateslist for Claude to disambiguate in conversation.
Assumptions made
FastMCP 3.x standalone package (
from fastmcp import FastMCP); the MCP endpoint mounts at/mcp.FACEIT stat fields are treated as strings and parsed defensively (missing fields tolerated).
Skill-level ELO bands follow FACEIT's published CS2 table; maps need ≥10 matches to count toward best/worst; a ≥3-game active loss streak flags tilt risk. Peer benchmarking samples ~40 peers and caches distributions 6h; the static baseline table is approximate. These thresholds/tables live in
analysis.pyandbenchmarks.pyand are easy to tune.Leetify field names/paths were confirmed against the live OpenAPI spec at build time.
Tests
pip install pytest
python -m pytest tests/ -vUnit tests (no network) cover the pure analysis engine (parsing, level bands, fragging/aim/mismatch, map ranking, form/tilt, end-to-end diagnostic), the benchmarking percentile math + static baseline, and the Leetify fusion (weakness detection, attribution, graceful absence).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xarielah/FACEIT-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server