
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.
概览
本地运行的 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 外,被查询的资料必须公开。
安装
在 SourceWeft 中
- 打开 控制台中的 Steam MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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.
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:
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.
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:
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:
Restart Claude Desktop. The steam server should appear in the tools menu.
5. Connect to Claude Code
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:
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:
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版本历史
1- v1.1.6最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分