Skip to main content

Codeforces MCP Server

A Model Context Protocol (MCP) server for Codeforces competitive programming. This server enables AI coding assistants (like Claude, Cursor, and Roo Code / 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: Extracts 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.

Installation

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"]
    }
  }
}

Metadata

Release files for codeforces-mcp-avinash 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codeforces-mcp-avinash 0.1.3
File Size Uploaded Provenance Actions
codeforces_mcp_avinash-0.1.3.tar.gz 15.6 MB Without provenance Details for codeforces_mcp_avinash-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codeforces-mcp-avinash 0.1.3
File Interpreter ABI Platform Actions
codeforces_mcp_avinash-0.1.3-py3-none-any.whl Python 3 none any Details for codeforces_mcp_avinash-0.1.3-py3-none-any.whl

Total release size: 15.6 MB

Release files / codeforces_mcp_avinash-0.1.3.tar.gz

Download URL codeforces_mcp_avinash-0.1.3.tar.gz
Size 15.6 MB
Tags Source
SHA-256 checksum
How to use checksums
db36b989201b801c54179ab1c8d0b1c9c1900504ff414481fa07877cd1b3b108
BLAKE2b-256 checksum
How to use checksums
84a29a5eb421770cb17d28d50161316e375e9b51cc7bba0acc273773def442bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / codeforces_mcp_avinash-0.1.3-py3-none-any.whl

Download URL codeforces_mcp_avinash-0.1.3-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fdaf0747017bba64da3bc1b14dc7b02e54d215a7157a7432cfa87dd0c0015c2
BLAKE2b-256 checksum
How to use checksums
1d78fb20e268ecc67bf5517de7581fe8e314513c3cb7d0c93bc04424e6278eb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Security for codeforces-mcp-avinash 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page