AtCoder MCP Server

io.github.ketherworks由 GitHub 帳號 ketherworks 發布v0.1.0更新於 Oct 24, 2026

Search AtCoder problems and fetch public problem statements through MCP.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

一個非官方的 AtCoder MCP 伺服器,讓助理查找並取得公開的歷屆競賽題目敘述。

可以做什麼
回報伺服器支援的匿名唯讀操作與明確不支援的操作,以及本機就緒狀態和最近一次觀測到的 AtCoder 頁面讀取狀態,且不會主動探測上游。將恰好一個競賽/題目標識或標準的 AtCoder 題目 URL 解析為一道題目。以清理過的 HTML 取得單一公開題目敘述,保留數學公式、範例、限制、雜湊與來源資訊。
適用情境
適合以歷屆 AtCoder 題目練習時,讓助理把某道特定題目敘述及其範例取到對話中。不適用於自由文字搜尋、目錄瀏覽、執行程式或提交解答。
執行需求
可使用託管的 HTTP 端點,匿名唯讀請求,無需 API key、Cookie 或評測帳號;也可從原始碼檢出在本機執行,需要 Node.js 22 或更新版本。讀取題目需要連線至 AtCoder 的網路。
安裝前請注意
只接受精確的競賽/題目標識或標準題目 URL,不支援自由文字與目錄爬取。伺服器不提供執行或提交工具,也不接收評測帳號憑證。不要在進行中的 ABC、ARC 或 AGC 競賽期間使用,AtCoder 的生成式 AI 規則通常禁止此類用途;本專案為非官方專案,題目內容仍受 AtCoder 使用條款約束。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AtCoder MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ketherworks%2Fatcoder/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "atcoder": {
      "type": "http",
      "url": "https://api.ksrnyx.top/oj-mcp/atcoder/mcp"
    }
  }
}

README

AtCoder MCP Server

简体中文

Find and read past AtCoder problems through MCP, locally or over hosted HTTP.

Quick Start

Add the hosted server to your MCP configuration:

json
{  "servers": {    "atcoder": {      "type": "http",      "url": "https://api.ksrnyx.top/oj-mcp/atcoder/mcp"    }  }}

The endpoint accepts anonymous read requests. It does not need an API key, Cookie, or judge account.

Then ask:

text
Fetch AtCoder problem abc086_a and show its samples.

What It Can Do

ToolPurpose
oj_capabilitiesReport the available AtCoder read operations and transport.
oj_healthReport process readiness and the latest upstream read.
oj_fetch_problemFetch one past problem by canonical URL or contest/task id.
oj_search_problemsResolve an exact task URL or contest/task identifier.

Run Locally

Requires Node.js 22 or newer.

bash
npm cinpm run checknpm run buildnode packages/atcoder/dist/index.js

MCP client configuration from a source checkout:

json
{  "servers": {    "atcoder": {      "type": "stdio",      "command": "node",      "args": ["/absolute/path/packages/atcoder/dist/index.js"]    }  }}

Tagged GitHub releases attach a standalone npm tarball.

Availability

  • Hosted MCP: https://api.ksrnyx.top/oj-mcp/atcoder/mcp
  • Official MCP Registry: io.github.ketherworks/atcoder, described by server.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

Do not use this server during ongoing ABC, ARC, or AGC contests. AtCoder's current generative-AI rules generally prohibit that use. This project is intended for practice with past problems. It is unofficial and is not affiliated with or endorsed by AtCoder Inc. Problem content remains subject to the AtCoder Terms of Use.

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

bash
npm cinpm run checknpm run pack:checknpm run deploy:dry

License

Adapter source code is MIT licensed. Judge problem content and trademarks are not relicensed by this repository.

來源:README.md,提交 9743892

工具

4

oj_capabilities

AtCoder Provider Capabilities

Report the audited anonymous AtCoder read surface and explicitly unsupported operations.

無需輸入參數。

oj_health

AtCoder Provider Health

Report local readiness and the latest observed AtCoder page-read status without probing upstream.

無需輸入參數。

oj_fetch_problem

Fetch AtCoder Problem

Fetch one public problem statement from an exact contest/task pair or canonical atcoder.jp task URL. Returns sanitized HTML with preserved math, samples, limits, hashes, and source provenance.

無需輸入參數。

oj_search_problems

Find Exact AtCoder Problem

Resolve exactly one contest/task id, atcoder:contest/task id, or canonical task URL. Free-text and catalog crawling are not supported.

輸入參數limit必填query必填localeplatform必填requestId必填schemaVersion必填

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分