problemset
Pack: codeforces · Endpoint: https://gateway.pipeworx.io/codeforces/mcp
Problemset + per-problem submission counts. Optional tag filter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tags | array | no | e.g. [“dp”,“graphs”] |
items | string | no | |
problemset_name | string | no | Custom problemset (rarely used). |
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":"problemset","arguments":{}}}'
Response shape
Always returns: status
| Field | Type | Description |
|---|---|---|
status | string | Response status (OK or FAILED) |
result | object | Problemset 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": "Problemset result",
"properties": {
"problems": {
"type": "array",
"description": "Array of problems",
"items": {
"type": "object",
"properties": {
"contestId": {
"type": "number",
"description": "Contest ID"
},
"problemsetName": {
"type": "string",
"description": "Problemset name"
},
"index": {
"type": "string",
"description": "Problem index"
},
"name": {
"type": "string",
"description": "Problem name"
},
"type": {
"type": "string",
"description": "Problem type"
},
"points": {
"type": "number",
"description": "Points"
},
"rating": {
"type": "number",
"description": "Difficulty rating"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Problem tags"
}
}
}
},
"problemStatistics": {
"type": "array",
"description": "Submission statistics per problem",
"items": {
"type": "object",
"properties": {
"contestId": {
"type": "number",
"description": "Contest ID"
},
"index": {
"type": "string",
"description": "Problem index"
},
"solvedCount": {
"type": "number",
"description": "Number of solves"
},
"totalSubmissions": {
"type": "number",
"description": "Total submissions"
}
}
}
}
}
},
"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.