A complete, all-in-one MCP (Model Context Protocol) server for Codeforces. Designed to supercharge AI coding assistants like Cline and Claude Desktop.
get_user– Fetch a detailed profile (rating, max rating, last 5 contests, problem stats by difficulty, top 10 categories).compare_user– Side-by-side comparison of two Codeforces users.get_problemlist– Search the entire problemset by rating range, topic tags (AND/OR), and sorting.get_problem– Retrieve the full problem statement, rating, and tags for any specific contest/problem ID.get_practiceproblems– Identify a user's weakest core topics and recommend 3 targeted problems within+300rating.get_random_practice– A completely random problem within+/- 300of a user's current rating.get_upsolve– Analyzes a user's last 10 contests and recommends unsolved problems within their rating range.get_status– Summarizes the last 1000 submissions (AC/WA/TLE counts) and the 20 most recent attempts.
- 🐛 Fixed:
ModuleNotFoundErrorwhen running the server — changed absolute import to relative import inget_problem.py - ✅ Verified: All 8 tools tested and working (get_user, compare_user, get_problemlist, get_problem, get_practiceproblems, get_random_practice, get_upsolve, get_status)
You don't need to clone or manually install anything! Just add this to your cline_mcp_settings.json or mcp.json:
{
"mcpServers": {
"cf-mcp-orange": {
"command": "uvx",
"args": ["cf-mcp-orange"]
}
}
}