codeforces-mcp
codeforces-mcp
コーディングエージェントにCodeforcesの練習データへのアクセスを提供するMCPサーバーです。自分の弱点タグを把握し、まだ解いていない問題を見つけるのに役立ちます。
このサーバーは読み取り専用で、公開のCodeforces APIを使用し、Codeforcesの認証は必要ありません。VS Code Copilot、Claude Desktop/Code、およびstdioサーバーをサポートするその他のMCP互換クライアントで動作します。
機能
レーティングとタグで問題を検索し、オプションでユーザーが解いた問題を除外できます。
ハンドルのタグを、正解率と平均正解レーティングでランク付けします。
最近の提出を確認し、判定でフィルタリングします。
ユーザーのプロフィールとレーティング履歴を確認します。
開催予定のコンテストを一覧表示します。
結果を読みやすいMarkdownまたは構造化されたJSONで返します。
上流のレスポンスをローカルにキャッシュし、控えめなリクエストレートを適用します。
Related MCP server: DevAssist MCP Server
要件
Python 3.10以降
ユーザー固有のツールに使用するCodeforcesハンドル
VS Code(GitHub Copilot Agentモード)、Claude、またはその他のMCP対応クライアント
APIキーは不要です。
インストール
リポジトリをクローンして仮想環境を作成します:
git clone https://github.com/<owner>/codeforces-mcp.git
cd codeforces-mcp
python -m venv .venv仮想環境を有効にします:
# Windows PowerShell
.\.venv\Scripts\Activate.ps1# macOS/Linux
source .venv/bin/activateパッケージをインストールします:
python -m pip install -e .開発のために、テスト用とlint用の依存関係もインストールします:
python -m pip install -e ".[dev]"インストールすると、仮想環境内に codeforces-mcp コマンドが作成されます。
VS Code Copilot で使用する
リポジトリには .vscode/mcp.json のワークスペース設定が含まれています。Windowsでは、チェックアウトしたvenvを直接参照できます:
{
"servers": {
"codeforces": {
"type": "stdio",
"command": "E:\\path\\to\\codeforces-mcp\\.venv\\Scripts\\codeforces-mcp.exe"
}
}
}パスは、実際にクローンした場所に置き換えてください。macOS/Linuxでは次のようにします:
{
"servers": {
"codeforces": {
"type": "stdio",
"command": "/path/to/codeforces-mcp/.venv/bin/codeforces-mcp"
}
}
}VS Codeでの手順:
コマンドパレットから
MCP: Open Workspace Folder Configurationを実行します。各コードサーバーのエントリを追加または更新します。
Copilot Chatを開き、Agent モードに切り替えます。
ツールメニューを開き、codeforcesサーバーを起動または有効にし、ツールを許可します。
その後、Copilot に次のように依頼します:
ハンドル
3.141fについて、レーティング1300〜1500の未解決のDP問題を5つ見つけてください。
サーバーはstdioを使用するため、VS Codeは必要に応じてサーバーを起動・停止します。Copilot が接続している間は、手動でコピーを起動しないでください。
Claude で利用する
venvを有効にした後、Claude Code にコマンドを登録します:
claude mcp add codeforces -- codeforces-mcpコマンドがPATHにない場合は、実行ファイルを直接使用します:
claude mcp add codeforces -- .\.venv\Scripts\codeforces-mcp.exemacOS/Linuxで対応するコマンドは次のとおりです:
claude mcp add codeforces -- .venv/bin/codeforces-mcpツール
すべてのツールは読み取り専用で、response_format に対応しています。response_format は "markdown"(デフォルト)または "json" です。
codeforces_search_problems
問題を易しい順に見つけます。exclude_solved_by を設定すると、そのハンドルで判定が OK の問題を非表示にできます。
パラメータ | デフォルト | 説明 |
| なし | 最小レーティング(800〜3500) |
| なし | 最大レーティング(800〜3500) |
|
| 最大10個のCodeforcesタグ |
|
|
|
| なし | 解いた問題を除外するCodeforcesハンドル |
|
| 結果の件数(1〜100) |
|
| スキップする一致結果の件数 |
|
|
|
リクエスト例:
Find 5 unsolved dp problems rated 1300-1500 for 3.141f.同等の引数:
{
"min_rating": 1300,
"max_rating": 1500,
"tags": ["dp"],
"exclude_solved_by": "3.141f",
"limit": 5
}タグのパフォーマンス
ハンドルのタグごとに試行回数・正解数・正解率・レーティングを計算します。結果は正解率が低い順に並びます。min_attempted を設定すると、試行回数が非常に少ないサンプルがランキングを支配しないようにできます。
{
"handle": "3.141f",
"min_attempted": 8,
"response_format": "markdown"
}codeforces_recent_submissions
ハンドルの最新の提出を一覧表示します。verdict に WRONG_ANSWER、TIME_LIMIT_EXCEEDED、OK などを指定すると、一覧をフィルタリングできます。
{
"handle": "3.141f",
"verdict": "WRONG_ANSWER",
"limit": 10
}codeforces_user_profile
ハンドルの現在のレーティング、最大レーティング、ランク、所属組織を表示します。
{
"handle": "3.141f"
}codeforces_rating_history
コンテストごとのレーティング変化を古い順に表示します。limit を設定すると、直近のコンテストのみを返します。
{
"handle": "3.141f",
"limit": 10
}codeforces_upcoming_contests
開始前のコンテストを、開催が近い順に一覧表示します。
{
"limit": 5
}出力例
**5 of 208 matching problems** (offset 0, more available)
| Rating | Problem | Tags | Link |
| --- | --- | --- | --- |
| 1300 | 189A - Cut Ribbon | brute force, dp | https://codeforces.com/problemset/problem/189/A |
| 1300 | 234C - Weather | dp, implementation | https://codeforces.com/problemset/problem/234/C |
| 1300 | 416B - Art Union | brute force, dp, implementation | https://codeforces.com/problemset/problem/416/B |JSON形式には、アプリケーションが結果をプログラム的に処理するための、同じ型付きデータが含まれています。
キャッシュとレート制限
Codeforces API は約2秒に1リクエストのペースを推奨しています。クライアントはレート制限を適用し、レスポンスをデフォルトで ~/.cache/codeforces-mcp に保存します。キャッシュの有効期間はデータの更新頻度を反映し、問題セットは6時間、提出は5分、ユーザープロフィールは1時間です。
トラブルシューティング
サーバーが起動しない
MCP設定で使用している環境に実行ファイルが存在するか確認してください:
Test-Path .\.venv\Scripts\codeforces-mcp.exe./.venv/bin/codeforces-mcp別のvenvにインストールした場合は、mcp.json の command パスを更新してください。
Codeforces がエラーを返す
ハンドルの表記を確認し、少し待ってから再度試してください。サーバーは、対応可能なCodeforcesのエラーコメントをクライアントにそのまま渡します。公開APIが一時的にレート制限されたり、利用できない場合もあります。
開発
変更を送信する前に、決定論的チェックを実行してください:
ruff check .
mypy src/
pytest tests/contract -q
python eval/run_eval.pyライブテストはCodeforces に実アクセスするため、オプトインです:
pytest -m live -qローカルコミット日の書き換え
リポジトリには、現在のブランチのすべてのコミットを2026年7月14日と15日付に書き換える rebase-commits-to-july.sh が含まれています。実行前に、バックアップ用ブランチを作成します:
bash rebase-commits-to-july.sh作業ツリーがクリーンであることと、スクリプトを名前付きブランチから実行することが必要です。コミットIDが書き換わるため、共有ブランチでは他の関係者の合意なしに使用しないでください。元の最新コミットに戻すには、スクリプトが表示したバックアップブランチを使用してください:
git reset --hard backup/pre-date-rebase-<timestamp>ツールの動作を変更する前に、SPEC.md を読んでください。この文書には契約と受け入れ条件が定義されており、各条件には対応するテストテストがあります。
プロジェクト構成
パス | 用途 |
| HTTPクライアント、キャッシュ、レート制限 |
| 型付きの入出力モデル |
| MCPに依存しないツールロジック |
| MCPの登録とフォーマット |
| オフラインのフィクスチャを用いた契約テスト |
| オプトインの上流変動テスト |
| エージェントの動作評価ケース |
コントリビューション
バグや変更提案は issue を開いてください。
動作を変更する前に
SPEC.mdとその契約テストを更新してください。ツールのロジックは
src/codeforces_mcp/tools/内でMCPのインポートなしに保ってください。開発チェックを実行して、関連するそのテスト出力をプルリクエストに含めてください。
仮想環境、キャッシュ、ビルド成果物、個人データを含むAPI録音データはコミットしないでください。リポジトリの .gitignore は
Available Tools
6 toolscodeforces_rating_historyARead-onlyIdempotent
Contest-by-contest rating changes for a handle, oldest first, with deltas.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Return only the most recent N contests | |
| handle | Yes | Codeforces handle, e.g. '3.141f' | |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering safety and idempotency. The description adds the ordering and delta details, which is useful but minimal. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence conveys the core purpose without wasted words. It efficiently conveys the resource, ordering, and the deltas detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one required parameter, full schema coverage, and an output schema, the description sufficiently explains the purpose. The only minor gap is that it doesn't describe return format specifics, but the output schema covers that need.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and all parameters (handle, limit, response_format) already have descriptions. The tool description does not add meaning beyond the schema, so the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches contest-by-contest rating changes for a given handle, specifies ordering (oldest first), and includes deltas. This distinguishes it from sibling tools like user_profile (overall rating) and recent_submissions (submissions).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention when not to use it, nor does it reference sibling tools. Users are left to infer suitable contexts from the purpose alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codeforces_recent_submissionsARead-onlyIdempotent
List a handle's most recent submissions, newest first.
Filter by verdict to pull up recent failures for review. Each row links to the
submission on Codeforces so the code itself can be read.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum submissions to return | |
| handle | Yes | Codeforces handle, e.g. '3.141f' | |
| verdict | No | Filter by verdict, e.g. 'WRONG_ANSWER', 'TIME_LIMIT_EXCEEDED', 'OK' | |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only and non-destructive behavior. The description adds useful behavioral context: results are ordered newest first, and each row links to the submission on Codeforces so the code can be read. This goes beyond what annotations alone provide and contains no contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a tight two sentences with no redundant words. The primary purpose is front-loaded in the first sentence, and the second sentence adds a focused filtering tip and a detail about links to code. Each sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the 100% schema coverage, existing annotations, and presence of an output schema, the description fills the remaining gaps: ordering, the verdict filter use case, and the link-to-code behavior. An agent has everything needed to decide when to call and how to interpret results, though one could imagine explicit exclusion of sibling tools, which is not necessary here.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already documents all four parameters with clear descriptions (100% coverage), so the description does not need to explain them. It does add a practical tip for the 'verdict' parameter (using it to review failures), but adds nothing for 'limit' or 'response_format' beyond what the schema states. This matches the baseline for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb ('List') and resource ('a handle's most recent submissions') and specifies order ('newest first'). It is clearly distinct from sibling tools that deal with problems, ratings, contests, and user profiles, so an agent can differentiate without ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides a concrete, actionable use case ('Filter by verdict to pull up recent failures for review') that tells an agent when this tool is appropriate. It does not explicitly mention alternatives or when not to use it, but the purpose is specific enough that no exclusions are necessary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codeforces_search_problemsARead-onlyIdempotent
Find Codeforces problems by rating band and tags, easiest first.
Set exclude_solved_by to a handle to hide problems that handle has already solved.
The Codeforces website cannot express that filter, which is the main reason to reach
for this tool: it turns "problems tagged dp rated 1300-1500" into "problems I could
actually still practise".
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Codeforces tags, e.g. ['dp','greedy']. Empty means any. | |
| limit | No | Maximum problems to return | |
| offset | No | Problems to skip, for pagination | |
| max_rating | No | Highest problem rating, inclusive | |
| min_rating | No | Lowest problem rating, inclusive | |
| tags_match | No | 'any' = at least one tag, 'all' = every tag | any |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
| exclude_solved_by | No | Hide problems this handle already solved, e.g. '3.141f' |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already carry readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds behavioral value: the 'easiest first' ordering and the semantic of exclude_solved_by. It does not contradict annotations and adds useful context beyond the structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise paragraphs, the first stating the core purpose and the second adding the key differentiator. Every sentence earns its place, and the critical filter is highlighted up front. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with an output schema, the description covers all essential behavior: rating band, tags, ordering, and the unique exclude filter. Nothing an agent needs to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema documents every parameter. The description adds meaning beyond the schema for exclude_solved_by, explaining its practical significance and why it's the main reason to use this tool. That lifts it above the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear verb+resource statement: 'Find Codeforces problems by rating band and tags, easiest first.' It specifies the criteria and ordering, and its function is immediately distinguishable from the sibling tools (which cover performance, submissions, profiles, history, and contests).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains when to reach for this tool by highlighting the unique value of the exclude_solved_by filter that 'the Codeforces website cannot express.' This gives a concrete use case, but it does not explicitly contrast with sibling tools or state exclusions, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codeforces_tag_performanceARead-onlyIdempotent
Rank a handle's problem tags by solve rate, weakest first.
Computed from full submission history and deduplicated per problem, so grinding one problem twelve times counts once. Use it to decide what to practise: the lowest solve rates with a meaningful number of attempts are the real gaps. Codeforces exposes no endpoint for this.
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Codeforces handle, e.g. '3.141f' | |
| min_attempted | No | Ignore tags with fewer attempts than this, so a 0/1 tag cannot top the weakness ranking | |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent annotations, the description discloses important behavioral details: computation from full submission history, deduplication per problem (so repeated attempts count once), and the emphasis on 'meaningful number of attempts' via min_attempted. This adds context not present in annotations, making invocation expectations clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, each earning its place: the first states the core purpose, the second explains the computational nuance, and the third gives practical usage guidance. The purpose is front-loaded, and there is no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only analysis tool with an output schema (not shown but present), the description fully covers what the tool does, how results are derived, and when to use it. It omits nothing an agent needs to select and invoke the tool correctly; remaining details like response_format are handled by the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All parameters are fully described in the schema (100% coverage), so the baseline of 3 applies. The description adds a minor tie-in by referring to 'meaningful number of attempts' which aligns with min_attempted, but it does not provide new semantic details beyond the schema definitions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Rank a handle's problem tags by solve rate, weakest first') with a clear resource (problem tags of a handle). It distinguishes from siblings by specifying the computed nature and the lack of a Codeforces endpoint, which other tools likely do not cover.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear use context ('Use it to decide what to practise') and explains the deduplication logic that affects ranking. It does not explicitly name alternatives or state when not to use it, but it does imply uniqueness by noting Codeforces exposes no endpoint for this, giving adequate guidance for choosing it over similar tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codeforces_upcoming_contestsARead-onlyIdempotent
Contests that have not started yet, soonest first, with start time and duration.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum contests to return | |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover safety (readOnly, idempotent, non-destructive). The description adds behavioral context beyond those annotations by specifying that results are sorted soonest first and include start time and duration. This tells the agent exactly what to expect in the output, which is valuable. No additional behavioral disclosures (e.g., pagination, rate limits) are necessary for such a simple read-only tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that leads with the essential information ('Contests that have not started yet') and includes ordering and output fields. No fluff, no redundant wording. It is appropriately sized and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with an output schema present, so return values do not need to be described. Annotations cover safety, and the description covers the core behavior. Sibling tools are clearly differentiated. For an agent to invoke this tool correctly, it has all necessary information: what it returns, how it sorts, and the parameter constraints are in the schema. No gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%: both parameters (limit and response_format) have clear descriptions in the schema. The tool description does not add any extra meaning to the parameters. Since the schema already fully documents them, the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb+resource: it lists contests that haven't started, with a specific ordering (soonest first) and the fields included (start time and duration). This distinguishes it sharply from sibling tools like codeforces_search_problems or codeforces_rating_history, which serve entirely different purposes. There is no ambiguity about what this tool returns.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage: it is for upcoming contests. However, it does not explicitly mention when to use it versus alternatives or any exclusions. Sibling tools are clearly different, so the context is obvious, but there is no explicit routing guidance. This fits the 'implied usage' level.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codeforces_user_profileARead-onlyIdempotent
Public profile for a Codeforces handle: rating, max rating, rank, organization.
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | Codeforces handle, e.g. '3.141f' | |
| response_format | No | 'markdown' for a readable table, 'json' for structured data | markdown |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds that the profile is 'public' and enumerates the data fields, which is slightly beyond annotations but does not disclose other behaviors like error handling or data freshness. With annotations present, the added value is moderate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single focused sentence that front-loads the core purpose and lists key fields. There is no redundancy or filler; every word contributes to understanding what the tool does.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only profile tool, the description is nearly complete. The output schema exists, so return values don't need explanation. The description could mention the lack of filtering or performance implications, but given the straightforward nature and other structured metadata, the information is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema provides full descriptions for both parameters (handle with example, response_format with explanation). The description adds no additional parameter-specific meaning, so the baseline of 3 applies given 100% schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves a public profile for a Codeforces handle and lists the specific fields returned (rating, max rating, rank, organization). This is a distinct purpose, easily differentiated from siblings like rating_history or recent_submissions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for getting profile data but does not provide explicit when-to-use guidance or contrast with sibling tools such as codeforces_rating_history (for historical trends) or codeforces_search_problems. No exclusions or alternatives are mentioned, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.1.0- First observed
codeforces_rating_history - First observed
codeforces_recent_submissions - First observed
codeforces_search_problems - First observed
codeforces_tag_performance - First observed
codeforces_upcoming_contests - First observed
codeforces_user_profile
TDQS
Scored across 6 tools
Each tool targets a distinct concern: problem search, tag-based performance analytics, recent submissions, user profile, rating history, and upcoming contests. There is no meaningful overlap or ambiguity between any pair of tools.
All names share the codeforces_ prefix and use snake_case, which makes them easy to predict and group. The pattern is not strictly verb_noun throughout, but the deviations are minor and do not hurt readability.
Six tools is a well-scoped size for a Codeforces companion server. Each tool covers a meaningful aspect of Codeforces usage without redundancy or bloat.
The surface covers the main Codeforces workflows: finding problems, analyzing weaknesses, reviewing submissions, checking profile progression, and seeing upcoming contests. A direct problem-statement or contest-problem listing tool would improve completeness, but the current set has no critical dead ends.
Maintenance
Related MCP Connectors
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Remote MCP learning coach for coding agents.
Knowledge Network for AI Agents and creators: Search, rate, and review programming guides via MCP
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA complete, all-in-one MCP server for Codeforces, enabling AI assistants to access user profiles, compare users, search problems, get practice recommendations, and more.83MIT
- AlicenseNot gradedqualityCmaintenanceA production-ready MCP server for GitHub and competitive programming (Codeforces) that enables AI assistants to fetch user profiles, repository stats, contest history, and personalized problem recommendations.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access Codeforces public data (users, contests, problems, etc.) via natural language or direct tool calls through Pipeworx gateway.255 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables analyzing Codeforces activity through local MCP tools, including weekly practice summaries, problem recommendations, user comparisons, weak-topic detection, contest tracking, and rating progress.-