Connects Claude to the Codeforces competitive programming platform through eight read-only API tools. You can pull user profiles and rating histories, browse recent submissions, list contests and their standings, search the problemset with optional tag filters, and view blog entries. Handles batch lookups for up to 10,000 users at once. Built on the Pipeworx gateway, so you can either connect to this standalone server or use the full gateway that includes 673+ other data sources. Useful if you're building coding interview prep tools, analyzing competitive programming trends, or just want Claude to look up contest results and problem statistics without leaving the conversation.
Public tool metadata for what this MCP can expose to an agent.
get_user_statsFetch complete user profile, rating, rank, and solve counts.1 paramsFetch complete user profile, rating, rank, and solve counts.
handlestringget_recent_activityFetch complete the most recently solved Problem , Contest , Points , Link , Tags, by the user.1 paramsFetch complete the most recently solved Problem , Contest , Points , Link , Tags, by the user.
handlestringget_tag_breakdownFetch all accepted submissions for a user and calculate how many unique problems they have solved for each topic tag (e.g., dp, math, greedy).1 paramsFetch all accepted submissions for a user and calculate how many unique problems they have solved for each topic tag (e.g., dp, math, greedy).
handlestringget_best_contest_rankFetch the user's best ever performance (highest rank) in a single Codeforces contest.1 paramsFetch the user's best ever performance (highest rank) in a single Codeforces contest.
handlestringanalyze_weak_topicsIdentify underperforming tags and suggest focus areas based on the user's lowest solve counts.1 paramsIdentify underperforming tags and suggest focus areas based on the user's lowest solve counts.
handlestringget_rating_historyFetch the user's rating changes over time, including their latest contest performances and overall rating trajectory.1 paramsFetch the user's rating changes over time, including their latest contest performances and overall rating trajectory.
handlestringget_virtual_contestSuggest custom practice virtual contests based on the user's rating, excluding ones they have already competed in.1 paramsSuggest custom practice virtual contests based on the user's rating, excluding ones they have already competed in.
handlestringget_recommend_problemsSmart problem suggestions based on the user's current rating and their weakest topic areas.1 paramsSmart problem suggestions based on the user's current rating and their weakest topic areas.
handlestringget_search_problemsSearch the Codeforces problem set by specific tags, minimum rating, and maximum rating.4 paramsSearch the Codeforces problem set by specific tags, minimum rating, and maximum rating.
tagsarraylimitnumbermaxRatingnumberminRatingnumberget_problem_statsFetch deep statistics for a specific Codeforces problem, including its rating, global solve count, and topic tags.2 paramsFetch deep statistics for a specific Codeforces problem, including its rating, global solve count, and topic tags.
indexstringcontestIdnumbercompare_usersCompare two Codeforces users side-by-side, including their ratings, total solves, problem overlap, and unique solves.2 paramsCompare two Codeforces users side-by-side, including their ratings, total solves, problem overlap, and unique solves.
handle1stringhandle2stringCodeforces MCP — public read API.
Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.
| Tool | Description |
|---|---|
user | User profile(s) by handle (up to 10000 semicolon-separated). |
user_rating | Full rating history for a user. |
user_status | Recent submissions for a user. |
contest_list | All contests. Pass gym=true for gym contests. |
contest_standings | Standings (and problem list) for a contest. Optionally filter by handles. |
problemset | Problemset + per-problem submission counts. Optional tag filter. |
recent_actions | Recent global actions feed. |
blog_entry_view | Full blog entry by id. |
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"codeforces": {
"url": "https://gateway.pipeworx.io/codeforces/mcp"
}
}
}
Or connect to the full Pipeworx gateway for access to all 673+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Codeforces data" })
The gateway picks the right tool and fills the arguments automatically.
MIT