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

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.2
File Size Uploaded Provenance Actions
codeforces_mcp_avinash-0.1.2.tar.gz 10.3 kB Without provenance Details for codeforces_mcp_avinash-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 22.6 kB

Release files / codeforces_mcp_avinash-0.1.2.tar.gz

Download URL codeforces_mcp_avinash-0.1.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36a9efd05e83b75cba232a01593787ead9a7d34810ba3b2c3be751c021b4a14d
BLAKE2b-256 checksum
How to use checksums
ecada3a471ba3f87e5cf8162a320d967a00efbe4e7e45b8b1f47866f010a747b
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.2-py3-none-any.whl

Download URL codeforces_mcp_avinash-0.1.2-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
542aaf69332d3f1ddcd373acd86eafdcd8f4e9d710a59deb3eec0193abdbccf8
BLAKE2b-256 checksum
How to use checksums
ab13b86863689cff837e6013bae20954c574959c230d9c47113f52acc1b5f602
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.2

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