Skip to main content

CLI to extract structured data from Steam (reviews, game search) — designed for LLM agents

Project description

stools banner

stools

CLI tool to extract structured data from Steam. Outputs JSON to stdout, making it easy to pipe into other tools or consume from LLM agents.

Installation

macOS (Homebrew)

brew install pipx
pipx install stools-cli

Other platforms

python3 -m pip install stools-cli

Requires Python 3.9+. No external dependencies.

Commands

stools search

Search Steam for games by name.

stools search <query> [--limit N] [--fields f1,f2,...]
Argument Description
query Search term (e.g. megaman, dark souls)
--limit N Max results to return. Default: 10
--fields Comma-separated fields to keep per result (e.g. app_id,name)

Output schema

{
  "query": "megaman",
  "total_results": 10,
  "results": [
    {
      "app_id": 742300,
      "name": "Mega Man 11",
      "price": { "currency": "USD", "initial": 2999, "final": 2999 },
      "platforms": { "windows": true, "mac": false, "linux": false },
      "metascore": "80"
    }
  ]
}

Examples

# Search for a game
stools search "megaman"

# Get top 3 results, only app_id and name
stools search "dark souls" --limit 3 --fields app_id,name

# Search then fetch reviews for the first result
APP_ID=$(stools search "snake vs snake" 2>/dev/null | jq '.results[0].app_id')
stools reviews "$APP_ID"

stools reviews

Fetch all reviews for a Steam game.

stools reviews <app_id_or_url> [--language CODE] [--review-type TYPE] [--limit N] [--offset N] [--fields f1,f2,...] [--output FILE]
Argument Description
app Steam app ID (1005310) or store URL (https://store.steampowered.com/app/1005310/Snake_vs_Snake/)
--language Filter by language code: english, spanish, french, german, etc. Default: all
--review-type Filter by sentiment: all, positive, negative. Default: all
--limit N Max reviews to return. 0 = all. Default: 0
--offset N Skip the first N reviews. Use with --limit to paginate. Default: 0
--fields Comma-separated fields to keep per review (e.g. review,voted_up)
--output FILE Write JSON to a file instead of stdout

Output schema

{
  "app_id": 1005310,
  "query_summary": {
    "num_reviews": 33,
    "review_score": 7,
    "review_score_desc": "Positive",
    "total_positive": 33,
    "total_negative": 0,
    "total_reviews": 33
  },
  "total_fetched": 33,
  "reviews": [
    {
      "recommendationid": "210668843",
      "author": {
        "steamid": "76561198079866033",
        "personaname": "username",
        "num_reviews": 32,
        "playtime_forever": 1554,
        "playtime_at_review": 1554
      },
      "language": "english",
      "review": "Review text here.",
      "timestamp_created": 1764106395,
      "timestamp_updated": 1764106395,
      "voted_up": true,
      "votes_up": 0,
      "votes_funny": 0,
      "steam_purchase": true,
      "received_for_free": false,
      "written_during_early_access": false
    }
  ]
}

Examples

# Fetch all reviews for a game
stools reviews 1005310

# Fetch only English reviews, save to file
stools reviews 1005310 --language english --output reviews.json

# Fetch first 10 reviews
stools reviews 1005310 --limit 10

# Paginate through reviews
stools reviews 730 --limit 50
stools reviews 730 --limit 50 --offset 50

# Get only negative reviews
stools reviews 730 --review-type negative --fields review,voted_up

# Use a full Steam URL
stools reviews "https://store.steampowered.com/app/1005310/Snake_vs_Snake/"

# Get only review text and sentiment
stools reviews 1005310 --fields review,voted_up

Exit codes

Code Meaning
0 Success
1 Usage / input error
2 Network / API error

Agent integration

stools bundles a SKILL.md following the agentskills.io open standard.

Claude Code

Via the plugin marketplace (installs the skill and keeps it updated):

claude install-plugin aotarola/stools

Or via the CLI:

stools install-skill claude   # → ~/.claude/skills/stools/SKILL.md

Hermes / Codex

stools install-skill hermes   # → ~/.hermes/skills/stools/SKILL.md
stools install-skill codex    # → ~/.agents/skills/stools/SKILL.md

Once installed, the agent can discover and use stools automatically.

Design notes

  • JSON only: all output goes to stdout as JSON; errors go to stderr.
  • No dependencies: uses only Python standard library.
  • Subcommand structure: stools <command> — designed to grow with more Steam data commands.
  • Agent-ready: includes .claude-plugin/ manifest and skills/ for automatic discovery by LLM agents.

Project details


Download files

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

Source Distribution

stools_cli-0.3.0.tar.gz (582.5 kB view details)

Uploaded Source

Built Distribution

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

stools_cli-0.3.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file stools_cli-0.3.0.tar.gz.

File metadata

  • Download URL: stools_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 582.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stools_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2ccf055b6d9579ebcdc8aebbea0019497616ee194bb1ac5c46b739cee0a7effc
MD5 a90794f638e31bc2158b7f2c36beda51
BLAKE2b-256 21837f9a575ae3221f7a32fe5ff0cf42a682a1f0be57dd44f434b43b6124b6f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for stools_cli-0.3.0.tar.gz:

Publisher: publish.yml on aotarola/stools

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

File details

Details for the file stools_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: stools_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stools_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e379dc5bad0181d4f49679985856b30af87d42d7c7c010d2e5377752ebb227d6
MD5 83d87a705e2fe8c9a180858e13358aec
BLAKE2b-256 e7e0113071a9f05a02146d9a155fa64e5fe61f7d46916e1ffa4ac631f69011a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for stools_cli-0.3.0-py3-none-any.whl:

Publisher: publish.yml on aotarola/stools

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page