io.github.avinash111921/codeforces-mcp
Codeforces MCP server for competitive programming, upsolving, and automated stress testing.
ماذا يمكنك أن تفعل مع io.github.avinash111921/codeforces-mcp؟
- Profile & Stats: Fetch live user ratings, ranks, and recent verdict breakdowns.
- Problem Scraping: Bypasses Cloudflare to extract full problem descriptions and exact sample test cases.
- Local Sandbox: Compiles and executes C++ or Python solutions locally against official sample inputs.
- Automated Stress Testing: Isolates minimal failing test cases by running your optimized code against a brute-force script and a random generator.
- Rate-Limit Safe: Built-in queuing and caching ensures you never hit the Codeforces API 1-request-per-2-seconds limit.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
codeforces-mcp-avinashclaude mcp add codeforces-mcp -- uvx codeforces-mcp-avinash==0.1.0
{
"mcpServers": {
"codeforces-mcp": {
"command": "uvx",
"args": [
"codeforces-mcp-avinash==0.1.0"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Codeforces MCP Server
A Model Context Protocol (MCP) server for Codeforces competitive programming. This server enables AI coding assistants (like Claude, Cursor, and Cline) to autonomously fetch problem statements, analyze your submission history, recommend upsolving targets, and run automated local stress tests.
Features
- Profile & Stats: Fetch live user ratings, ranks, and recent verdict breakdowns.
- Problem Scraping: Bypasses Cloudflare to extract full problem descriptions and exact sample test cases.
- Local Sandbox: Compiles and executes C++ or Python solutions locally against official sample inputs.
- Automated Stress Testing: Isolates minimal failing test cases by running your optimized code against a brute-force script and a random generator.
- Rate-Limit Safe: Built-in queuing and caching ensures you never hit the Codeforces API 1-request-per-2-seconds limit.
Installation & Usage
You can run this server seamlessly using uvx without manual installation. Add the following configuration to your preferred AI IDE.
Cursor
Add this to your MCP configuration (Settings > Features > MCP):
{
"mcpServers": {
"codeforces-mcp": {
"command": "uvx",
"args": ["codeforces-mcp"]
}
}
}
الأسئلة الشائعة
ما هو io.github.avinash111921/codeforces-mcp؟
Codeforces MCP server for competitive programming, upsolving, and automated stress testing.
كيف أثبّت io.github.avinash111921/codeforces-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add codeforces-mcp -- uvx codeforces-mcp-avinash==0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.avinash111921/codeforces-mcp إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.avinash111921/codeforces-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.avinash111921/codeforces-mcp؟
ينشره avinash111921. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.