law-openapi-mcp
Click on "Install 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., "@law-openapi-mcpsearch current statutes containing '๊ต์ก' and export to xlsx"
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.
law-openapi-mcp
๐ ์ฌ์ฉ๋ โ ์ต๊ทผ 14์ผ ์กฐํ 0ํ(๊ณ ์ 0) ยท ํด๋ก 0ํ(๊ณ ์ 0) ยท ๋ฆด๋ฆฌ์ค ์์ฐ ๋์ ๋ค์ด๋ก๋ 0
2026-09-07 ์๋ ๊ฐฑ์ ยท ์ ์ฒด ์ด๋ ฅ์
docs/usage.csv. GitHub ํธ๋ํฝ ํต๊ณ๋ 14์ผ ์ฐฝ๋ง ์ ๊ณตํ๋ฏ๋ก ์ด ์ ์ฅ์๊ฐ ๋งค์ผ ์ฐ์ด ๋์ ํ๋ค.
๋ฒ์ ์ฒ ๊ตญ๊ฐ๋ฒ๋ น์ ๋ณด OPEN API(law.go.kr DRF)๋ฅผ ๊ฒ์ยท์์งํ๋ MCP ์๋ฒ + CLI.
ํํ๋ฒ๋ นยทํ์ ๊ท์นยท์์น๋ฒ๊ทยทํ๋กยทํ์ฌ๊ฒฐ์ ๋กยทํ์ ์ฌํ๋กยท๋ฒ๋ นํด์๋ก(๋ฒ์ ์ฒ + ๋ถ์ฒ 39์ข )ยท ์์ํ ๊ฒฐ์ ๋ฌธยท๋ณํ์์ยท์กฐ์ฝยท๋ฒ๋ น์ฉ์ด ๋ฑ 72์ข ์ ํ ์ธํฐํ์ด์ค๋ก ์กฐํํ๊ณ , ๊ฒฐ๊ณผ๋ฅผ xlsxยทcsvยทjsonยทsqlite ๋ก ๋ด๋ณด๋ธ๋ค. ์ฐ๊ตฌ ์๋ฃ์์ง ๋จ๊ณ์์ ๋ฐ๋ณต ์ฌ์ฌ์ฉํ๊ธฐ ์ํ ๋๊ตฌ๋ค.
์๋งค ์ ์ฅ์: na-openapi-mcp(๊ตญํ๋์๊ด) ยท nl-openapi-mcp(๊ตญ๋ฆฝ์ค์๋์๊ด) ยท kci-openapi-mcp ยท scienceON-mcp
์์ง ๋จ์๋ ์ธ์ฉ ๋จ์๋ค
๋ฒ๋ น ํ๋๊ฐ ๋ฌธํ ํ๋๋ค. ์กฐ๋ฌธ์ ์ธ์ฉํ ๋์ ์์น๋ก ๋ฃ์ง, ๋ณ๋ ๋ ์ฝ๋๋ก ์ชผ๊ฐ์ง ์๋๋ค. ใ์ดยท์ค๋ฑ๊ต์ก๋ฒใ์ ์กฐ๋ฌธ 135๊ฐ์ง๋ฆฌ 309KB ๋ฌธ์์ง๋ง ์ฐธ๊ณ ๋ฌธํ์๋ ํ ์ค๋ก ๋ค์ด๊ฐ๋ค. ํ๋ก๋ ์ฌ๊ฑด ํ๋, ๋ฒ๋ นํด์๋ก๋ ์๊ฑด ํ๋, ์กฐ์ฝ์ ์กฐ์ฝ ํ๋๋ค.
๋ณธ๋ฌธ์ด ํ์ํ๋ฉด law_body ๋ก ๋ฐ๋ก ๋ฐ๋๋ค โ ๊ทธ๋๋ ์กฐ๋ฌธ์ด ๊ตฌ์กฐ๋ก ์จ๋ค.
Related MCP server: LexLink
์ค๋น๋ฌผ
OC ํ๋๋ฉด ๋๋ค. open.law.go.kr ์์ OPEN API ๋ฅผ ์ ์ฒญํ ๋
๊ฐ์
์ด๋ฉ์ผ์ @ ์๋ถ๋ถ์ ๋ณธ์ธ์ด ์ง์ ํ๋ ๊ฐ์ด๋ค.
cp .env.example .env # LAW_OC=your_id ๋ฅผ ์ฑ์ด๋คOC ๋ ๋น๋ฐ๊ฐ์ด ์๋๋ค. ์์ฒญ URL์ ํ๋ฌธ์ผ๋ก ์ค๋ฆฌ๊ณ ์๋ต์ ์์ธ๋งํฌ์๋ ๊ทธ๋๋ก ๋๋์์จ๋ค.
๊ทธ๋๋ ์ฌ๋๋ง๋ค ๊ฐ์ด ๋ค๋ฅด๋ฏ๋ก ํ๊ฒฝ๋ณ์๋ก ๋ฐ๋๋ค.
์ค์นยท์คํ
uv sync
uv run law status # ์ฐ๊ฒฐ ์ ๊ฒ
uv run law search --target law --query ๊ต์ก # ํํ๋ฒ๋ น ๊ฒ์
uv run law body --target law --id 209959 # ๋ณธ๋ฌธ ์กฐํ
uv run law collect --target law,prec --query ๊ต์ก,ํ์๊ต์ก --format xlsxMCP ๋ฑ๋ก:
{
"mcpServers": {
"law": {
"command": "uvx",
"args": ["law-openapi-mcp"],
"env": { "LAW_OC": "your_id" }
}
}
}MCP ๋๊ตฌ
๋๊ตฌ | ํ๋ ์ผ |
|
|
| ๋ค๋ฃฐ ์ ์๋ ๊ฐ๋์ ๊ฐ๋๋ณ ์ค์ธก ์คํค๋งยท์ฃผ์์ฌํญ |
| ๋ชฉ๋ก ๊ฒ์. |
| ์๋ณ์ 1๊ฑด์ ๋ณธ๋ฌธ(์กฐ๋ฌธยทํ์์ฌํญยท์ง์์์ง ๋ฑ) |
| ๊ฐ๋ ร ๊ฒ์์ด ์กฐํฉ์ ๋ชจ์ xlsx/csv/json/sqlite ๋ก ์ ์ฅ |
| ๋ ์ฝ๋๋ฅผ ์์ง ํ๋(๋ฐ๋ น์ฃผ์ฒดยทํธยท์ํ์ผยท์ ์ ๊ธฐ๊ด)๋ก ๋งคํ |
๋ค๋ฃจ๋ ๊ฐ๋ โ 72์ข
๋ฌด๋ฆฌ | ์ข ์ | ๋ณด๊ธฐ |
๋ฒ๋ นยท๊ท์น | 7 |
|
ํ๋กยท์ฌ๊ฒฐ | 3 |
|
๋ฒ๋ นํด์ | 40 |
|
์์ํ ๊ฒฐ์ ๋ฌธ | 12 |
|
ํน๋ณํ์ ์ฌํ | 4 |
|
๋ณํยท์์ | 3 |
|
์กฐ์ฝยท์ฉ์ด | 2 |
|
๊ทธ ๋ฐ | 1 |
|
์ ์ฒด ๋ชฉ๋ก๊ณผ ๊ฐ๋๋ณ ์ค์ธก ์คํค๋ง๋ law targets / law_targets,
๋ฌด์์ด ์๋์ง์ ์ง๋๋ docs/DRF_CATALOG.md.
๋ณธ๋ฌธ์ด XML ๋ก ์ค์ง ์๋ 4์ข
: licbylยทordinbyl(๋ณํยท์์์ ํ์ผ โ ๋ชฉ๋ก์
๋ณํ์์ํ์ผ๋งํฌยท๋ณํ์์PDFํ์ผ๋งํฌ ๊ฐ ์๋ฌธ) ยท moefCgmExpcยทntsCgmExpc(๋ชฉ๋ก๋ง).
ํธ์ถ ์ ์ ๋ง๊ณ ๋์ ๋ฌด์์ ๋ณด๋ผ๊ณ ์๋ ค ์ค๋ค.
lsHistory(๋ฒ๋ น ์ฐํ)ยทcouseLs(๊ด๋ จ๋ฒ๋ น)๋ type=XML ์ ๋ฌด์ํ๊ณ HTML ์ ๋๋ ค์ฃผ๋ฏ๋ก
์ด ์๋ฒ๋ ๋ค๋ฃจ์ง ์๋๋ค. ํธ์ถํ๋ฉด ๊ทธ ์ฌ์ค์ ์๋ ค ์ค๋ค.
์์ ๋ ๊ฒ (์ ๋ถ ์ค์ธก)
๐ด ๋ชจ๋ ์คํจ๊ฐ HTTP 200 ์ด๋ค. ์๋ target ์ 0๋ฐ์ดํธ, ์๋ชป๋
OC๋<Response>, ์๋ ์๋ณ์๋<Law>์ผ์นํ๋ โฆ ์์ต๋๋ค</Law>. ์ํ์ฝ๋๋ก๋ ์๋ฌด๊ฒ๋ ์ ์ ์๋ค.๐ด
query๋ฅผ ๋นผ๋ฉด ์ ์ฒด ์นดํ๋ก๊ทธ๊ฐ ์จ๋ค โ ์ค๋ฅ๊ฐ ์๋๋ค(ํํ๋ฒ๋ น 5,614๊ฑด). ์ด ์๋ฒ๋ ๋น ๊ฒ์์ด๋ฅผ ๊ฑฐ๋ถํ๋ค.๐ด ํ๋ก ๋ณธ๋ฌธ์ ๋ฐ์ดํฐ์ถ์ฒ์ ๋ฐ๋ผ ์๋ค.
๋ฐ์ดํฐ์ถ์ฒ๋ช =๋๋ฒ์์ ๋ณธ๋ฌธ์ด ์ค๊ณ ,๊ตญ์ธ๋ฒ๋ น์ ๋ณด์์คํ ์ ๋ชฉ๋ก์๋ง ์๊ณ ๋ณธ๋ฌธ ์กฐํ์ "์ผ์นํ๋ ํ๋ก๊ฐ ์์ต๋๋ค" ๊ฐ ์จ๋ค. ๊ฒฐ์์ผ๋ก ๊ธฐ๋กํ๊ณ ๋์ด๊ฐ ์ผ์ด์ง ์ค๋ฅ๊ฐ ์๋๋ค.display์ํ์ 500(1000์ ์์ฒญํ๋ฉด 500์ผ๋ก ๊น์ด๊ณnumOfRows์ ์ ์งํ๊ฒ ์์ฝ๋๋ค).page์๋ ํ๋ ์ํ์ด ์๋ค โtotalCnt์ ๋์ ํ์ํ ์ ์๋ค.๊ฐ๋๋ง๋ค ๋ฃจํธ ํ๊ทธยท๋ ์ฝ๋ ํ๊ทธยท์๋ณ์ ํ๋ผ๋ฏธํฐ๊ฐ ์ ๋ถ ๋ค๋ฅด๊ณ ์ด๋ฆ์์ ์ ์ถํ ์ ์๋ค. ์ ์ ์ค์ธก 62์ข ์ค 45์ข ์ด ์ ์ด๋ฆ์ด ์๋ ๋ ์ฝ๋ ํ๊ทธ๋ฅผ ์ด๋ค(๋ถ์ฒ ํด์ 39์ข ์ ์ ๋ถ
<cgmExpc>,ordinยทlsStmd๋<law>,school์<admrul>). ์๋ณ์ ํ๋ผ๋ฏธํฐ๋ID/MST๋ง์ด ์๋๋ค โlstrm์trmSeqs.โ ๏ธ
totalCnt=0์ target ์ด ๋ฌดํจ๋ผ๋ ๋ป์ด ์๋๋ค โ ๊ฒ์์ด๊ฐ ์ ๋ง์ ๊ฒ์ผ ๋ฟ์ด๋ค.
์์ธํ ๊ทผ๊ฑฐ์ ์ฌํ ๋ฐฉ๋ฒ์ docs/LAW_API_GUIDE.md.
๋ผ์ด์ ์ค
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Powerful OpenDART API-based Korean corporate disclosure tools for accounting professionals
Find official Korean public datasets, agency-site menus, disclosure listings, and source URLs.
Korean government open data - weather, population, law search via data.go.kr
Korean business registry, corporate info, parcel tracking, validation APIs
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables searching and retrieving Korean legal information including laws, court precedents, legal interpretations, and local ordinances from the Korean National Law Information Center API with intelligent search ranking.-
- FlicenseAqualityBmaintenanceEnables AI systems to search, retrieve, and analyze Korean legal information from the National Law Information API (law.go.kr), including laws, administrative rules, English translations, and law-ordinance linkages.262-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search, retrieve, and analyze South Korean legal documents including statutes, precedents, constitutional decisions, and administrative rulings via the Ministry of Government Legislation Open API. Provides 89 specialized tools with features like legal abbreviation auto-recognition, annex extraction, and complex research chain workflows.MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching and retrieving Korean laws, precedents, and administrative rules through the National Law Information Center Open API, optimized for AI agents.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubatoyd/law-openapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server