with one click
mcp-kr-legislation
mcp-kr-legislation contains 10 collected skills from ChangooLee, with repository-level occupation coverage and site-owned skill detail pages.
Skills in this repository
BM25 Okapi ์๊ณ ๋ฆฌ์ฆ์ ์ฌ์ฉํ์ฌ ๋ฒ๋ น/ํ๋ก API ๊ฒฐ๊ณผ๋ฅผ ๊ด๋ จ๋ ์์ผ๋ก ์ฌ๋ญํนํฉ๋๋ค. search_enhance_tools.py์ bm25_search.py ๊ตฌํ ์ ์ฐธ์กฐ.
๋ฒ๋ น/ํ๋ก ์บ์ ๋ฐ์ดํฐ ๊ด๋ฆฌ ์ ์ฌ์ฉ. ์บ์ ์ ์ฅ/๋ก๋, ๋ง๋ฃ ์ฒ๋ฆฌ, ์ง์ ๊ทธ๋ํ ๋๊ธฐํ. ์ฑ๋ฅ ์ต์ ํ ๋ฐ API ํธ์ถ ์ต์ํ๋ฅผ ์ํด ์บ์ฑ ๊ตฌํ ์ ์ฐธ์กฐ.
๋ฒ์ ์ฒ OPEN API๋ฅผ MCP ํ๋ก์ ํธ์ ํตํฉํ ๋ ์ฌ์ฉ. lawSearch.do์ lawService.do ์๋ํฌ์ธํธ, target ํ๋ผ๋ฏธํฐ๋ก ๊ธฐ๋ฅ ๊ตฌ๋ถ. ์๋ก์ด API ์๋ํฌ์ธํธ ํตํฉ ์ ์ฐธ์กฐ.
๋๊ตฌ ์คํจ/API ์ค๋ฅ ๋ฐ์ ์ 4๋จ๊ณ ๊ทผ๋ณธ ์์ธ ๋ถ์ ํ ์์ . ์ฆ์ ์์ ์ด ์๋ ์์ธ ์์ . superpowers์ systematic-debugging ๊ธฐ๋ฐ.
์ ๋๊ตฌ ๊ฐ๋ฐ ๋๋ ๋ฒ๊ทธ ์์ ์ ์คํจํ๋ ํ ์คํธ๋ฅผ ๋จผ์ ์์ฑํ๊ณ , ๊ตฌํ ํ ํต๊ณผ๋ฅผ ํ์ธ. superpowers์ test-driven-development ๊ธฐ๋ฐ.
๋๊ตฌ ๊ฐ๋ฐ/๊ฐ์ ์๋ฃ ์ ์ธ ์ ๋ฐ๋์ ์ค์ API ํธ์ถ ํ ์คํธ๋ฅผ ์ํํ๊ณ ์ฆ๊ฑฐ๋ฅผ ๊ธฐ๋กํ ๋ ์ฌ์ฉ. superpowers์ verification-before-completion ๊ธฐ๋ฐ.
Tool์์ API ํธ์ถ ์ ์ปจํ ์คํธ ์ฒ๋ฆฌ. streamable-http์ stdio transport ๋ชจ๋ ์ง์. with_context() ํจํด์ผ๋ก ์ ์ญ ์ปจํ ์คํธ fallback ์๋ ์ฒ๋ฆฌ.
๋ฒ๋ น, ํ๋ก, ์์ํ๊ฒฐ์ ๋ฌธ ๊ฐ ๊ด๊ณ๋ฅผ ์ง์ ๊ทธ๋ํ๋ก ๋ชจ๋ธ๋งํ๊ณ ๊ฒ์ํ ๋ ์ฌ์ฉ. ๋ ธ๋/์ฃ์ง ๊ตฌ์กฐ ์ค๊ณ, ์์ฐ์ด ์ฟผ๋ฆฌ, ๊ด๊ณ ํ์ ๊ตฌํ ์ ์ฐธ์กฐ.
API ํธ์ถ ํ ๊ฒฐ๊ณผ ๊ฒ์ฆ ๋ฐ ์ค๋ฅ ์๋ ์์ ํจํด. ๊ฒ์ ๊ฒฐ๊ณผ ํ์ง ๊ฐ์ , ํ๋ผ๋ฏธํฐ ์๋ ์กฐ์ , ์๋ ์ฌ์๋ ๊ตฌํ ์ ์ฐธ์กฐ.
๋ฒ์ ์ฒ API๋ฅผ MCP tool๋ก ์ถ๊ฐํ ๋ ์ฌ์ฉ. @mcp.tool ๋ฐ์ฝ๋ ์ดํฐ, Annotated ํ์ ํํธ, with_context ํจํด ํ์. ์๋ก์ด tool ํ์ผ ์์ฑ ๋๋ ๊ธฐ์กด ํ์ผ ์์ ์ ์ฐธ์กฐ.