Steam MCP Server

io.github.julianmeyerr由 GitHub 帳號 julianmeyerr 發布v1.1.6更新於 Oct 28, 2026

Access Steam profiles, libraries, achievements, friends, news, and player statistics through MCP.

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

在本機執行的 MCP 伺服器,包裝 Steam Web API,讓助理查詢 Steam 個人檔案、遊戲庫、成就、好友、新聞與線上人數。

可以做什麼
  • 查詢玩家檔案、擁有的遊戲、最近遊玩、家庭共享遊戲庫以及與他人的共同遊戲
  • 查看某款遊戲的成就、全球成就解鎖比例,以及 VAC、社群、經濟與遊戲封鎖狀態
  • 讀取好友清單、好友目前狀態與正在玩的遊戲,以及好友近期動態
  • 依名稱搜尋遊戲、把自訂網址解析為 SteamID64,並取得遊戲新聞與目前線上人數
適用情境
適合讓助理回答關於自己或公開 Steam 帳號的問題:某人擁有或正在玩什麼、成就進度如何、好友在玩什麼,或某款遊戲目前有多熱門。
執行需求
以 npm 套件形式透過 stdio 在本機執行,需要 Node.js 18 或更新版本。帳號相關工具需要 STEAM_API_KEY 中的 Steam Web API 金鑰;遊戲搜尋、線上人數等公開工具不需金鑰。MY_STEAM_ID 設定預設 SteamID64,STEAM_FAMILY_MEMBER_IDS 列出家庭成員。除用自己的金鑰查詢自己的 ID 外,被查詢的檔案必須公開。
安裝前請注意
需要 Steam Web API 金鑰這項個人憑證,請勿寫入共用或公開的設定檔。它會讀取帳號、遊戲庫、好友與封鎖資料,只應查詢你有權檢視的檔案。選用設定 STEAM_TLS_INSECURE 與 STEAM_EXTRA_CA 會影響 TLS 驗證,不安全選項僅應作為最後手段。所有請求都會送往 Steam 的伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Steam MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

steam-mcp-server

MCP server that exposes the Steam Web API as tools for Claude Desktop or Claude Code, running locally over stdio.

Available tools

ToolDescription
get_player_profilePublic profile for one or more users (name, avatar, status)
get_owned_gamesGames owned by a user, including playtime
get_family_owned_gamesUnified family game library with ownership information
get_recently_played_gamesGames played within the last two weeks
get_player_achievementsA user's achievements for a specific game
get_friend_listA user's Steam friend list
get_friends_current_statusCurrent status and games being played by your friends
get_friends_recent_activityRecent activity from your friends
compare_owned_gamesGames owned in common with another user
get_app_newsLatest news and updates for a Steam game
get_global_achievement_percentagesPercentage of players who unlocked each achievement
get_current_playersCurrent player count for a game
resolve_vanity_urlConverts a vanity URL to a SteamID64
search_gameSearches for a game and returns its AppID
get_player_bansVAC, community, economy, and game ban status

The Steam profile being queried must be public, except when querying your own SteamID with your own API key. An API key is required for account-related tools; public tools such as current player counts and game search can run without one.

1. Get a Steam API key

Go to https://steamcommunity.com/dev/apikey, sign in with your Steam account, and generate an API key. Steam requires at least one game in your library to issue a key.

2. Installation

Requirements: Node.js 18 or later.

bash
npm installcp .env.example .env       # macOS/Linux# Windows PowerShell: Copy-Item .env.example .env# Edit .env and add your STEAM_API_KEYnpm run build

The .env file contains secrets and must not be published. If your network uses SSL inspection, set STEAM_EXTRA_CA to the path of your private CA certificate. Use STEAM_TLS_INSECURE=1 only as a last resort on a trusted network.

Steam responses are cached in memory for 30 seconds by default, and requests are spaced by at least 100 milliseconds to reduce rate-limit errors. Configure STEAM_CACHE_TTL_MS=0 to disable caching or adjust STEAM_MIN_REQUEST_INTERVAL_MS if needed.

Family library

Configure the SteamID64 values of family members as a comma-separated list. MY_STEAM_ID is included automatically:

env
MY_STEAM_ID=76561199080486814STEAM_FAMILY_MEMBER_IDS=76561100000000001,76561100000000002

The get_family_owned_games tool returns each game's appid, name, and owner's SteamID64. If a game appears in multiple accounts, owner contains multiple IDs. The Steam Web API does not directly expose games borrowed exclusively through Steam Families; it only returns games that each account exposes as owned.

3. Test with MCP Inspector

This is recommended before connecting the server to a real client.

bash
npm run inspector

This opens a browser UI where you can list and execute the tools manually to verify that they respond correctly.

To test the published npm package instead of the local build:

powershell
npx --yes "@modelcontextprotocol/inspector" npx --yes --package "@j.meyer/[email protected]" steam-mcp-server

4. Connect to Claude Desktop

Edit the Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the server using the absolute path to your project:

json
{  "mcpServers": {    "steam": {      "command": "npx",      "args": [        "--yes",        "--package",        "@j.meyer/[email protected]",        "steam-mcp-server"      ],      "env": {        "STEAM_API_KEY": "your_api_key_here"      }    }  }}

Restart Claude Desktop. The steam server should appear in the tools menu.

5. Connect to Claude Code

bash
claude mcp add steam -- npx --yes --package @j.meyer/[email protected] steam-mcp-server

Claude Code inherits STEAM_API_KEY if it is defined in your .env file or in the shell environment where you run claude.

Publishing the project

This server is designed to run locally over stdio. Each user must configure their own STEAM_API_KEY and MY_STEAM_ID. Never copy your .env file or include an API key in the published configuration.

Before creating a release, verify the installation from a clean copy:

bash
npm cinpm run buildnpm testnpm run inspector

If you publish it as an npm package, npm publish builds the project automatically and only distributes dist, README.md, .env.example, and LICENSE. The package is available as @j.meyer/steam-mcp-server.

Automated releases

Pushing a tag matching vX.Y.Z runs .github/workflows/publish.yml. The workflow verifies that the tag matches the versions in package.json and server.json, runs the build, tests, audit, and package verification, then publishes to npm, the official MCP Registry, and GitHub Releases.

The workflow uses npm Trusted Publishing with GitHub OIDC, so no NPM_TOKEN secret is required. Before the first automated release, configure a Trusted Publisher in the npm package settings with:

  • Provider: GitHub Actions
  • User: julianmeyerr
  • Repository: steam-mcp-server
  • Workflow: publish.yml
  • Allowed action: npm publish

The MCP Registry publication uses GitHub OIDC as well and requires no additional secret. The registry metadata is defined in server.json and ownership is verified through mcpName in package.json.

After merging the version bump into main, push its matching tag:

bash
git push origin v1.1.6

License

This project is licensed under the MIT License. See LICENSE for details.

How to get a SteamID64

Most tools expect a 64-bit steamid (for example, 76561197960435530) rather than a username. You can use the resolve_vanity_url tool to convert a custom Steam URL, or use an external service such as SteamID.io.

Possible next steps

  • Add more Steam Store tools, such as reviews, prices, and game details.

來源:README.md,提交 e6092f4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.6最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分