user_status
Pack: codeforces · Endpoint: https://gateway.pipeworx.io/codeforces/mcp
Recent submissions for a user.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | yes | |
from | number | no | 1-based start (default 1) |
count | number | no | 1-10000 (default 50) |
Example call
curl -X POST https://gateway.pipeworx.io/codeforces/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_status","arguments":{}}}'
Response shape
Always returns: status
| Field | Type | Description |
|---|---|---|
status | string | Response status (OK or FAILED) |
result | array | Array of submission objects |
comment | string | Error comment (if status is FAILED) |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Response status (OK or FAILED)"
},
"result": {
"type": "array",
"description": "Array of submission objects",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Submission ID"
},
"contestId": {
"type": "number",
"description": "Contest ID"
},
"creationTimeSeconds": {
"type": "number",
"description": "Unix timestamp of submission"
},
"relativeTimeSeconds": {
"type": "number",
"description": "Time since contest start"
},
"problem": {
"type": "object",
"description": "Problem info"
},
"author": {
"type": "object",
"description": "Author/participant info"
},
"programmingLanguage": {
"type": "string",
"description": "Programming language"
},
"verdict": {
"type": "string",
"description": "Verdict (e.g., OK, WA, TLE, etc.)"
},
"testset": {
"type": "string",
"description": "Testset type (SAMPLES, PRETESTS, TESTS)"
},
"passedTestCount": {
"type": "number",
"description": "Number of passed tests"
},
"timeConsumedMillis": {
"type": "number",
"description": "Time consumed in milliseconds"
},
"memoryConsumedBytes": {
"type": "number",
"description": "Memory consumed in bytes"
}
}
}
},
"comment": {
"type": "string",
"description": "Error comment (if status is FAILED)"
}
},
"required": [
"status"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"codeforces": {
"url": "https://gateway.pipeworx.io/codeforces/mcp"
}
}
}
See Getting Started for client-specific install steps.