Skip to main content
Glama

LeetCode MCP Server

get_user_contest_ranking

Retrieve detailed contest ranking data for a LeetCode user, including overall ranking, participation history, and performance metrics across contests.

Instructions

Retrieves a user's contest ranking information on LeetCode, including overall ranking, participation history, and performance metrics across contests

Input Schema

NameRequiredDescriptionDefault
attendedNoWhether to include only the contests the user has participated in (true) or all contests (false); defaults to true
usernameYesLeetCode username to retrieve contest ranking information for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "attended": { "default": true, "description": "Whether to include only the contests the user has participated in (true) or all contests (false); defaults to true", "type": "boolean" }, "username": { "description": "LeetCode username to retrieve contest ranking information for", "type": "string" } }, "required": [ "username" ], "type": "object" }

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/jinzcdev/leetcode-mcp-server'

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