Handson Coding
FreeNot checkedEnables recording and analyzing coding practice attempts, comparing LLM verdicts with platform results, and gradually improving LLM judgment through correction
About
Enables recording and analyzing coding practice attempts, comparing LLM verdicts with platform results, and gradually improving LLM judgment through correction rules.
README
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)
설치
pip install -r requirements.txt
DB 파일은 기본적으로 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" }
}
}
}
도구
| 도구 | 역할 |
|---|---|
record_attempt |
문제 upsert(platform+name) + 시도 1건 저장. attempt_no 자동 부여 |
update_platform_result |
플랫폼 최종 결과 반영. 오판이면 misjudged=True + type_tags 반환 |
get_corrections |
type_tags 매칭 교정 규칙을 evidence_count 순으로 조회 (판정 전 주입) |
add_correction |
오판에서 도출한 규칙 추가/병합 (evidence_count 증가) |
analyze |
사전 정의 분석 쿼리 실행 |
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 판정은 보조.
- 교정 규칙은 오판을 다 못 막는다. 기대치는 "유형 안에서의 점진 개선".
- 유형 분류기도 틀린다. 가능하면 플랫폼 공식 태그 사용.
Installing Handson Coding
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/JrJuni/handson-mcpFAQ
Is Handson Coding MCP free?
Yes, Handson Coding MCP is free — one-click install via Unyly at no cost.
Does Handson Coding need an API key?
No, Handson Coding runs without API keys or environment variables.
Is Handson Coding hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Handson Coding in Claude Desktop, Claude Code or Cursor?
Open Handson Coding on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Handson Coding with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
