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.1

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

Built distribution (wheel)

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

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

Download URL codeforces_mcp_avinash-0.1.1-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7fd13be772a843ebfef76a41ba2a6ac6d520620bd92f35473c1673ee3f24fc2
BLAKE2b-256 checksum
How to use checksums
57f859f47c9a2a9bdbe5eb6133ba7e2a3eb0bb564e1ff9444bbed7c73e69adc1
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.1

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