Codeforces
v0.2.1Codeforces MCP — public read API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
user
User profile(s) by handle (up to 10000 semicolon-separated).
| Parameter | Type | Description |
|---|---|---|
handles * | array | 1-10000 handles |
user_rating
Full rating history for a user.
| Parameter | Type | Description |
|---|---|---|
handle * | string |
user_status
Codeforces competitive-programming API — the submission history of one Codeforces handle, newest first, paged with from/count. Each submission carries the contest and problem it targeted, the judge verdict (OK, WRONG_ANSWER, TIME_LIMIT_EXCEEDED), programming language, runtime and memory consumed. Answers which problems a Codeforces user attempted lately and whether they passed.
| Parameter | Type | Description |
|---|---|---|
handle * | string | |
count | number | 1-10000 (default 50) |
from | number | 1-based start (default 1) |
contest_list
All contests. Pass gym=true for gym contests.
| Parameter | Type | Description |
|---|---|---|
gym | boolean |
contest_standings
Codeforces competitive-programming API — the final scoreboard of one Codeforces round: every participant's rank, handle, total points, penalty, hack counts and per-problem results, plus the contest metadata and its problem list with difficulty ratings and tags. Answers who won a Codeforces contest, where a given handle placed, and which problems the round contained.
| Parameter | Type | Description |
|---|---|---|
contest_id * | number | Non-gym contest id, e.g. 1000. Gym contests need an authenticated Codeforces API key, which this keyless pack does not hold. |
count | number | 1-1000 rows to return (default 100) |
from | number | 1-based rank to start at (default 1) |
handles | array | Keep only rows containing these handles. Applied by this pack after fetching, because Codeforces rejects the upstream filter on public standings. |
problemset
Problemset + per-problem submission counts. Optional tag filter.
| Parameter | Type | Description |
|---|---|---|
problemset_name | string | Custom problemset (rarely used). |
tags | array | e.g. ["dp","graphs"] |
recent_actions
Codeforces competitive-programming site — the global recent-actions feed, the newest blog entries and comments posted anywhere on Codeforces. Each action returns its timestamp plus the blog entry (title, author handle, rating) or comment text it refers to. Answers what the Codeforces community is posting and discussing right now.
| Parameter | Type | Description |
|---|---|---|
max_count | number | 1-100 (default 30) |
blog_entry_view
Full blog entry by id.
| Parameter | Type | Description |
|---|---|---|
blog_id * | number |