contest_standings
Pack: codeforces · Endpoint: https://gateway.pipeworx.io/codeforces/mcp
Standings (and problem list) for a contest. Optionally filter by handles.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contest_id | number | yes | |
handles | array | no | |
items | string | no | |
from | number | no | |
count | number | no | 1-1000 (default 100) |
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":"contest_standings","arguments":{}}}'
Response shape
Always returns: status
| Field | Type | Description |
|---|---|---|
status | string | Response status (OK or FAILED) |
result | object | Contest standings result |
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": "object",
"description": "Contest standings result",
"properties": {
"contest": {
"type": "object",
"description": "Contest information"
},
"problems": {
"type": "array",
"description": "Array of problems in contest",
"items": {
"type": "object",
"properties": {
"contestId": {
"type": "number",
"description": "Contest ID"
},
"index": {
"type": "string",
"description": "Problem index (A, B, C, etc.)"
},
"name": {
"type": "string",
"description": "Problem name"
},
"type": {
"type": "string",
"description": "Problem type (PROGRAMMING, QUESTION)"
},
"points": {
"type": "number",
"description": "Maximum points"
},
"rating": {
"type": "number",
"description": "Problem difficulty rating"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Problem tags"
}
}
}
},
"rows": {
"type": "array",
"description": "Standings rows (participants)",
"items": {
"type": "object",
"properties": {
"party": {
"type": "object",
"description": "Participant party info"
},
"rank": {
"type": "number",
"description": "Final rank"
},
"points": {
"type": "number",
"description": "Total points scored"
},
"penalty": {
"type": "number",
"description": "Penalty in seconds"
},
"successfulHackCount": {
"type": "number",
"description": "Successful hacks"
},
"unsuccessfulHackCount": {
"type": "number",
"description": "Unsuccessful hacks"
},
"problemResults": {
"type": "array",
"description": "Results per problem",
"items": {
"type": "object"
}
}
}
}
}
}
},
"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.