Baekjoon MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Baekjoon MCP Server give me a hint for problem 1000"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Baekjoon MCP Server (beakjoon-mcp)
백준 온라인 저지(BOJ) 문제를 분석하고 사용자에게 힌트, 정답 코드, 테스트 케이스 등을 제공하는 Model Context Protocol (MCP) 서버입니다.
사용 가능한 도구 (Available Tools)
도구 이름 (Tool Name) | 설명 (Description) | 파라미터 (Parameters) |
| 문제의 핵심 아이디어와 알고리즘 분류 힌트를 제공합니다. |
|
| 문제 분석, 복잡도 계산, 최적 정답 코드를 제공합니다. |
|
| 엣지 케이스를 포함한 추가 테스트 케이스를 생성합니다. |
|
| 사용자 코드를 분석하여 개선된 코드를 제안합니다. |
|
Related MCP server: OnlineGDB MCP Server for C++ Code Execution
MCP 클라이언트 설정 (e.g., Claude Desktop)
Claude Desktop과 같은 MCP 클라이언트에서 이 서버를 사용하려면, 클라이언트의 설정 파일에 아래와 같이 서버 정보를 추가해야 합니다.
mcp_servers 설정 예시:
{
"mcpServers": {
"beakjoon-mcp": {
"command": "node",
"args": [
"C:/Users/your-user/path/to/beakjoon-mcp/dist/index.js"
],
"options": {
"cwd": "C:/Users/your-user/path/to/beakjoon-mcp"
}
}
}
}주의:
args와cwd의 경로는 실제 프로젝트가 위치한 절대 경로로 수정해주세요.
Available Tools
4 toolsanswerB
백준 문제 ID를 받아 문제 분석, 복잡도 계산, 그리고 C++ 및 JavaScript로 작성된 최적의 정답 코드를 제공합니다.
Inputs: problemId (required).
hintA
백준 문제 ID를 받아 문제의 핵심 아이디어와 알고리즘 분류 힌트를 제공합니다. 정답 코드는 제공하지 않습니다.
Inputs: problemId (required).
refactorB
백준 문제 ID와 사용자 코드를 받아, 코드 스타일, 가독성, 효율성을 분석하고 개선된 리팩토링 코드를 제안합니다.
Inputs: userCode (required), problemId (required).
testcaseB
백준 문제 ID를 받아 기본 예제 외에 엣지 케이스를 포함한 추가 테스트 케이스 3~5개를 생성합니다.
Inputs: problemId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool serves a clearly distinct purpose: hints without code, full solution with code, test case generation, and code refactoring. There is no overlap in functionality, so an agent can easily select the right tool.
All tool names are single lowercase words with no separators or mixed conventions. The pattern is consistent and readable, even though they are not verb_noun.
Four tools are well-scoped for a problem-solving assistant. Each tool covers a unique stage of the workflow, and the count is neither too thin nor too heavy.
The set covers hinting, solving, testing, and refactoring, which is a complete assistance loop. However, it lacks a tool to retrieve the problem statement itself or to execute code against generated test cases, which are minor gaps.
Related MCP Connectors
Search Luogu problems, fetch statements, explore problem sets and get practice recommendations.
Supported Balatro scoring and exact small-deck play/discard analysis with verified explanations.
Search Codeforces problems and inspect public problem metadata through the official Codeforces API.
Search AtCoder problems and fetch public problem statements through MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access solved.ac user profiles and search Baekjoon Online Judge problems by difficulty, tags, and keywords through the solved.ac API.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to execute C++ code, test solutions against multiple test cases, analyze performance, and generate test cases using OnlineGDB's online compiler. Perfect for solving competitive programming problems with iterative self-correction capabilities.2MIT
- AlicenseAqualityDmaintenanceAn MCP toolkit for algorithm learning that enables AI agents to search problems, generate step-by-step hints, analyze code, and create review templates for Baekjoon and Programmers problems.1660 npm1MIT
- AlicenseAqualityDmaintenanceUnofficial MCP server for searching and recommending Baekjoon (BOJ) problems using the solved.ac API.103MIT