problemset

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

Problemset + per-problem submission counts. Optional tag filter.

Parameters

NameTypeRequiredDescription
tagsarraynoe.g. [“dp”,“graphs”]
itemsstringno
problemset_namestringnoCustom 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

FieldTypeDescription
statusstringResponse status (OK or FAILED)
resultobjectProblemset result
commentstringError 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.

Regenerated from source · build May 21, 2026