Steam MCP Server
Provides tools to fetch data from a user's Steam game library via the Steam Web API, including owned games, recently played games, player summary, achievements, and vanity URL resolution.
Click on "Deploy 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., "@Steam MCP Server show me my recently played games"
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.
Steam MCP Server
A local MCP server that lets Claude fetch data from your Steam game library via the Steam Web API. All tools are read-only — the server never modifies your account.
Tools
Tool | What it does |
| Lists owned games with total playtime, sorted by playtime or name |
| Games played in the last ~2 weeks |
| Profile info: name, status, currently playing, account creation date |
| Achievements for a specific game (requires appid) |
| Converts a custom profile URL to a SteamID64 |
Related MCP server: steam-mcp
Prerequisites
Steam Web API key — get one for free at https://steamcommunity.com/dev/apikey (requires a logged-in Steam account; enter any domain, e.g.
localhost).Your SteamID64 — the 17-digit number for your account. Find it via your profile URL, or use
steam_resolve_vanity_urlif you have a custom URL.Profile must be public — under Steam → Profile → Edit Profile → Privacy, "Game details" must be set to Public, otherwise library and achievement calls will return empty.
uv installed —
curl -LsSf https://astral.sh/uv/install.sh | shPython 3.10+ (uv will manage this automatically).
Installation
uv syncConnecting to Claude
The server uses stdio transport and runs as a local subprocess. It works with MCP clients such as Claude Desktop and Claude Code.
Claude Desktop
Open the config file (Settings → Developer → Edit Config) and add the server. Replace the paths and values with your own:
{
"mcpServers": {
"steam": {
"command": "uv",
"args": ["run", "--directory", "/full/path/to/steam-api-mcp", "src/steam_mcp.py"],
"env": {
"STEAM_API_KEY": "YOUR_API_KEY_HERE",
"STEAM_ID": "YOUR_STEAMID64_HERE"
}
}
}
}STEAM_ID is optional. If set, you won't need to provide your own ID in every
request — the tools fall back to this value. You can still pass a different
steam_id to look at a friend's (public) profile.
Restart Claude Desktop after saving. You can then ask things like:
"Which 10 games have I played the most on Steam?"
"What have I played in the last two weeks?"
"How many achievements do I have in appid 570?"
Claude Code
claude mcp add steam uv run --directory /full/path/to/steam-api-mcp src/steam_mcp.py \
--env STEAM_API_KEY=YOUR_KEY --env STEAM_ID=YOUR_STEAMID64Testing Outside a Client
With MCP Inspector you can click through the tools manually:
STEAM_API_KEY=your_key STEAM_ID=your_id \
npx @modelcontextprotocol/inspector uv run src/steam_mcp.pyPrivacy and Limitations
The API only returns data a profile has made public.
Your key is stored in the client config / environment variables and is never sent anywhere other than Steam.
The Steam Web API has reasonable rate limits (approx. 100,000 calls/day). The server returns a clear 429 message if you hit a temporary limit.
Available Tools
5 toolssteam_get_owned_gamesARead-onlyIdempotent
List the games owned by a Steam user, with total playtime per game.
This is the core library tool. It returns each owned game with its appid, name, total playtime, recent (2-week) playtime, and last-played date. The target profile's "Game details" must be public for this to return data.
Args: params (OwnedGamesInput): Validated input containing: - steam_id (Optional[str]): SteamID64; falls back to STEAM_ID env var. - limit (Optional[int]): Max games to return after sorting (1-500, default 25). - sort_by (str): 'playtime' (default) or 'name'. - include_free_games (bool): Include launched free-to-play games (default True). - response_format (ResponseFormat): 'markdown' or 'json'.
Returns: str: Markdown or JSON. JSON schema: { "total_games_owned": int, # total count in the library "returned": int, # number of games in this response "games": [ { "appid": int, "name": str, "playtime_hours": float, # total, all time "playtime_2weeks_hours": float, # last 2 weeks "last_played": str | null, # UTC timestamp "icon_url": str | null } ] } On error, an "Error: ..." string.
Inputs: params (required). Returns: result
steam_get_player_achievementsARead-onlyIdempotent
Get a player's achievements for a specific game.
Args: params (AchievementsInput): Validated input containing: - appid (int): The game's Steam application ID (required). - steam_id (Optional[str]): SteamID64; falls back to STEAM_ID env var. - only_unlocked (bool): Return only unlocked achievements (default False). - response_format (ResponseFormat): 'markdown' or 'json'.
Returns: str: Markdown or JSON with the game name, unlocked/total counts, and a list of achievements (name, unlocked flag, unlock time), or an "Error: ..." string. Some games have no achievements, which returns a note.
Inputs: params (required). Returns: result
steam_get_player_summaryARead-onlyIdempotent
Get profile summary information for a Steam user.
Returns display name, profile URL, avatar, online status, and (if public) the currently played game and account creation date.
Args: params (PlayerInput): Validated input containing: - steam_id (Optional[str]): SteamID64; falls back to STEAM_ID env var. - response_format (ResponseFormat): 'markdown' or 'json'.
Returns: str: Markdown or JSON describing the profile, or an "Error: ..." string.
Inputs: params (required). Returns: result
steam_get_recently_played_gamesARead-onlyIdempotent
List games a Steam user has played in roughly the last two weeks.
Args: params (RecentlyPlayedInput): Validated input containing: - steam_id (Optional[str]): SteamID64; falls back to STEAM_ID env var. - count (Optional[int]): Max games to return (1-50, default 10). - response_format (ResponseFormat): 'markdown' or 'json'.
Returns: str: Markdown or JSON listing recent games with 2-week and total playtime, or an "Error: ..." string.
Inputs: params (required). Returns: result
steam_resolve_vanity_urlARead-onlyIdempotent
Resolve a Steam custom (vanity) profile URL name into a SteamID64.
Many Steam profiles use a custom URL like steamcommunity.com/id/ instead of a numeric ID. Other tools in this server need the numeric SteamID64, so use this first if you only have a custom URL name.
Args: params (VanityUrlInput): Validated input containing: - vanity_name (str): The custom URL name (without the full URL).
Returns: str: On success, the resolved SteamID64 and original name. On failure, an "Error: ..." string. If the name doesn't match a profile, returns a message saying no match was found.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a distinct Steam function: owned games, achievements, profile summary, recently played games, and vanity URL resolution. No two tools overlap in purpose.
All tools follow a consistent 'steam_verb_noun' pattern in snake_case, with clear and predictable naming.
With 5 tools, the server is focused and well-scoped, covering essential Steam user data queries without unnecessary bloat.
The set covers core user data (owned games, recent games, achievements, profile, vanity resolution). A minor gap is the lack of game detail retrieval, but it is reasonable for a focused server.
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that provides agents access to the KeldynAI platform
MCP server for progressive tool usage at any scale (see https://klavis.ai)
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseAqualityDmaintenanceConnects Claude to your Steam library via the Steam Web API. Query your games, playtime, recently played history, and store metadata using natural language. Zero-config install via npx steam-mcp.519 npm6MIT
- AlicenseAqualityCmaintenanceExposes Steam Web API tools as MCP resources for Claude Code, Claude Desktop, and Gemini CLI, enabling profile lookups, game searches, achievement tracking, and more.111MIT
- AlicenseAqualityDmaintenanceMCP Server for the Steam Web API — access player profiles, game libraries, achievements, news, friend lists, and store search through Claude.203MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to your Steam game library data through Claude Desktop, enabling game search, filtering, details, recommendations, and statistics.7-