LIVEIndependent Tech Media
Independent Tech Media by 22B Labs
22BLabs · 쉬운세상 · AdminTemplates · AIWriting · Claude · Codex · DocumentProofreading · GongMunDoctor · HWP · HWPX · KoreanOfficialDocs · MCP · OpenSource · The4thPath

AI Proofreads Your Official Documents — GongMun Doctor MCP — 100% local Korean official document proofreading & generation. Free and open source.

2026년 4월 2일 목요일 · 22B Labs · The 4th Path
🏛 22B Labs · Public Administration Open Source

AI Proofreads Your Official Documents — Without Sending Them Anywhere

GongMun Doctor MCP — 100% local Korean official document proofreading & generation. Free and open source.

Anyone who writes Korean official documents, business reports, or inter-department correspondence knows this problem. After drafting, you want to double-check spelling and formal style — but generic spell-checkers don't know Korean official document conventions. Asking a colleague every time isn't ideal either.

GongMun Doctor MCP connects to Claude or Codex to automate proofreading and document generation. Say "proofread this document" and three correction layers apply automatically: spelling, grammar, and official document style. It's built for anyone who writes in Korean official document format — government staff, public institution employees, corporate teams, administrative professionals, and beginners.

"Korean official documents have their own grammar rules.
GongMun Doctor corrects what generic spell-checkers miss.
Just connect to Claude or Codex and talk."

How It Works

⚙️ Architecture
🖥️
Correction Rule Engine — Local Spelling, grammar, and style rules run on your PC
🤖
AI Client — Claude / Codex Document content is sent to the connected AI service
🔑
No Extra API Keys GongMun Doctor itself needs no cloud credentials
📋
50 Templates — Built-in Local Document templates work without any network connection
📌 Note — When proofreading, document content is sent to the connected AI service (Claude, Codex, etc.). For sensitive documents, check the privacy policy of the AI service you use.

3-Layer Correction Rules

This is different from a general spell-checker. Korean official documents have their own grammar. Three layers apply in sequence.

L1 · SPELLING
Spacing & Spelling
General + official document compound word rules
"시행알림" → "시행 알림"
L2 · GRAMMAR
Particle Errors
Official docs prohibit dual-particle notation
"을/를" → "을"
L3 · OFFICIAL STYLE
Administrative Manual
Corrections per official document style guide
"관련하여," → "관련하여"

50 Built-in Administrative Templates

Ready-to-use templates across 6 categories — for government staff, corporate teams, administrative professionals, and anyone writing in Korean official document format.

📄 General Admin
15 types
Work cooperation requests, notices, replies, reports, data requests...
🔍 Audit
5 types
Audit result notices, corrective action requests, inspection notices...
👤 Civil Affairs
5 types
Civil complaint replies, processing period extensions, transfers...
🏗 Construction
10 types
Construction start/completion notices, design change requests...
👔 HR
5 types
Business trip reports, leave usage reports, concurrent job permits...
📦 Procurement
10 types
Bid announcements, award notices, contract requests, subsidy applications...

Sample Generated Document

# Work Cooperation Request — auto-generated from template 수신 ○○시 도시건설국장 (경유) 제목 도시계획 변경 관련 업무 협조 요청 1. 관련: 도시계획과-1234(2026.03.10.) 2. 위 호와 관련하여 도시계획 변경안 검토에 대한 귀 기관의 적극적인 협조를 요청합니다. 3. 협조 요청 사항은 다음과 같습니다. 가. 협조 내용: 도시계획 변경안 검토 나. 회신 기한: 2026. 4. 10.까지 붙임 협조 요청 자료 1부. 끝.

10 MCP Tools

ToolDescription
correct_documentCorrect a single document (.hwpx/.hwp)
correct_documents_in_folderBatch correct all documents in a folder
list_rulesList correction rules
get_correction_reportRead correction report
preview_text_correctionsPreview corrections without touching files
list_document_templatesList administrative document templates
match_document_templatesSearch templates by keyword
get_template_variablesShow required template variables
render_document_templateRender template to generate document
get_server_infoServer info

Getting Started

⚠️ Python 3.12 or 3.13 recommended — Python 3.14 may have lxml build issues.
# 1. Clone git clone https://github.com/sinmb79/GongMun-Doctor-MCP.git cd GongMun-Doctor-MCP # 2. Install dependencies python -m pip install "mcp[cli]>=1.0,<2" python -m pip install -e . --no-deps # 3. Install HWPX runtime (for actual document correction) python -m pip install "python-hwpx>=2.8.0"
💡 Connect via Codex (simplest)

codex mcp add gongmun-doctor -- python -m gongmun_doctor.mcp.server

💡 Connect via Claude Code

claude mcp add --transport stdio gongmun-doctor -- python -m gongmun_doctor.mcp.server

FAQ

Q: The server starts but document correction doesn't work.
Actual .hwpx correction requires the python-hwpx runtime. Run: pip install "python-hwpx>=2.8.0"
Q: Do documents get sent to an AI server?
No. In default mode, documents never leave your PC. All corrections run locally. Cloud LLM analysis is an opt-in extension.
Q: Does it support .hwp (older format)?
Yes, both .hwpx and .hwp are supported.
Q: Claude Desktop connection doesn't work.
Primary support targets are Codex and Claude Code. Claude Desktop works via manual stdio — see examples/claude_desktop_config.json.

Get Started on GitHub

MIT License · Completely Free · 10 MCP Tools · 50 Templates
Python 3.12+ · Codex / Claude Code / Claude Desktop

🔗 View on GitHub
#GongMunDoctor #MCP #KoreanOfficialDocs #DocumentProofreading #HWP #LocalAI #OpenSource #PublicAdministration #22BLabs #The4thPath
22
22B Labs · The 4th Path GitHub: sinmb79 · the4thpath.com
The 4th Path: ⟨H⊕A⟩ ↦ Ω — Human × AI → a better world.
더 읽기