Skip to main content
Glama

steam-mcp

Ein MCP-Server, der die Steam Web API für jede beliebige KI-Umgebung zugänglich macht — Claude Desktop, Claude Code, Cursor, Cline, Windsurf oder alles, was das Model Context Protocol spricht.

Frag deinen Assistenten zum Beispiel: „Wie viele Stunden habe ich in Team Fortress 2 verbracht?“, „Was sind die am häufigsten gespielten Spiele meines Freundes?“ oder „Fasse die Rezensionen zu Baldur’s Gate 3 zusammen“ — und er holt die Antwort live von Steam.

CI License: MIT Python 3.10+


Warum

Die Steam Web API ist mächtig, aber unübersichtlich: Dutzende Schnittstellen, uneinheitliche Datenstrukturen, 64-Bit-SteamIDs, eine undokumentierte Store-API und ein Pflichtschlüssel für alles Spielerbezogene. steam-mcp verpackt die nützlichen Teile hinter einem kleinen, gut dokumentierten Satz workflow-orientierter MCP-Tools, die LLM-freundliche, tokeneffiziente Antworten liefern.

Related MCP server: mcp-server-steam

Schnellstart

Du brauchst einen Steam-Web-API-Schlüssel für die Spieler-/Profil-Tools. Einen bekommst du (kostenlos) unter https://steamcommunity.com/dev/apikey. Die Store-Tools (App-Details, Reviews, Suche) funktionieren auch ohne Schlüssel.

Führe es direkt von GitHub ohne Installation mit uv aus (funktioniert heute schon — PyPI-Veröffentlichung steht noch aus):

STEAM_API_KEY=xxxxxxxx uvx --from git+https://github.com/rachittshah/steam-mcp steam-mcp

Oder installiere es aus dem Quellcode:

uv pip install git+https://github.com/rachittshah/steam-mcp
# once published to PyPI: uv pip install steam-mcp

Claude Desktop / Claude Code

Füge Folgendes zu deiner MCP-Konfiguration hinzu (claude_desktop_config.json oder .mcp.json bei Claude Code):

{
  "mcpServers": {
    "steam": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/rachittshah/steam-mcp", "steam-mcp"],
      "env": { "STEAM_API_KEY": "your-key-here" }
    }
  }
}

(Nach einem PyPI-Release vereinfacht sich args zu ["steam-mcp"].)

Cursor / Cline / Windsurf

Richte den MCP-Server-Befehl auf den gleichen uvx --from git+... steam-mcp-Aufruf aus und setze STEAM_API_KEY in der Umgebung. Anleitungen für die einzelnen Clients findest du in docs/clients.md.

Konfiguration

Variable

Erforderlich

Standard

Beschreibung

STEAM_API_KEY

für Spieler-Tools

—

Schlüssel für die Steam Web API.

STEAM_MCP_TIMEOUT

nein

20

HTTP-Request-Timeout (Sekunden).

STEAM_MCP_LANGUAGE

nein

english

Sprache für lokalisierte Store-Antworten.

STEAM_MCP_COUNTRY

nein

US

ISO-Ländercode für Store-Preise.

Tools

Die vollständige, generierte Tool-Referenz findest du in docs/tools.md. Highlights:

  • Identität — resolve_vanity_url, get_player_summary, get_player_bans, get_steam_level

  • Bibliothek — get_owned_games, get_recently_played_games, get_friend_list

  • Erfolge & Statistiken — get_player_achievements, get_game_schema, get_global_achievement_percentages, get_current_player_count

  • Store — get_app_details, get_app_reviews, search_store

  • Neuigkeiten — get_news_for_app

Beispiel-Prompts

Sobald du verbunden bist, frag deinen Assistenten zum Beispiel:

  • „Wie viele Leute spielen gerade Counter-Strike 2?“ → search_store → get_current_player_count

  • „Was ist der seltenste Achievement in Team Fortress 2?“ → get_global_achievement_percentages

  • „Fasse die aktuellen Rezensionen zu Elden Ring zusammen.“ → search_store → get_app_reviews

  • „Wessen Profil ist steamcommunity.com/id/gabelogannewell, und was spielt diese Person gerade?“ → get_player_summary

  • „Was sind meine 5 am häufigsten gespielten Spiele?“ (dafür brauchst du deine SteamID) → get_owned_games

  • „Gibt es aktuelle Patch-Notizen für Dota 2?“ → get_news_for_app

Entwicklung

git clone https://github.com/rachittshah/steam-mcp
cd steam-mcp
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
ruff check . && mypy src && pytest

Mitwirken

Beiträge sind willkommen — siehe CONTRIBUTING.md.

Lizenz

MIT © Rachitt Shah. Nicht verbunden mit oder unterstützt von Valve Corporation. Steam und das Steam-Logo sind Marken der Valve Corporation.

Available Tools

