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.7.10.tar.gz (940.7 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.7.10-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysteam_client-1.7.10.tar.gz
  • Upload date:
  • Size: 940.7 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.7.10.tar.gz
Algorithm Hash digest
SHA256 19f4cf2266be7dfe60d9d5fbdc3f80bfe57335dd81380a4e0cab7a939698d5b2
MD5 2c1e53926c9588cfd7f2dc1a16644be0
BLAKE2b-256 9b72197af6e4f1cffa9a084148c4a0cf2e1c25dd2e3ebc73534c25c18d1aaeb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysteam_client-1.7.10.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.7.10-py3-none-any.whl.

File metadata

File hashes

Hashes for pysteam_client-1.7.10-py3-none-any.whl
Algorithm Hash digest
SHA256 23f369e225ecd71db149d8441a6f9eb9307a0a3f7841b3a816206cdaaaea7500
MD5 daf958e5b878c70cb8ec8f4eff57dd1f
BLAKE2b-256 c35eeab7b3da36d376a34759c09f1433b130aad788e88f30c000aed7e7b7b248

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysteam_client-1.7.10-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

1.8.0

2 files

This release

1.7.10 This release

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