# Korea Tax Law

> Korea Tax Law is an open-source MCP server for legal and government. Korean tax statutes, NTS rulings, tribunal decisions and treaties for AI assistants. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Repository:** https://github.com/upstageai/korean-tax-mcp
- **MCP Registry name:** io.github.UpstageAI/korean-tax-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

Built for tax professionals working in Korean, this server retrieves the text of Korean tax law as it stood on a given date and attaches the rulings and decisions that cite it. Statutes come from the Ministry of Government Legislation's Open API, with delegated provisions (act, decree, rule) and addenda; interpretations and cases come from the National Tax Service's legal information system, always with document numbers and links.

Beyond lookup it has rule tables built into the package: timing rules for when income and supply are recognised, requirement guides for R&D and employment tax credits and SME incentives by tax year, tax-crime penalties, transfer pricing guidance and a residency check. A treaty tool covers 96 countries with withholding-rate limits, and verification tools compare statements and citations against the source text.

The README is explicit that judgment stays with the user's AI and a professional, and that amounts are calculated by a companion server, korean-tax-calc-mcp. The statute lookup needs a free LAW_OC key; an optional Upstage key is needed only for case comparison and sends input to Upstage. It installs with `uvx korean-tax-mcp`.

## Features

- **Point-in-time statutes:** Fetches the version in force on a chosen date, with delegated provisions and addenda.
- **Rulings and decisions:** Searches NTS interpretations, court and tribunal decisions with document numbers.
- **Tax treaties:** Treaty text and withholding-rate limits for 96 countries.
- **Credit requirement guides:** Year-specific R&D, employment and SME tax credit requirements.
- **Citation verification:** Checks quoted statements and cited document numbers against source text.
- **Residency check:** Applies the three-step resident rules from the income tax law.

## Good for

- Pull the text of a corporate tax article as of a past year-end
- Find rulings and tribunal decisions on a specific issue
- Check whether an employee qualifies for the employment tax credit
- Verify that citations in a draft memo exist
- Look up treaty withholding rates for dividends or royalties

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add korean-tax-mcp --env LAW_OC='<LAW_OC>' --env UPSTAGE_API_KEY='<UPSTAGE_API_KEY>' -- uvx korean-tax-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add korean-tax-mcp --env LAW_OC='<LAW_OC>' --env UPSTAGE_API_KEY='<UPSTAGE_API_KEY>' -- uvx korean-tax-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.korean-tax-mcp]
command = "uvx"
args = ["korean-tax-mcp"]
env = { LAW_OC = "<LAW_OC>", UPSTAGE_API_KEY = "<UPSTAGE_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e LAW_OC='<LAW_OC>' -e UPSTAGE_API_KEY='<UPSTAGE_API_KEY>' korean-tax-mcp uvx -- korean-tax-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "korean-tax-mcp": {
      "command": "uvx",
      "args": [
        "korean-tax-mcp"
      ],
      "env": {
        "LAW_OC": "<LAW_OC>",
        "UPSTAGE_API_KEY": "<UPSTAGE_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 6 of 14 tools read data; 8 names don't say. From the server's own tool labels and tool names; not verified by us.

- `law_article`: Returns the statute text in force on a date, with delegated provisions.
- `find_article` (name suggests: reads): Finds an article by keyword when the number is unknown.
- `article_history`: Shows when an article changed and upcoming amendments.
- `article_addenda`: Shows addenda on when amended provisions apply.
- `search_tax_rulings` (name suggests: reads): Searches NTS interpretations and cases.
- `search_rulings_by_issue` (name suggests: reads): Searches rulings issue by issue.
- `get_tax_ruling` (name suggests: reads): Opens the full text of a ruling.
- `search_tribunal_decisions` (name suggests: reads): Searches tax tribunal decisions.
- `tax_treaty`: Returns treaty articles for a country.
- `treaty_withholding_rates`: Returns treaty limits on dividends, interest and royalties.
- `timing_rules`: Looks up timing rules for income and supply recognition.
- `residency_check` (name suggests: reads): Judges resident or non-resident status in three steps.
- `verify_citations`: Checks that cited document numbers and articles exist.
- `compare_outcomes`: Compares taxpayer win and loss decisions on one issue.

## FAQ

### Which API keys does Korea Tax Law need?

LAW_OC (free from the legislation portal) for statute lookup; UPSTAGE_API_KEY is optional for case comparison.

### Does Korea Tax Law calculate tax amounts?

No. A companion server, korean-tax-calc-mcp, handles calculations and statutory forms.

### How many tools does Korea Tax Law have?

The README says 48.

### Is data sent to Upstage by default?

No. Only with the optional key, and the README warns against entering sensitive personal data.

### Is Korea Tax Law free?

Yes. Korea Tax Law is open source, so you can use and self-host it for free.

### How do I add Korea Tax Law to Claude Code?

Run this command in your terminal: claude mcp add korean-tax-mcp --env LAW_OC='<LAW_OC>' --env UPSTAGE_API_KEY='<UPSTAGE_API_KEY>' -- uvx korean-tax-mcp

### What are the best alternatives to Korea Tax Law?

The closest alternatives to Korea Tax Law are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and China Law MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [China Law MCP](https://ai-powered.com/mcp/china-law-mcp): China Law MCP is an open-source MCP server for legal and government.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Swiss Housing MCP](https://ai-powered.com/mcp/swiss-housing-mcp): Swiss Housing MCP is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/korea-tax-law
