Korean Law MCP
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
作者提供的说明(英文原文)
MCP server for US Federal, territorial, and state tax law and compliance.
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
通过 2/2 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Taxcode 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"taxcode": {
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value",
"TAXCODE_BASE_URL": "your-value",
"TAXCODE_MCP_PROFILE": "your-value",
"TAXCODE_MCP_READONLY": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Taxcode 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Taxcode,或回答中出现 Taxcode 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Taxcode
Taxcode 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Taxcode 的应用
B · 法律与政府数据 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 Taxcode 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Python (uv)(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add taxcode --env TAXCODE_API_KEY=your-value --env TAXCODE_BASE_URL=your-value --env TAXCODE_MCP_PROFILE=your-value --env TAXCODE_MCP_READONLY=your-value -- uvx mcp-server-taxcode按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Taxcode 在列表中并显示已连接
用 Taxcode 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Taxcode,或回答中出现 Taxcode 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Taxcode 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Python (uv)(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
在 Taxcode 的设置中,TAXCODE_API_KEY, TAXCODE_BASE_URL, TAXCODE_MCP_PROFILE, TAXCODE_MCP_READONLY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Taxcode 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Taxcode,或回答中出现 Taxcode 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Taxcode 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Python (uv)(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
在 Taxcode 的设置中,TAXCODE_API_KEY, TAXCODE_BASE_URL, TAXCODE_MCP_PROFILE, TAXCODE_MCP_READONLY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Taxcode 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Taxcode,或回答中出现 Taxcode 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add taxcode --env TAXCODE_API_KEY=your-value --env TAXCODE_BASE_URL=your-value --env TAXCODE_MCP_PROFILE=your-value --env TAXCODE_MCP_READONLY=your-value -- uvx mcp-server-taxcodeClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"taxcode": {
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value",
"TAXCODE_BASE_URL": "your-value",
"TAXCODE_MCP_PROFILE": "your-value",
"TAXCODE_MCP_READONLY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"taxcode": {
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value",
"TAXCODE_BASE_URL": "your-value",
"TAXCODE_MCP_PROFILE": "your-value",
"TAXCODE_MCP_READONLY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"taxcode": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value",
"TAXCODE_BASE_URL": "your-value",
"TAXCODE_MCP_PROFILE": "your-value",
"TAXCODE_MCP_READONLY": "your-value"
}
}
}
}TAXCODE_API_KEY 机密 envTAXCODE_BASE_URL envTAXCODE_MCP_PROFILE envTAXCODE_MCP_READONLY env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
注册名称已通过 GitHub 账户 christianclaudio 验证,该账户拥有此仓库
代码最后更新于今天
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:TAXCODE_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于今天,最新版本(1.3.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), Docker。
同一分类中有:Korean Law MCP, Global law, Tw Legal Rag
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Enterprise-grade Model Context Protocol (MCP) server for Federal, Territorial, and Multi-State Tax Law.
Reference statutory catalog covering United States Federal (IRC/CFR), Puerto Rico (Act 60/Ley 1), and all 50 US States + District of Columbia with computational residency and capital gains models.
[!WARNING]
NOT TAX OR LEGAL ADVICE / NO CONSTITUYE ASESORAMIENTO CONTRIBUTIVO NI LEGAL
EN: This software and its tools provide computational models, heuristic checks, and unofficial summaries for informational and research purposes only. Nothing returned by this server constitutes formal legal or tax advice, an official legal opinion, or audit representation. Unofficial translations and summaries are non-binding; official statutory and administrative sources in their enacted language control.
ES: Este software y sus herramientas proporcionan modelos computacionales, verificaciones heurísticas y resúmenes no oficiales únicamente para fines informativos y de investigación. Ninguna respuesta emitida por este servidor constituye asesoramiento legal o contributivo formal, una opinión legal oficial ni representación ante auditorías. Las traducciones y resúmenes no oficiales no son vinculantes; los textos estatutarios y administrativos oficiales promulgados en su idioma original prevalecen.
graph TD
Client["AI Agent / MCP Host (Claude, Cursor, Antigravity, Snowflake Cortex)"] Gateway["FastMCP Root Gateway (stdio / streamable-http)"] ParentMW["Parent Middleware (Audit Logging, Timing, Secret Redaction, ReadOnly Gate)"] SysSub["System Sub-server (mount: 'system') • system_get_health_status • taxcode://system/reference/capabilities"] StatSub["Statutes Sub-server (mount: 'statutes') • statutes_lookup_statute • statutes_search_tax_code • statutes_list_publications • taxcode://statutes/{jurisdiction}/{section*}"] CompSub["Compliance Sub-server (mount: 'compliance') • compliance_evaluate_pr_bona_fide_residency • compliance_calculate_built_in_gain_sourcing • compliance_evaluate_georgia_residency • compliance_evaluate_state_residency"] DuckDB["DuckDB In-Memory & File Engine (144 Statutes, 37 Publications, Full-Text Search, Temporal Versions)"]
Client <-->|"JSON-RPC (tools/list, tools/call)"| Gateway Gateway --> ParentMW ParentMW --> SysSub ParentMW --> StatSub ParentMW --> CompSub StatSub <-->|"Point-in-Time & Full-Text Queries"| DuckDB CompSub <-->|"Deterministic Statutory Calculations"| DuckDB
statutes_search_tax_code matches and ranks on the full text but returns a short snippet (up to 300 characters around the first matched term) plus each result's id, citation, title, jurisdiction, year, validity and content labels. Pass an id to statutes_lookup_statute as citation_or_section for the full text.statutes_lookup_statute returns long text in pages of up to 8,000 characters per text field (text_page gives the offset and full lengths; pass next_cursor back as page_cursor for the next page). statutes_search_tax_code and statutes_list_publications clamp limit to 1..25 items per call, with offset and next_offset for the next page. The taxcode://statutes/{jurisdiction}/{section*} resource (for example taxcode://statutes/US/933, or taxcode://statutes/IL/5/201 for a section id that contains /) uses the same 8,000-character pages and cap: a page that is not the last ends with the URI of the next one, which carries a ?page_cursor= query. The {section*} wildcard matches multi-segment section ids; a percent-encoded form such as 5%2F201 also works.src/taxcode_mcp/data/ with a source record per row, and the docs under docs/ are generated from them (see CONTRIBUTING.md).superseded_year filtering and descending historical ordering (tax_year parameter).evaluate_pr_bona_fide_residency: Evaluates IRC § 937 presence (183-day, 549-day 3-year, 90-day US), tax home, and closer connection tests.calculate_built_in_gain_sourcing: Allocates Section 937 / Act 60 capital gains across pre-move and post-move holding periods.evaluate_state_residency: Multi-state statutory presence day-counter, permanent place of abode (PPA), domicile audit risk flags, and tax liability computation across all 50 US states and District of Columbia (51 jurisdictions total). Optional dependents, Mississippi spouse_agi (MFJ combined returns; even split of the filing-status exemption and standard deduction; ignored for other states), and Utah itemized_deductions (federal itemized deductions excluding state income tax) refine KS/MS/OH/GA/UT liability; defaults keep prior results.full, system, statutes, compliance, readonly.researcher (statutes + circulars), advisor (cross-border residency + BIG calculations).readOnlyHint=True).| Variable | CLI Flag | Default | Description |
|---|---|---|---|
TAXCODE_API_KEY | — | "" | Service API token for authentication |
TAXCODE_BASE_URL | — | https://api.example.com | Upstream REST API base URL |
TAXCODE_MCP_READONLY | — | 0 | Restrict server execution strictly to safe read-only inspection tools |
TAXCODE_MCP_PROFILE | --profile | full | Server profile: full, system, statutes, compliance, readonly, researcher, advisor |
TAXCODE_MCP_ENABLE_TOOL_SEARCH | --enable-tool-search | 0 | Replace flat catalog with dynamic search meta-tools (profile=full only) |
TAXCODE_MCP_ENABLE_CODE_MODE | --enable-code-mode | 0 | Experimental Code Mode on full (requires code-mode extra) |
TAXCODE_MCP_AUTH_TOKEN | — | "" | Shared bearer token for HTTP transports (streamable-http, sse) |
TAXCODE_MCP_ALLOW_UNAUTHENTICATED_BIND | — | 0 | Set to 1 (or true/yes/on) to let an HTTP transport bind a host other than 127.0.0.1, ::1 or localhost with no token. Without it, such a bind exits at startup |
Stdio is the default and needs no token. The HTTP transports follow the MCP guidance that a local server binds only to localhost and authenticates every connection:
127.0.0.1, ::1 or localhost (the --host default is 127.0.0.1), HTTP runs with or without TAXCODE_MCP_AUTH_TOKEN; without it, a warning says requests are not authenticated.0.0.0.0, ::, a LAN address), the server refuses to start unless TAXCODE_MCP_AUTH_TOKEN is set, or TAXCODE_MCP_ALLOW_UNAUTHENTICATED_BIND=1 accepts an unauthenticated bind (logged as a warning), for example behind a gateway that authenticates for you.Authorization: Bearer ; a missing or wrong token gets HTTP 401.session_idle_timeout (on http_app()) or FASTMCP_HTTP_SESSION_IDLE_TIMEOUT (seconds, or none to never expire); see the FastMCP 4.1.0 release and #5229.# Local HTTP, loopback only
taxcode-mcp --transport streamable-http
TAXCODE_MCP_AUTH_TOKEN="$(openssl rand -hex 32)" \ taxcode-mcp --transport streamable-http --host 0.0.0.0 --allowed-host mcp.example.com
The image's default command is stdio, so it works as a stdio server out of the box:
docker run -i --rm -e TAXCODE_API_KEY=your-api-key ghcr.io/christianclaudio/mcp-server-taxcode:latest
To serve Streamable HTTP from the container, bind 0.0.0.0 inside it and pass a token:
docker run --rm -p 8000:8000 \
-e TAXCODE_API_KEY=your-api-key \ -e TAXCODE_MCP_AUTH_TOKEN=your-long-random-token \ ghcr.io/christianclaudio/mcp-server-taxcode:latest \ --transport streamable-http --host 0.0.0.0 --port 8000 --allowed-host mcp.example.com
This server works out-of-the-box with all major AI assistants, IDEs, and CLI tools via standard stdio or streamable-http.
The server is published on PyPI as mcp-server-taxcode, so you can run it directly with uvx mcp-server-taxcode without cloning or manually managing environments. Alternatively, run from a local clone with uv run --directory /path/to/mcp-server-taxcode taxcode-mcp.
🧡 Claude Desktop & Claude Code
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "taxcode": { "command": "uvx", "args": ["mcp-server-taxcode"] } } }
For local development from a clone:
{
"mcpServers": { "taxcode": { "command": "uv", "args": ["run", "--directory", "/absolute/path/to/mcp-server-taxcode", "taxcode-mcp"] } } }
For Claude Code CLI:
claude mcp add taxcode -- uvx mcp-server-taxcode
♊ Google Antigravity & Gemini CLI
Add to .agents/mcp_config.json (or global ~/.gemini/config/mcp_config.json):
{
"mcpServers": {