Metadata-Version: 2.5
Name: codeforces-mcp-avinash
Version: 0.1.1
Summary: Codeforces MCP server for competitive programming, upsolving, and automated stress testing
Project-URL: Repository, https://github.com/avinash111921/codeforces-mcp
Author-email: Avinash Verma <avinash1921avi@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: beautifulsoup4>=4.12.3
Requires-Dist: curl-cffi>=0.9.0
Requires-Dist: diskcache>=5.6.3
Requires-Dist: httpx>=0.28.0
Requires-Dist: mcp[cli]>=1.4.0
Requires-Dist: pydantic>=2.10.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.25.0; extra == 'dev'
Requires-Dist: pytest>=8.3.0; extra == 'dev'
Requires-Dist: respx>=0.22.0; extra == 'dev'
Description-Content-Type: text/markdown

# 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`):
```json
{
  "mcpServers": {
    "codeforces-mcp": {
      "command": "uvx",
      "args": ["codeforces-mcp"]
    }
  }
}