taxlaw-nts-mcp
This MCP server searches and retrieves Korean National Tax Service (NTS) tax law materials not well covered by law.go.kr, and supports citation verification, temporal applicability analysis, and structured responses.
Search the integrated NTS database across statutes, interpretations, precedents, forms, publications, and Hometax consultations.
Retrieve full text of tax interpretations/rulings, decisions, basic rulings, Hometax counsel, forms, and publications.
Verify existence of cited NTS document numbers (
verify_nts_citations) and check citation-claim fit.Assess validity/currency of interpretations/precedents (
assess_doctrine_validity) with 6-level verdicts and next actions.Build application timelines by year (
build_application_timetable), trace article application, get law article at a point in time, diff versions, and fetch addenda/revision text via law.go.kr API.Classify industry codes for tax credit eligibility (startup SME, SME special tax reduction) and map upjong ↔ KSIC.
Access site menus, raw
action.docalls, and static HTML pages for menus without high-level tools.Return structured status (
OK,NOT_FOUND, etc.) and enforce a 5-section response format for LLM outputs.
Allows OpenAI Codex CLI to access Korean tax law information from the National Tax Service's tax law information system (국세법령정보시스템), enabling search and retrieval of tax interpretations, rulings, precedents, publications, and more.
Click on "Deploy 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., "@taxlaw-nts-mcp search for recent tax rulings on VAT"
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.
taxlaw-nts-mcp
An STDIO server that uses MCP tools to search data from the National Tax Law Information System (https://taxlaw.nts.go.kr).
It provides supplementary searches for National Tax Service (NTS) tax law interpretations, Q&A, tax appeal documents, basic rulings, tables/forms, publications, and Hometax consultation cases that are difficult to find directly through the Ministry of Government Legislation.
To allow access to menus that do not yet have dedicated high-level tools, it also provides tools for listing confirmed site menus/actions, raw action.do calls, and retrieving HTML text from the site.
How to use with korean-law-mcp
For tax law inquiries, we recommend a workflow where you first check the Ministry of Government Legislation/statute DB for laws, enforcement decrees, precedents, and tax tribunal decisions using korean-law-mcp, and then use this server for supplementary searches when you cannot find NTS interpretations, basic rulings, Hometax consultation cases, or publications in the Ministry of Government Legislation search.
When both MCPs find the same precedent, decision, or interpretation, consolidate them based on the document number/claim number/case number (with spaces and hyphens removed), production date/decision date, and title. Do not list identical items redundantly; include source IDs from both sides, and use the results from this server to supplement original text snippets, Hometax consultations, basic rulings, and publications that are only available in the National Tax Law Information System.
This server only displays items present in the National Tax Law Information System responses. If a search fails or an external site error occurs, it returns markers such as [NOT_FOUND], [EXTERNAL_API_ERROR], or [INVALID_PARAMETER] along with a warning against making guesses.
Related MCP server: LexLink-ko-mcp
Provided Tools
Tool | Purpose |
| Integrated search for the National Tax Law Information System. Searches tables/forms, tax laws, tax interpretations/Q&A, precedents/decisions, publications, and Hometax consultation cases together |
| Searches tax interpretation/Q&A, pre-assessment review, objection, examination, adjudication, precedent, and Constitutional Court documents |
| Retrieves the detailed document body using |
| Retrieves the detailed body using |
| Retrieves major menus of the National Tax Law Information System and confirmed |
| Retrieves raw JSON from |
| Retrieves static HTML materials and general pages as text |
| Alias for legacy compatible tax interpretation search |
| Alias for legacy compatible tax interpretation detail |
| Retrieves the list of basic ruling laws |
| Retrieves the body of basic rulings |
| Searches all forms, tables, legal forms, directive forms, and frequently used forms |
| Searches NTS publications. Displays file IDs and download hints from the detailed API when available |
| Retrieves publication category codes |
Accessing the Full Menu
First, use list_taxlaw_site_menus to check menu keys, URLs, confirmed actionId, and default paramData. For menus with dedicated tools, use the corresponding high-level tool; for menus without one, pass actionId, defaultParamData, and refererPath to call_taxlaw_action to retrieve the raw response. For materials provided as static HTML, such as summary information by tax item or tax law revision proposals, pass paths like /html/U_0101.html or /cm/USECMJ001M.do to get_taxlaw_page_text. Tax schedules can be retrieved by passing year and month to the ASECMC001MR01 action identified in list_taxlaw_site_menus(query="세무일정").
Quick Start
npm install
npm run build
npm startTo run from a local source path in an MCP client:
{
"mcpServers": {
"taxlaw-nts": {
"command": "node",
"args": ["/absolute/path/to/taxlaw-nts-mcp/build/index.js"]
}
}
}After publishing to npm, you can register it more concisely after a global installation.
npm install -g taxlaw-nts-mcp{
"mcpServers": {
"taxlaw-nts": {
"command": "taxlaw-nts-mcp"
}
}
}Environment Variables
No API key is required. You can change the User-Agent used for National Tax Law Information System calls when necessary.
TAXLAW_USER_AGENT="Mozilla/5.0 ..."Error Response Policy
If there are no search or detail results, it returns [NOT_FOUND] and isError: true. External site errors are returned as [EXTERNAL_API_ERROR], and invalid inputs as [INVALID_PARAMETER]. The result body includes both the source URL and the actual ID retrieved.
Development
npm run build
npm run watch
npm pack --dry-runLicense
MIT
Available Tools
14 toolscall_taxlaw_actionB
국세법령정보시스템 action.do 원시 호출. list_taxlaw_site_menus의 actionId/defaultParamData 또는 브라우저에서 확인한 actionId를 사용할 수 있습니다.
Inputs: actionId (required), refererPath (required), paramData, full.
get_taxlaw_basic_ruling_textA
국세법령정보시스템 기본통칙 본문 조회. list_taxlaw_basic_ruling_laws 결과의 lawId 사용.
Inputs: lawId (required), year, query, display, +1 more.
get_taxlaw_document_textA
국세법령정보시스템 문서 상세 조회. search_taxlaw_documents/search_taxlaw_all 결과의 DOC_ID/id를 사용.
Inputs: id (required), docType, full.
get_taxlaw_hometax_counsel_textA
국세법령정보시스템 홈택스 상담사례 상세 조회. search_taxlaw_all의 hometaxCnslThan 결과 ID/REQ_STD_ID를 사용.
Inputs: id (required).
get_taxlaw_interpretation_textB
하위호환용: 세법해석례/질의회신 상세 조회. 내부적으로 get_taxlaw_document_text를 사용.
Inputs: id (required), full.
get_taxlaw_page_textB
국세법령정보시스템 HTML/텍스트 페이지를 같은 사이트 경로로 조회해 텍스트로 변환합니다. 정적 자료(예: 세목별요약정보 /html/U_0101.html) 확인용입니다.
Inputs: path (required), full.
list_taxlaw_basic_ruling_lawsA
국세법령정보시스템 기본통칙 법령 목록 조회. get_taxlaw_basic_ruling_text의 lawId 확보용.
Inputs: query.
list_taxlaw_publication_categoriesC
국세법령정보시스템 발간책자 분야 코드 목록 조회.
Inputs: no named parameters.
search_taxlaw_allA
국세법령정보시스템 통합검색. 법제처 API에 없는 국세청 자료까지 보완 탐색: 별표서식, 국세법령, 세법해석/질의, 판례·결정례, 발간책자, 홈택스 상담사례. korean-law-mcp(법제처 DB)와 병용 권장 — 법조문 본문은 korean-law-mcp의 get_law_text가 정확하고, 본 도구의 statute 컬렉션은 메타·인용 위주.
Inputs: query (required), collections, displayPerCollection, page, +5 more.
search_taxlaw_documentsA
국세법령정보시스템 문서 검색. 세법해석례/질의회신(01-04)과 과세전적부·이의·심사·심판·판례·헌재(05-10)를 검색. 최신 조세심판원 결정례는 NTS가 강세이므로 본 도구 우선; 그래도 없으면 korean-law-mcp의 search_decisions로 병행 확인 권장.
Inputs: query, docType, display, page, +4 more.
search_taxlaw_formsB
국세법령정보시스템 별표/서식 검색. 전체 서식, 별표, 법령서식, 훈령서식, 자주찾는서식을 탐색.
Inputs: query, kind, lawId, display, +1 more.
search_taxlaw_interpretationsC
하위호환용: 세법해석례/질의회신 검색. 내부적으로 search_taxlaw_documents를 사용.
Inputs: query, docType, display, page, +4 more.
search_taxlaw_publicationsC
국세법령정보시스템 발간책자 검색. 세무안내, 신고안내 등 전자도서관 자료 탐색.
Inputs: query, categoryCode, display, page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Many tools are clearly distinct, but there are redundant tools (get_taxlaw_interpretation_text and search_taxlaw_interpretations) that are just aliases for existing ones, causing potential confusion. Also, multiple search tools with different scopes may overlap in function.
All tool names follow a consistent verb_taxlaw_object pattern (e.g., call_taxlaw_action, list_taxlaw_basic_ruling_laws, search_taxlaw_documents), making naming predictable and easy to understand.
With 14 tools covering various aspects of tax law information access (search, retrieval, listing, raw calls), the count is well-scoped for the server's purpose, neither too few nor excessive.
The tool set covers search, retrieval, and navigation of the NTS tax law system, including documents, interpretations, rulings, forms, and publications. Minor gaps exist (e.g., reliance on korean-law-mcp for some law text), but the coverage is comprehensive for its intended use.
Related MCP Connectors
Korean national tax and social insurance filings, invoices and payroll data as MCP tools.
Korea Law MCP — South Korean national statutes via the Ministry of Government Legislation's (법제처)…
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Korean accounting standards, audit, tax and legal sources and rulings, with citation checks
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving Korean statutes, precedents, and constitutional court decisions via MCP, using the National Law Information Center API.4,629 npm1MIT
- FlicenseAqualityDmaintenanceMCP server for Korean National Law Information. Enables searching and retrieving Korean laws, English-translated laws, administrative rules, court precedents, and constitutional decisions via 54 MCP tools.454-
- AlicenseAqualityCmaintenanceMCP server that directly queries the Korean National Tax Service tax law information system for tax law interpretations, precedents, and guidance. It supports exact document-number lookup, keyword search, and structured retrieval of ruling details and legal grounds.93MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to retrieve current Korean tax statutes, judicial precedents, and tax authority interpretations via MCP, with daily-updated legislative history and full-text search.1MIT