Skip to main content
Glama

LeetCode MCP Server

get_recent_submissions

Retrieve detailed metadata on recent LeetCode submissions by a specific user, including both accepted and failed attempts, using a LeetCode MCP Server integration.

Instructions

Retrieves a user's recent submissions on LeetCode Global, including both accepted and failed submissions with detailed metadata

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of submissions to return (optional, defaults to server-defined limit)
usernameYesLeetCode username to retrieve recent submissions for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "limit": { "default": 10, "description": "Maximum number of submissions to return (optional, defaults to server-defined limit)", "type": "number" }, "username": { "description": "LeetCode username to retrieve recent submissions 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