Skip to main content

RiotSkillIssue

riotskillissue

PyPI version Python Versions License: MIT Tests PyPI Downloads

Typed async and sync Riot Games APIs, plus an optional local MCP server.

Documentation · Migration guide · API reference

Install

RiotSkillIssue 1.x requires Python >=3.14,<3.17, covering Python 3.14, 3.15, and 3.16. As of July 2026, CI gates releases on Python 3.14 and the current Python 3.15 prerelease. Python 3.16 is still in development, so it is covered by a non-blocking nightly compatibility probe until its stable release.

pip install riotskillissue

Set RIOT_API_KEY or pass a key directly:

import asyncio

from riotskillissue import PlatformRoute, RiotClient


async def main() -> None:
    async with RiotClient(
        api_key="RGAPI-...",
        default_route=PlatformRoute.EUW1,
    ) as riot:
        profile = await riot.lol.player_profile("Player#EUW")
        history = await riot.lol.match_history("Player#EUW", count=5)
        match = await riot.raw.lol.match.get_match(match_id="EUW1_...")
        print(profile, history, match)


asyncio.run(main())

The explicit synchronous client provides the same workflows and raw operation groups:

from riotskillissue import PlatformRoute, SyncRiotClient

with SyncRiotClient(default_route=PlatformRoute.EUW1) as riot:
    print(riot.lol.player_profile("Player#EUW"))

Local MCP server

Install the optional server and run it over stdio:

pip install "riotskillissue[mcp]"
riotskillissue-mcp

The server reads credentials from its environment. API keys and RSO tokens are never tool arguments. Raw write operations are hidden unless RIOT_MCP_ALLOW_WRITES=true; enabled writes still require human confirmation.

League-aware tools assemble Match V5, timeline, player, ranked, mastery, and patch-matched Data Dragon evidence for natural-language questions. For example, riot_lol_match_context can resolve a match directly or from a player's recent history and assess Void Grub captures, trades, and later turret conversion while clearly separating observed telemetry from causal inference. Patch-banded fundamentals cover minion-wave gold and XP, sharing, passive income, structures, objectives, role modifiers, and wave-management opportunity costs. riot_lol_item_economy derives patch-matched raw-stat efficiency from Data Dragon component prices while leaving passives and unrepresented stats unpriced. See the MCP guide for tools, production limits, and data-coverage boundaries.

Coverage and generation

The generated raw API covers every operation in the bundled community-maintained OpenAPI feed. That feed is not an official Riot Games specification. One committed operation registry drives raw dispatch, reference documentation, and MCP discovery.

RiotSkillIssue is not endorsed by Riot Games and does not reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

License

MIT. See LICENSE.

Metadata

Release files for riotskillissue 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for riotskillissue 1.1.2
File Size Uploaded
riotskillissue-1.1.2.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for riotskillissue 1.1.2
File Interpreter ABI Platform
riotskillissue-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / riotskillissue-1.1.2.tar.gz

Download URL riotskillissue-1.1.2.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
13b487e04e83a64290c616dd35c57a4daf8efb75904432bdf44703eb28740cce
BLAKE2b-256 checksum
How to use checksums
c2c91b9f518b8b5fb7f79649d45cd7890aad83d76cccb3c9188162de4af36170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release files / riotskillissue-1.1.2-py3-none-any.whl

Download URL riotskillissue-1.1.2-py3-none-any.whl
Size 205.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4beceb75db77cc1efff6ef029167a983cc54accc662487f2bee7c2f667e7800c
BLAKE2b-256 checksum
How to use checksums
94f3600f3909fb64a8519ff7e7d96496381fe3d458a5dc2869db05066f9d99fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.4

2 release files

1.1.3

2 release files

This release

1.1.2 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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