Purpose: steam-mcp is a local Model Context Protocol (MCP) server that exposes the Steam game library to Claude, allowing you to ask questions about your own games in natural language without calling the API yourself.
Main capabilities: query the game library, playtime, recently played games, and store metadata; Steam data is cached locally to speed up responses and avoid triggering rate limits. A refresh_library tool is provided to clear the cache immediately, for example after purchasing a new game.
Prerequisites: a Steam account with a public profile and game library, as well as a free Steam Web API key. The steps include: registering a key at steamcommunity.com/dev/apikey (the domain can be any value such as localhost); preparing the Steam ID, which can use the custom username in the profile URL (steamcommunity.com/id/YOUR_USERNAME), or find the 64-bit Steam ID via steamid.io; setting the profile and game details to public in Steam.
Configuration: locate the Claude Desktop configuration file (on macOS at ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows at %APPDATA%\Claude\claude_desktop_config.json), and add the configuration in the mcpServers section; for local development builds, point the configuration to the built file. After configuration is complete, restart Claude Desktop for it to take effect.
Troubleshooting: If "Steam returned no library data" appears, it means the profile or game library is private and must be set to public in the privacy settings; "Could not resolve Steam vanity URL" means you need to check whether STEAM_ID matches the username in the profile URL, or switch to the 64-bit numeric ID; "Could not validate Steam API key" means you need to verify the key on the apikey page; if the tool does not appear, fully quit and restart Claude Desktop,and use node --version to confirm that Node.js 18+ is installed.
Limitations: the specific installation commands and configuration code examples are not fully provided in the material; a public Steam profile and game library are required; it depends on a Steam Web API key.