handson-coding
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., "@handson-codingRecord my attempt for 'Two Sum' in Python"
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.
손코딩 연습 기록·분석 MCP
LeetCode·Kaggle 등에서 푼 문제와 답안을 누적 저장하고 약한 유형을 분석하는 개인용 MCP 도구. 부가로 host LLM의 임시 판정과 플랫폼 최종 결과를 비교해 LLM 오판을 유형별 교정 규칙으로 점진 개선한다.
설계 원칙: 직접 짤 코드는 최소화. MCP 도구는 "저장/조회"만, 판정·태그 추출·규칙 텍스트 생성은 host LLM이 한다.
구성
schema.sql— 3 테이블 (problems / attempts / judge_corrections)tags.py— 고정 태그 어휘(enum) + 검증server.py— FastMCP 서버, 도구 5개smoke_test.py— 엔드투엔드 테스트 (python smoke_test.py)
Related MCP server: AI Workbench MCP
설치
pip install -r requirements.txtDB 파일은 기본적으로 server.py 옆 handson.db에 생성된다. 바꾸려면 환경변수 HANDSON_DB_PATH 지정.
Claude Code / 데스크톱에 등록
claude_desktop_config.json (또는 .mcp.json)의 mcpServers에 추가:
{
"mcpServers": {
"handson-coding": {
"command": "python",
"args": ["C:/Users/JuniBecky/Downloads/handson-mcp/server.py"],
"env": { "HANDSON_DB_PATH": "C:/Users/JuniBecky/Downloads/handson-mcp/handson.db" }
}
}
}도구
도구 | 역할 |
| 문제 upsert(platform+name) + 시도 1건 저장. attempt_no 자동 부여 |
| 플랫폼 최종 결과 반영. 오판이면 |
| type_tags 매칭 교정 규칙을 evidence_count 순으로 조회 (판정 전 주입) |
| 오판에서 도출한 규칙 추가/병합 (evidence_count 증가) |
| 사전 정의 분석 쿼리 실행 |
analyze 쿼리: overview, topic_error_rate, hint_improvement, mistake_frequency,
llm_misjudgment_rate, time_trend, misjudgments
워크플로우 (host LLM 대화 안에서)
문제 + 초안 답안 입력
host LLM이
get_corrections(type_tags)로 교정 규칙을 읽고 → 임시 판정(아래 프롬프트)record_attempt(..., llm_verdict, platform_result="pending")플랫폼에 실제 제출 → 결과 회수
update_platform_result(...)→misjudged=True면 host가 규칙 도출해add_correction(오답 시) 힌트 → 다시 풂 →
record_attempt(with_hint=True)→ 재검증analyze로 누적 분석
판정 프롬프트 템플릿 (host LLM 시스템 프롬프트 골격)
[역할] 너는 코테 답안 채점 보조다. 코드를 읽고 정답/오답을 임시 판정한다.
[참고: 이 유형에서 과거 자주 놓친 점] ← get_corrections(type_tags) 결과 주입
{corrections}
[판정 기준]
- 통과 케이스를 다 돌릴 수 없으므로 논리적 추론으로 판정
- 엣지케이스(빈 입력, 경계값, null) 명시적으로 점검
[출력: JSON only]
{
"verdict": "pass" | "fail",
"type_tags": [고정 목록에서 선택],
"mistake_tags": [고정 목록에서 선택],
"reasoning": "간단 근거"
}고정 태그 어휘는 tags.py의 TYPE_TAGS / MISTAKE_TAGS 참조.
한계
LLM 판정 ≠ 플랫폼 채점. 플랫폼 최종 결과가 ground truth, LLM 판정은 보조.
교정 규칙은 오판을 다 못 막는다. 기대치는 "유형 안에서의 점진 개선".
유형 분류기도 틀린다. 가능하면 플랫폼 공식 태그 사용.
This server cannot be deployed
Maintenance
Related MCP Connectors
Knowledge accumulation for AI coding agents. Records decisions, problems, and insights as context.
Verification videos for AI coding agents: record the run, upload over MCP, share a viewer link.
Deterministic AI code review, with an audit record. Governance inside the agent loop.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceRecord debug sessions, commands, failed attempts, and successful fixes in local SQLite storage.8 npm1MIT
- AlicenseCqualityDmaintenanceEnables acceptance gates for AI coding-agent runs by recording evidence, running deterministic validation, applying a quality gate, and rendering auditable outcomes.7Apache 2.0
- AlicenseAqualityAmaintenanceEnables interactive LeetCode practice with AI-guided authentication, problem solving, solution submission, and learning mode.24100 npm12MIT
- AlicenseNot gradedqualityFmaintenanceEnables comprehensive collection and analysis of ClaudeCode development sessions, including agent tracking, tool usage analytics, and performance metrics.MIT