Skip to main content
pysteam-client

CI status CodeQL SAST OpenSSF Scorecard PyPI version Python versions MCP tools included License

pysteam-client

Modern Python client for the Steam network — CM protocol, PICS, CDN, WebAuth, Web API, Steam Guard, SteamIDs — plus a fully-async facade for FastAPI / TaskIQ and an MCP tool set for LLM agents.

Maintained fork of ValvePython/steam for Python 3.13+ and current Steam wire protocols. Full docs in the Wiki.

Install

pip install pysteam-client[client]

[client] pulls in the gevent-based SteamClient (login, PICS, CDN). Without it the requests-only subset (WebAPI / WebAuth / SteamID / master-server query) still works.

Quick start

Sync (script, CLI, batch jobs):

from steam.client import SteamClient

client = SteamClient()
client.anonymous_login()
info = client.get_product_info(apps=[440], timeout=15)
print(info["apps"][440]["common"]["name"])
client.logout()

Async (FastAPI, TaskIQ, any asyncio app):

from steam.aio import AsyncSteamClient

async with AsyncSteamClient() as client:
    await client.anonymous_login()
    info = await client.get_product_info(apps=[440])

MCP (expose to an LLM agent):

from mcp.server.fastmcp import FastMCP
from steam.aio import AsyncSteamClient
from steam.mcp import register_steam_tools

server = FastMCP("Steam")
client = AsyncSteamClient()
await client.start()
await client.anonymous_login()
register_steam_tools(server, client)   # steam.status, steam.get_product_info, steam.send_um

Documentation

Full documentation lives in the Wiki. Highlights:

Getting started

Client APIs

Async / FastAPI / MCP (new in 1.6)

Advanced

Security

Every push, PR, and release runs the following gates before any wheel ships to PyPI: ruff + black (style), mypy --strict (types), pytest (unit + integration), deptry (deps hygiene), bandit (Python SAST), pip-audit (CVEs), CodeQL (cross-file SAST), OpenSSF Scorecard (repo posture). A failing gate blocks the publish step.

Report a vulnerability: use GitHub Security Advisories (private, coordinated disclosure). Full policy in SECURITY.md. Do NOT open a public GitHub issue for security reports.

License

MIT — see LICENSE. Unchanged from upstream.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysteam_client-1.8.0.tar.gz (945.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysteam_client-1.8.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pysteam_client-1.8.0.tar.gz.

File metadata

  • Download URL: pysteam_client-1.8.0.tar.gz
  • Upload date:
  • Size: 945.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pysteam_client-1.8.0.tar.gz
Algorithm Hash digest
SHA256 7a1ddc8e4781e8c57f59ecebdf4ff95afd10b1b5e9a32b669dd3d58a4098b915
MD5 1428002f7a24131f017ad3ea65314901
BLAKE2b-256 bb1f082ad004f12a962034f0248b34d1f35e560c8187e29450893c75e8baf012

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysteam_client-1.8.0.tar.gz:

Publisher: publish.yml on H47R15/steam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysteam_client-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: pysteam_client-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pysteam_client-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d5b0d5a36fcd4b146a2cfd60e120648edf6be024605899fcd566221e6ad5e3b
MD5 5a4727b22aeba8a382c475c999c2d618
BLAKE2b-256 1233ac9aaae1423d263579a9a69bbd55c6878a82fcb9a8ef71fc9c3e6ed451cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysteam_client-1.8.0-py3-none-any.whl:

Publisher: publish.yml on H47R15/steam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.8.2

2 files

This release

1.8.0 This release

2 files

1.7.10

2 files

1.7.6

2 files

1.7.0

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.7

2 files

1.4.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page