user_recent_submissions

Pack: leetcode · Endpoint: https://gateway.pipeworx.io/leetcode/mcp

Recent accepted submissions.

Parameters

NameTypeRequiredDescription
usernamestringyes
limitnumberno

Example call

Arguments

{
  "username": "john_doe",
  "limit": 10
}

curl

curl -X POST https://gateway.pipeworx.io/leetcode/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_recent_submissions","arguments":{"username":"john_doe","limit":10}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('user_recent_submissions', {
  "username": "john_doe",
  "limit": 10
});

More examples

{
  "username": "algorithm_master"
}

Response shape

FieldTypeDescription
recentAcSubmissionListarrayList of recent accepted submissions
Full JSON Schema
{
  "type": "object",
  "properties": {
    "recentAcSubmissionList": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Submission ID"
          },
          "title": {
            "type": "string",
            "description": "Problem title"
          },
          "titleSlug": {
            "type": "string",
            "description": "Problem title slug"
          },
          "timestamp": {
            "type": "string",
            "description": "Submission timestamp"
          }
        }
      },
      "description": "List of recent accepted submissions"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "leetcode": {
      "url": "https://gateway.pipeworx.io/leetcode/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026