
Codeforces MCP Server
io.github.ketherworks由 GitHub 帳號 ketherworks 發布v0.1.0更新於 Nov 2, 2026
Search Codeforces problems and inspect public problem metadata through the official Codeforces API.
概覽
託管式 MCP 伺服器,讓助理透過 Codeforces 官方 API 搜尋題目並檢視公開題目中介資料。
- 可以做什麼
- 依標題、編號、評分或標籤搜尋 Codeforces 官方題庫
- 依編號取得官方題目中介資料,支援 158/A、158A、158-A 等寫法
- 回報可用的唯讀操作與傳輸方式,並查詢服務健康狀態及最近一次官方 API 觀測結果
- 適用情境
- 適合讓助理依難度或標籤尋找練習題,或查詢某道 Codeforces 題目的詳細資訊,不必離開對話。
- 執行需求
- 遠端 streamable HTTP 端點;匿名唯讀請求不需 API 金鑰、Cookie 或評測帳號。若改從原始碼本機執行,需要 Node.js 22 或更新版本。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Codeforces MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.ketherworks%2Fcodeforces/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"codeforces": {
"type": "http",
"url": "https://codeforces-oj-mcp.lantangtang54.workers.dev/mcp"
}
}
}README
Codeforces MCP Server
Search official Codeforces problem metadata through a small MCP server.
Quick Start
Add the hosted server to your MCP configuration:
The endpoint accepts anonymous read requests. It does not need an API key, Cookie, or judge account.
Then ask:
What It Can Do
Run Locally
Requires Node.js 22 or newer.
MCP client configuration from a source checkout:
Tagged GitHub releases attach a standalone npm tarball.
Availability
- Hosted MCP:
https://codeforces-mcp.ksrnyx.top/mcp - Official MCP Registry:
io.github.ketherworks/codeforces, described byserver.json - Health status: see the repository homepage or call
oj_health
Source and Safety
This standalone release is generated from the reviewed Competitive Programming MCP source. The release package bundles the shared OJ contract implementation, so its runtime does not depend on unpublished workspace packages.
Platform Rules
This project is unofficial and is not affiliated with or endorsed by Codeforces.
The server exposes no run or submit tool. It accepts no judge account credentials. See SECURITY.md for the security boundary and PROVENANCE.md for the canonical source revision.
Development
License
Adapter source code is MIT licensed. Judge problem content and trademarks are not relicensed by this repository.
來源:README.md,提交 c34dbcc
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分