mcp-server-taxcode
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TAXCODE_API_KEY | No | Service API token for authentication. | |
| TAXCODE_BASE_URL | No | Upstream REST API base URL. | https://api.example.com |
| TAXCODE_MCP_PROFILE | No | Server profile: full, system, statutes, compliance, readonly, researcher, advisor (CLI flag --profile). | full |
| TAXCODE_MCP_READONLY | No | Restrict server execution strictly to safe read-only inspection tools. | 0 |
| TAXCODE_MCP_AUTH_TOKEN | No | Shared bearer token for HTTP transports (streamable-http, sse). | |
| TAXCODE_MCP_ENABLE_CODE_MODE | No | Experimental Code Mode on full (requires code-mode extra) (CLI flag --enable-code-mode). | 0 |
| TAXCODE_MCP_ENABLE_TOOL_SEARCH | No | Replace flat catalog with dynamic search meta-tools (profile=full only) (CLI flag --enable-tool-search). | 0 |
| TAXCODE_MCP_ALLOW_UNAUTHENTICATED_BIND | No | 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. | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| system_get_health_statusA | Check the operational health of the taxcode server and DuckDB storage. |
| statutes_lookup_statuteA | Retrieve exact statutory language, temporal version, and metadata by citation, section code, or the record id from statutes_search_tax_code (pass a result's id as citation_or_section to get its full text). Long text comes in pages of up to 8,000 characters per text field (each result stays under 32,000 characters): data.text_page gives the offset and full lengths, and while data.next_cursor is not null, call again with page_cursor set to it for the next page. lang is en, es or fr: Canada (CAN) rows hold the official English and French text and a Spanish summary; for a row with no French text, fr answers in the row's official language (language_fallback). |
| statutes_search_tax_codeA | Keyword and concept search across Federal, State and Canada (CAN) statutory corpora. Multi-word queries match individual terms: rows with the whole phrase rank first, then by how many terms match, then newer effective year first (empty or non-numeric years last), then id. Each result is a short snippet (up to 300 characters around the first matched term) with its id, citation, title, jurisdiction, year, validity and content labels, not the full text: call statutes_lookup_statute with citation_or_section set to the result's id to read the full text. limit is clamped to 1..25 results per call (see limit_applied); while next_offset is not null, call again with offset set to it for the next page. lang picks the snippet language (en, es or fr); matching reads every language a row has. |
| statutes_list_publicationsA | List administrative circulars, tax guidance publications, and bulletins, newest first. limit is clamped to 1..25 per call (see limit_applied); while next_offset is not null, call again with offset set to it for the next page. |
| compliance_evaluate_pr_bona_fide_residencyC | Evaluate statutory criteria for PR bona fide residency under IRC § 937 and 26 CFR § 1.937-1. Its reporting_requirements say when IRS Form 8898 must be filed: in the tax year you became or stopped being a bona fide PR resident, if your worldwide gross income is more than $75,000 (IRS Instructions for Form 8898). |
| compliance_calculate_built_in_gain_sourcingC | Calculate US vs PR capital gain sourcing under Treas. Reg. § 1.937-2(f) (10-year rule). |
| compliance_evaluate_georgia_residencyC | Evaluate Georgia statutory residency criteria under O.C.G.A. § 48-7-1(10) and Ga. Comp. R. & Regs. r. 560-7-3-.01, and compute state income tax. |
| compliance_evaluate_state_residencyA | Evaluate individual statutory residency, domicile nexus, and state tax liability across all 50 US states and District of Columbia. jurisdiction 'CAN' or 'Canada' ('CA' is California) evaluates Canada federal residency instead (factual, deemed sojourner at 183 days, part-year emigrant or non-resident) and estimates federal Part I tax in CAD (federal_agi is taxable income, days_in_state days in Canada, tax years 2019-2026); event='emigration' adds the departure tax estimate (ITA s. 128.1). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| compliance_cross_border_tax_analysis | Generate structured analytical prompt for dual-jurisdiction US and PR tax analysis. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| system_capabilities | Return static system capabilities reference. |
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes, especially the statute search/lookup pair and the health tool. However, compliance_evaluate_state_residency overlaps with compliance_evaluate_georgia_residency because Georgia is one of the 50 states, and the state-residency tool also unexpectedly handles Canada.
All tool names use consistent snake_case and follow a predictable prefix_verb_object pattern (compliance_, statutes_, system_). Verb choices like evaluate, calculate, search, lookup, list, and get are appropriate to their actions.
Eight tools is well within the typical 3-15 range and appears well-scoped for a tax-code research and compliance-evaluation server. No tool feels redundant solely because of count.
Statute search and lookup are well covered, and several specialized residency/sourcing evaluations exist. But publications can be listed without any tool to retrieve publication details, and compliance coverage is limited to selected residency scenarios rather than a complete tax calculation surface.