Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
MCP server for US Federal, territorial, and state tax law and compliance.
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Taxcode key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Taxcode for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "taxcode": { "command": "uvx", "args": [ "mcp-server-taxcode" ], "env": { "TAXCODE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TAXCODE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Taxcode tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"taxcode": {
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Taxcode and tell me what you can do for me, then show me one thing✓ If Claude says it is using Taxcode or shows a Taxcode tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TAXCODE_BASE_URL Optional REST base URL override · default https://api.example.comTAXCODE_MCP_PROFILE Server profile (full, system, statutes, compliance, readonly, researcher, advisor) · default fullTAXCODE_MCP_READONLY Restrict server execution strictly to read-only inspection tools · default 0Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Taxcode yet
Taxcode runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Taxcode
B · Others in Law & government data that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Taxcode key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Taxcode for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user taxcode --env TAXCODE_API_KEY=your-value -- uvx mcp-server-taxcode 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TAXCODE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Taxcode tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user taxcode --env TAXCODE_API_KEY=your-value -- uvx mcp-server-taxcodeReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Taxcode listed as connected
Use Taxcode and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Taxcode or shows a Taxcode tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TAXCODE_BASE_URL Optional REST base URL override · default https://api.example.comTAXCODE_MCP_PROFILE Server profile (full, system, statutes, compliance, readonly, researcher, advisor) · default fullTAXCODE_MCP_READONLY Restrict server execution strictly to read-only inspection tools · default 0Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Taxcode key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Taxcode for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "taxcode": { "command": "uvx", "args": [ "mcp-server-taxcode" ], "env": { "TAXCODE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TAXCODE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Taxcode tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Taxcode settings, TAXCODE_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Taxcode and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Taxcode or shows a Taxcode tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TAXCODE_BASE_URL Optional REST base URL override · default https://api.example.comTAXCODE_MCP_PROFILE Server profile (full, system, statutes, compliance, readonly, researcher, advisor) · default fullTAXCODE_MCP_READONLY Restrict server execution strictly to read-only inspection tools · default 0Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Taxcode key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Taxcode for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "taxcode": { "type": "stdio", "command": "uvx", "args": [ "mcp-server-taxcode" ], "env": { "TAXCODE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TAXCODE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Taxcode tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Taxcode settings, TAXCODE_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Taxcode and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Taxcode or shows a Taxcode tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TAXCODE_BASE_URL Optional REST base URL override · default https://api.example.comTAXCODE_MCP_PROFILE Server profile (full, system, statutes, compliance, readonly, researcher, advisor) · default fullTAXCODE_MCP_READONLY Restrict server execution strictly to read-only inspection tools · default 0Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user taxcode --env TAXCODE_API_KEY=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"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"taxcode": {
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"taxcode": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-taxcode"
],
"env": {
"TAXCODE_API_KEY": "your-value"
}
}
}
}TAXCODE_API_KEY secret required envTAXCODE_BASE_URL envTAXCODE_MCP_PROFILE envTAXCODE_MCP_READONLY envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
pypi: mcp-server-taxcodeoci: ghcr.io/christianclaudio/mcp-server-taxcode:1.4.0Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 16, 2026
The registry name was verified with the GitHub account christianclaudio, which owns the repo
Code last changed yesterday
Uses Apache-2.0
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for mcp-server-taxcode@1.4.0
Checks only this package version, not every dependency · checked Nov 15, 2026
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: TAXCODE_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (1.4.0) reached the registry 3 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), Docker on your computer.
In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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": {