codeforces-mcp
v0.1.0Codeforces MCP server for competitive programming, upsolving, and automated stress testing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_user_profile
Fetch a Codeforces user's current rating, max rating, rank, and recent verdict breakdown.
| Parameter | Type | Description |
|---|---|---|
handle * | string |
get_problem
Fetch the full problem statement, constraints, and sample test cases for a Codeforces problem.
| Parameter | Type | Description |
|---|---|---|
contest_id * | integer | |
index * | string |
recommend_upsolve_problems
Recommend unsolved Codeforces problems filtered by rating range and optional topic tag.
| Parameter | Type | Description |
|---|---|---|
handle * | string | |
limit | integer | |
max_rating | integer | |
min_rating | integer | |
tag |
test_local_solution
Compile and run a local .cpp or .py file against official Codeforces sample test cases.
| Parameter | Type | Description |
|---|---|---|
contest_id * | integer | |
index * | string | |
source_file * | string |
find_counterexample
Stress test an optimal solution against a brute-force solution using a generator script.
| Parameter | Type | Description |
|---|---|---|
brute_file * | string | |
generator_file * | string | |
optimal_file * | string | |
iterations | integer |