phddy/kiwi-mcp-server
If you are the rightful owner of kiwi-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Kiwi MCP Server provides a Korean morphological analyzer as a Model Context Protocol (MCP) server, facilitating accurate text analysis and processing for AI agents.
Kiwi MCP Server
ํ๊ตญ์ด ํํ์ ๋ถ์๊ธฐ Kiwi๋ฅผ Model Context Protocol (MCP) ์๋ฒ๋ก ์ ๊ณตํ๋ ํ๋ก์ ํธ์ ๋๋ค.
AI ์์ด์ ํธ(Claude ๋ฑ)๊ฐ ํ๊ตญ์ด ํ ์คํธ๋ฅผ ์ ํํ๊ฒ ๋ถ์ํ๊ณ ์ฒ๋ฆฌํ ์ ์๋๋ก ๋์์ค๋๋ค.
๊ธฐ๋ฅ
1. analyze
- ํํ์ ๋ถ์
ํ๊ตญ์ด ํ ์คํธ๋ฅผ ํํ์ ๋จ์๋ก ๋ถ์ํ๊ณ ํ์ฌ ํ๊น ์ ์ํํฉ๋๋ค.
์ ๋ ฅ:
text
(ํ์): ๋ถ์ํ ํ๊ตญ์ด ํ ์คํธpos
(์ ํ): ํํฐ๋งํ ํ์ฌ ํ๊ทธ ๋ฐฐ์ด
์์:
{
"text": "์๋
ํ์ธ์. ์ค๋ ๋ ์จ๊ฐ ์ข๋ค์.",
"pos": ["NNG", "VA"]
}
2. similarity
- ํ
์คํธ ์ ์ฌ๋ ์ธก์
๋ ํ ์คํธ ๊ฐ์ ์ฝ์ฌ์ธ ์ ์ฌ๋๋ฅผ ๊ณ์ฐํฉ๋๋ค.
์ ๋ ฅ:
text
(ํ์): ์ฒซ ๋ฒ์งธ ๋น๊ตํ ํ ์คํธtext2
(ํ์): ๋ ๋ฒ์งธ ๋น๊ตํ ํ ์คํธpos
(์ ํ): ์ ์ฌ๋ ๊ณ์ฐ ์ ์ฌ์ฉํ ํ์ฌ ํ๊ทธ
์์:
{
"text": "์ค๋ ๋ ์จ๊ฐ ์ข์ต๋๋ค",
"text2": "๋ ์จ๊ฐ ์ ๋ง ์ข๋ค์",
"pos": ["NNG", "VA"]
}
์ง์ ํ์ฌ ํ๊ทธ
์ฒด์ธ
NNG
: ์ผ๋ฐ ๋ช ์ฌNNP
: ๊ณ ์ ๋ช ์ฌNNB
: ์์กด ๋ช ์ฌNR
: ์์ฌNP
: ๋๋ช ์ฌ
์ฉ์ธ
VV
: ๋์ฌVA
: ํ์ฉ์ฌVX
: ๋ณด์กฐ ์ฉ์ธVCP
: ๊ธ์ ์ง์ ์ฌVCN
: ๋ถ์ ์ง์ ์ฌ
๊ธฐํ
MAG
,MAJ
: ๋ถ์ฌMM
: ๊ดํ์ฌIC
: ๊ฐํ์ฌJKS
,JKC
,JKG
,JKO
,JKB
,JKV
,JKQ
,JX
,JC
: ์กฐ์ฌEP
,EF
,EC
,ETN
,ETM
: ์ด๋ฏธXPN
,XSN
,XSV
,XSA
,XSM
,XR
: ์ ์ฌ/์ด๊ทผSF
,SP
,SS
,SE
,SO
,SW
: ๊ธฐํธW_URL
,W_EMAIL
,W_HASHTAG
,W_MENTION
: ์น ๊ด๋ จ
๋น ๋ฅธ ์์
Docker๋ก ์คํ
# ์ต์ ๋ฒ์
docker run -p 5100:5100 phddy/kiwi-mcp-server:latest
# ํน์ ๋ฒ์
docker run -p 5100:5100 phddy/kiwi-mcp-server:0.21.0
๋ก์ปฌ ๊ฐ๋ฐ ํ๊ฒฝ
์๊ตฌ์ฌํญ
- Go 1.24.7+
- Kiwi ๋ผ์ด๋ธ๋ฌ๋ฆฌ (0.21.0)
- GCC/G++ (CGO ๋น๋์ฉ)
ํ ์คํธ
go test ./...
Docker ๋น๋
# ๋ก์ปฌ ๋น๋
docker build -t kiwi-mcp-server .
# ๋ฉํฐ์ํคํ
์ฒ ๋น๋
docker buildx build --platform linux/amd64,linux/arm64 -t kiwi-mcp-server .
MCP ํด๋ผ์ด์ธํธ ์ค์
Claude Desktop ์ค์
์๋ฒ๋ฅผ ์คํํ ํ, Claude Desktop์ ์ค์ ํ์ผ์ ๋ค์ ๋ด์ฉ์ ์ถ๊ฐํ์ธ์.
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"kiwi": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:5100/sse"
]
}
}
}
์ฌ์ฉ ์์
Claude Desktop์์ ๋ค์๊ณผ ๊ฐ์ด ์ฌ์ฉํ ์ ์์ต๋๋ค:
"์๋
ํ์ธ์"๋ฅผ ํํ์ ๋ถ์ํด์ค
"์ค๋ ๋ ์จ๊ฐ ์ข๋ค"์ "๋ ์จ๊ฐ ์ ๋ง ์ข๋ค์"์ ์ ์ฌ๋๋ฅผ ์ธก์ ํด์ค
"์์ธํน๋ณ์"๋ฅผ ๋ช
์ฌ๋ง ์ถ์ถํด์ ๋ถ์ํด์ค
Docker Compose๋ก ์คํ
์ง์์ ์ผ๋ก ์๋ฒ๋ฅผ ์คํํ๋ ค๋ฉด Docker Compose๋ฅผ ์ฌ์ฉํ์ธ์:
# docker-compose.yml
version: '3.8'
services:
kiwi-mcp:
image: phddy/kiwi-mcp-server:latest
ports:
- "5100:5100"
restart: unless-stopped
docker-compose up -d
ํ๊ฒฝ ๋ณ์
KIWI_MODEL_PATH
: Kiwi ๋ชจ๋ธ ํ์ผ ๊ฒฝ๋ก (๊ธฐ๋ณธ๊ฐ:/usr/share/kiwi/models/base
)