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 分