15 tools
get_app_detailsA
Read-onlyIdempotent

Get full store details for a game/app by appid.

Returns type, description, developers/publishers, release date, price, genres, platforms, Metacritic score, and review recommendation count. No API key required. Use search_store first if you only have a name.

Inputs: appid (required). Returns: result

get_app_reviewsA
Read-onlyIdempotent

Summarize store reviews for a game and show a sample of recent ones.

Returns the overall review label (e.g. "Very Positive"), positive/total counts, and a sample of recent reviews with their up/down vote and the reviewer's playtime. No API key required.

Inputs: appid (required), limit, review_type. Returns: result

get_current_player_countA
Read-onlyIdempotent

Get the number of players currently in a game, right now.

Returns the live concurrent player count for an app. Great for "how many people are playing X right now?". No API key required. Use search_store to find the appid from a game name.

Inputs: appid (required). Returns: result

get_friend_listA
Read-onlyIdempotent

List a player's friends, newest-friended first, with names.

The friend list must be public. Names are resolved in one batch call. Requires an API key.

Inputs: steam_id (required), limit. Returns: result

get_game_schemaA
Read-onlyIdempotent

Get a game's achievement and stat definitions (its schema).

Returns the game's display name, the count and names of its achievements, and any tracked stats. Use this to learn what achievements exist before checking a player's progress. Requires an API key.

Inputs: appid (required). Returns: result

get_global_achievement_percentagesA
Read-onlyIdempotent

Show how rare each achievement is across all players of a game.

Returns achievements sorted from rarest to most common (global unlock percentage). Great for "what's the rarest achievement in X?". No API key required.

Inputs: appid (required). Returns: result

get_news_for_appA
Read-onlyIdempotent

Get the latest news / patch notes for a game.

Returns recent announcements with title, source feed, date, a short excerpt, and a link. No API key required. Use search_store to find the appid from a game name.

Inputs: appid (required), count. Returns: result

get_owned_gamesA
Read-onlyIdempotent

List the games a player owns, with total playtime per game.

Returns a ranked table plus library-wide totals (game count and summed hours). The profile's game details must be public. Requires an API key.

Use sort='recent' to answer "what have they been playing lately?" and limit to control response size.

Inputs: steam_id (required), sort, limit. Returns: result

get_player_achievementsA
Read-onlyIdempotent

Show a player's achievement progress in one game.

Returns overall completion (unlocked / total) and a list of unlocked achievements with dates. The profile must be public and must own the game. Requires an API key.

Inputs: appid (required), steam_id (required). Returns: result

get_player_bansA
Read-onlyIdempotent

Check a player's VAC, game, economy, and community ban status.

Useful for trust/reputation questions. Requires an API key.

Inputs: steam_id (required). Returns: result

get_player_summaryA
Read-onlyIdempotent

Fetch a player's public profile summary.

Returns persona name, online state, profile visibility, account creation date, country, and the game they're currently playing (if public). Private profiles return limited fields. Requires an API key.

Inputs: steam_id (required). Returns: result

get_recently_played_gamesA
Read-onlyIdempotent

List games a player has played in the last two weeks.

Returns each game with its 2-week and lifetime playtime. The profile must be public. Requires an API key.

Inputs: steam_id (required), count. Returns: result

get_steam_levelA
Read-onlyIdempotent

Get a player's Steam community level. Requires an API key.

Inputs: steam_id (required). Returns: result

resolve_vanity_urlA
Read-onlyIdempotent

Resolve a Steam custom (vanity) URL name to its SteamID64.

Use this when you only have a person's custom URL name and need the numeric id that other tools consume. Requires an API key.

Returns the SteamID64 in all common formats, or a not-found message.

Inputs: vanity (required). Returns: result

search_storeA
Read-onlyIdempotent

Search the Steam store by name and return matching apps with appids.

This is the entry point for most store workflows: turn a game name the user mentioned into the appid that get_app_details, get_app_reviews, and the stats tools require. No API key required.

Inputs: term (required), limit. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: player basics, friend lists, owned games, achievements, store search, reviews, and news. The only potential overlap is between owned games and recent playtime, but the descriptions make the timeframe distinction clear.

    Naming Consistency5/5

    All tool names follow the same verb_noun snake_case pattern (get_, search_, resolve_). Even the two non-get verbs are still consistent with the pattern, resulting in a very predictable and uniform API surface.

    Tool Count5/5

    15 tools is at the upper end of the ideal range, but every tool covers a meaningful feature: player info, game stats, store details, and reviews. No tool feels redundant, and the count aligns well with Steam's broad domain.

    Completeness4/5

    The set covers the major workflows: resolving users, fetching profiles/bans/friends, listing owned and recent games, checking achievements, and getting store details/reviews/news. Minor gaps exist (e.g., no wishlist access or player review listing), but these are not dead ends for standard queries.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers