Skip to main content
Glama
YuchengMaUTK

Unofficial WCA MCP Server

by YuchengMaUTK

get_wca_events

Retrieve official World Cube Association speedcubing events with their IDs, names, and formats for competition data access.

Instructions

Get all official WCA events.

Returns a list of all official World Cube Association events including event IDs, names, and formats.

Returns: List of WCA events with their details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function implementing the get_wca_events tool. Decorated with @mcp.tool() for automatic registration in FastMCP. Fetches official WCA events via WCAAPIClient.get_events() and handles errors.
    @mcp.tool() async def get_wca_events() -> List[Dict[str, Any]]: """Get all official WCA events. Returns a list of all official World Cube Association events including event IDs, names, and formats. Returns: List of WCA events with their details """ try: async with WCAAPIClient() as client: events = await client.get_events() return events except APIError as e: raise Exception(f"Failed to fetch WCA events: {e}") except Exception as e: raise Exception(f"Unexpected error fetching WCA events: {e}")

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