korean-tax-mcp is a Korean tax law basis retrieval MCP server for AI agents, published by Upstage under the MIT license. Its positioning is: when a user asks an AI about a disputed tax law point, the server returns the legal provisions in force at that point in time, along with NTS interpretations, case law, and Tax Tribunal decisions, with document numbers and links attached.
Purpose and positioning The server targets cross-border tax scenarios such as Korean companies, foreign companies, personnel stationed in Korea, and Korean subsidiaries, providing legal basis retrieval and rule determination, and does not provide tax amount calculation or statutory form generation. Amount calculation and statutory forms are handled by the companion server korean-tax-calc-mcp (141 tools); official-document-type HWPX reports are handled by korean-report-hwpx.
Main capabilities
- Legal provisions: select the version in force at the specified reference date from the Ministry of Government Legislation, return the original text, and attach proviso clauses and delegated provisions (law → enforcement decree → enforcement rules); if no reference date is specified, today is used by default. article_addenda can be used to query the applicable time and income type of amended provisions, and law_article can be used to query attached tables such as tax rate tables and content year tables (e.g., "별표 1"). Administrative rules (such as foreign exchange transaction regulations and NTS notices) are queried as administrative rules.
- Interpretations and case law: retrieve inquiry responses, case law, trial cases, basic circulars, and enforcement standards from the National Tax Law Information System, return document numbers and links, and open the full text; questions with multiple disputed points can be searched separately by disputed point (search_rulings_by_issue). Tax Tribunal decisions come from Ministry of Government Legislation special administrative trial decisions (search_tribunal_decisions, get_tribunal_decision, requiring LAW_OC). Local tax (acquisition tax, property tax, etc.) inquiries can be appended in the same call. Taxpayer wins and losses on the same disputed point can be viewed side by side (compare_outcomes), and can also be compared with one's own facts (compare_with_case).
- Annual reference: compile provisions, circulars, and interpretations by tax item reference date (fiscal year end, transfer date, etc.), and indicate differences from the current version; timing rules (attribution of profit and loss, time of supply, etc.) can first be checked in the timing_rules table (90 entries).
- Requirement guides: for systems that change by tax year or action date, return item-by-item requirements after comparing the version in force for that year with the supplementary provisions, including R&D and manpower development expense tax credits (2016–2026) Employment growth and integrated employment (2018–2026), tax support for small and medium-sized enterprises, seven categories of income (labor, interest, dividends, business, pension, other, retirement, 2016–2026), one person one house, family business succession, VAT exemption and zero rate, nominal trust, tax crime penalties and criminal investigation procedures, etc. For tax credit categories, an employee and expense list can be entered to determine eligibility item by item; parts that cannot be confirmed will be written into the "limitations" of the result.
- Transfer pricing: provides guidance on applicable regulations and arm's length price calculation methods, functional asset risk analysis, a list of 24 items in the individual enterprise report, 10 decision examples on disputed points (including comparability of functions and independence), AI suggestions on functional similarity of comparable candidate objects (determined item by item according to case signals such as product category, transaction stage, and marketing, with supporting sentences and basis hierarchy: statutes, circulars, OECD Guidelines, National Tax Service practical guides, case law, giving recommendations for inclusion, manual confirmation, and exclusion, with approval or modification by a person), and OECD Transfer Pricing Guidelines paragraph search. Comparable object selection standard values are passed in the MCP input format for calculation. This server does not calculate arm's length prices, nor does it determine whether a transaction price is an arm's length price.
- Treaties, residents, and permanent establishments: provides tax treaty provisions (in Korean and English) for 96 countries and limited tax rates for dividends, interest, and royalties; determines residents and non-residents according to the three-step rule (residency_check); permanent establishments are determined item by item according to the elements of Article 94 of the Corporate Tax Act and Article 120 of the Income Tax Act (2016–2026).
- Comparison and verification: compares statements or options verbatim with the original text and marks different numbers and provisos (verify_statement, judge_options); verifies whether document numbers and provisions in the draft actually exist (verify_citations).
How to use This server is connected to AI clients as an MCP server. Most functions do not require a key; provision search and Tax Tribunal decisions require LAW_OC (open.law.go.kr, free). All tools accept lang="en" to return English results: field names and display values are converted to English, tax treaties return the English original, and statutes return the English translation of the Korea Legislation Research Institute (not legally effective, Korean prevails, and permission to use English statutes must be obtained in LAW_OC). Interpretations, case law, and circular originals are available only in Korean; by default, the Korean original is returned with a host_ai_translate prompt, and the user's AI translates it (not sent to Upstage); if UPSTAGE_API_KEY is set, the title and abstract are translated by Solar (the original is retained in *_ko). Tool names are in English, and the first line of each tool description is in English, followed by a Korean description. See llms.txt for the question-to-tool mapping table.
Applicable scenarios Suitable for cross-border issues raised by Korean subsidiaries and foreign parent companies, Korean companies making payments to foreign counterparties, expatriates working in Korea and their advisors, such as withholding on payments to non-residents, withholding and payment of labor costs for overseas service providers, re-claims of costs for dispatched personnel, dividends of foreign subsidiaries, flat tax rate for foreigners, tax reductions for foreign technical personnel, taxation of branches of foreign corporations, withholding of transfer income tax for non-residents, inheritance and gift tax, exit tax, foreign tax credit, and controlled foreign corporations (CFC). The above amount calculations are performed by the companion server.
Limitations and notes This server does not constitute tax advice, and the results are reference materials that merely show the basis and calculation process; filing and objection decisions should be confirmed with a tax expert. It does not perform tax agency services as defined in Article 2 of the Certified Tax Accountant Act (preparation of tax adjustment statements, filing and objection representation, tax consultation, etc.), which only certified tax accountants, registered public accountants, and lawyers may perform. Queries, searches, and rule determinations are executed by code and do not involve generative AI; fact-relationship comparison, win/loss summaries, English translation, and residency determination reports are written by generative AI (user AI by default, with Upstage Solar Pro 4 optionally available). Results written by Solar carry an AI-generated label field (pursuant to Article 31 of the AI Basic Act); results determined by the user AI do not carry this label, but the user is prompted to mark them as AI-generated when displaying them. By default, only the public APIs of the Ministry of Government Legislation and the National Tax Service are called; after UPSTAGE_API_KEY is set, input content is sent to the Upstage API, so sensitive information should not be included; in isolated network environments, an institution's internal Solar can be connected via KOREAN_TAX_MCP_SOLAR_BASE_URL. Interpretations and precedents are subject to the law in force at the time of the reply or judgment and should be compared with the provisions for the applicable year (as_of in law_article). Public queries on the National Tax Law Information System are used with daily caching and a 0.5-second interval; execution standards provide only the item, page number, and link. When the public services of the Ministry of Government Legislation and the National Tax Service are slow or under maintenance, the corresponding tools return errors. General laws can be used together with korean-law-mcp. Built-in materials return the confirmed enforcement version and confirmation date with the results, and may have been amended since then, so they should be reconfirmed through the provisions for the applicable year.