Skip to main content
Glama
YuchengMaUTK

Unofficial WCA MCP Server

by YuchengMaUTK
ranking.py887 B
"""Ranking and record models.""" from enum import Enum from typing import List from pydantic import BaseModel, Field from .base import PaginatedResponse, RankInfo class RankType(str, Enum): """Type of ranking (single or average).""" SINGLE = "single" AVERAGE = "average" class Rank(BaseModel): """Individual ranking entry.""" rank_type: RankType = Field(..., alias="rankType", description="Type of ranking") person_id: str = Field(..., alias="personId", description="WCA ID of the person") event_id: str = Field(..., alias="eventId", description="Event identifier") best: int = Field(..., description="Best time/score in centiseconds or points") rank: RankInfo = Field(..., description="Ranking positions across regions") # Paginated response types class Ranks(PaginatedResponse[Rank]): """Paginated list of rankings.""" pass

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YuchengMaUTK/unofficial-wca-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server