Skip to main content
AgentTax
MCP INTEGRATION

AgentTax MCP Server

Give any Model Context Protocol client a native tax tool. Calculate sales tax, log payments, check economic nexus and track capital gains from inside the agent loop, not after the fact.

Other tax vendors shipped MCP servers for human-filed quarterly returns. AgentTax ships MCP for the transaction — every call, every state, every classification, in the same atomic step your agent already takes.

Install in one line. Works without a key.

In Claude Code, run this once. Put your own key in place of atx_live_...

claude mcp add agenttax -e AGENTTAX_API_KEY=atx_live_... -- npx -y @agenttax/mcp-server

In Claude Desktop, Cursor or Windsurf, add this to the MCP config file and restart. In Claude Desktop the file is claude_desktop_config.json. The AgentTax tools show up in your next conversation.

{
  "mcpServers": {
    "agenttax": {
      "command": "npx",
      "args": ["-y", "@agenttax/mcp-server"],
      "env": {
        "AGENTTAX_API_KEY": "atx_live_..."
      }
    }
  }
}

No key yet? Leave AGENTTAX_API_KEY out and the server runs in demo mode. Demo answers are trimmed, capped at 10 calls a day per IP, and every call is an estimate. A free key gives you 1,500 calls a month with the full response and your history.

Fifteen tools exposed to your agent

Each tool returns structured content the LLM can reason over. All of them hit the same API the agenttax.io backend runs on.

Payments and tax
calculate_tax
Sales tax for a seller or use tax for a buyer, for one transaction. Returns the tax, the rate, a confidence score and a typed resolution for location, nexus and taxability. Pass intent "estimate" to quote before a wallet signs.
track_payment
Log a payment you received from Stripe, x402 or a direct transfer and get your sales tax liability. Pass work_type for an exact answer. History needs a key.
ingest_transactions
Bulk-log up to 100 transactions, such as purchases from x402 sellers, in one call. Idempotent on external_tx_id. Needs a key.
list_transactions
List your logged transactions with a running summary of taxable totals and tax. Needs a key.
Nexus
get_nexus_thresholds
Each state's economic nexus threshold by revenue and transaction count, with marketplace facilitator rules and the state DOR source. No key needed.
get_nexus
The states where you have told AgentTax you have nexus, with each state's rate. Needs a key.
configure_nexus
Set the states where you have nexus. Sellers need this to get non-zero sales tax. Only the states you send change. Needs a key.
Capital gains and 1099-DA
log_trade
Log a buy or a sell. Sells return the realized gain or loss with cost basis, holding period and federal and state estimates. Needs a key.
list_trades
List the trades you have logged, with realized gains on sells. Needs a key.
export_1099_da
Export a draft Form 1099-DA payload from your logged trades. It is a draft, not a filed return. Needs a key.
Reference, no key needed
get_rates
State sales tax rates with digital goods taxability and SaaS notes, for all 51 jurisdictions or one state.
get_local_rate
The combined state and local rate for a ZIP code, with the breakdown and self-administered locality flags.
get_capital_gains_rates
State capital gains rates, short and long term, with federal context and per-state caveats.
get_pricing
Tiers, call limits and the x402 per-call price, in machine-readable form.
check_health
API health, available endpoints, pricing tiers and registry validation status.

get_nexus_thresholds gives you each state’s threshold. The economic nexus reference covers what accumulates toward a threshold per state, and why agent volume reaches one faster than a quarterly process expects.

The MCP tax gap

Avalara, TaxBandits, and Zenwork Tax1099 all shipped Model Context Protocol servers in late 2025 and early 2026. Each one wraps their existing enterprise suite — quarterly returns, 1099 filings, registration portals — and lets a human operator invoke those workflows through natural language.

None of them calculate tax at the moment an AI agent transacts. The tools they expose assume a filing period and a human filer. When your agent buys compute in Texas, sells a report to a New York buyer, or settles an x402 payment mid-conversation, those MCP servers can't help — the taxable event has already happened and moved on.

AgentTax MCP is built for the transaction, not the filing. The agent calls calculate_tax before it settles — and the answer flows back with the same latency as any other tool call.

For a deeper look at how we compare to Avalara specifically, see the AgentTax vs Avalara comparison.

3-step integration

01
Install the MCP server
Run one command in Claude Code, or add the JSON below to Claude Desktop, Cursor or Windsurf. The package is @agenttax/mcp-server.
02
Add your API key
It runs with no key in demo mode. A free key gives you 1,500 calls a month with the full response and your history. No card needed.
03
Call tools from natural language
Your agent asks what tax applies to a $500 compute purchase in Austin. The server calls calculate_tax and hands the answer back as structured content.

Tool call example

An agent asks about a $500 compute purchase in Austin. The MCP server calls calculate_tax and returns structured content. The response below was captured from the live API in demo mode and trimmed.

// The agent calls calculate_tax through the MCP server
{
  "tool": "calculate_tax",
  "arguments": {
    "role": "buyer",
    "amount": 500,
    "buyer_state": "TX",
    "buyer_zip": "78701",
    "transaction_type": "compute",
    "work_type": "compute",
    "counterparty_id": "gpu_cloud_vendor",
    "intent": "estimate"
  }
}

// Response captured from the live API, demo mode, trimmed
{
  "success": true,
  "mode": "demo",
  "role": "buyer",
  "amount": 500,
  "buyer_state": "TX",
  "buyer_zip": "78701",
  "transaction_type": "compute",
  "classification_basis": "data_processing",
  "total_tax": 33,
  "combined_rate": 0.0825,
  "applied_rate": 0.0825,
  "confidence": { "score": 85, "level": "high" },
  "resolution": {
    "location": {
      "status": "resolved",
      "basis": "zip_local_rate",
      "detail": "ZIP 78701 matched the local rate for Austin, TX."
    },
    "nexus": {
      "status": "resolved",
      "basis": "not_applicable",
      "detail": "Use tax is the buyer's own obligation, so seller nexus does not apply."
    },
    "taxability": {
      "status": "resolved",
      "basis": "category_rule",
      "detail": "Texas treats data processing as taxable under its category rule."
    }
  },
  "intent": "estimate"
}

AgentTax MCP vs enterprise tax MCP

Avalara, TaxBandits, and Zenwork Tax1099 all shipped MCP servers in late 2025 / early 2026. The differences matter when your caller is an AI agent, not a human filer.

Dimension
AgentTax MCP
Enterprise tax MCP
Who calls the tool
The AI agent itself — autonomously, mid-conversation
A human operator, via a chat UI
What it calculates
Per-transaction sales tax at the moment of the trade
Quarterly returns, 1099 filings, year-end drafts
Settlement cadence
Real-time — runs inline with x402, MPP, or any payment rail
Periodic — monthly or quarterly file upload
Classification surface
51 US jurisdictions with AI-native work-type matrix
Broad enterprise coverage with SKU-level product matrix
Pricing model
Per-API-call, free tier, no seat license
Per-user / per-return / enterprise contract
Audit record granularity
Every transaction, with confidence score and source
Aggregated at filing period
Built for the transaction
Calls fire inline with the agent's action. No batching, no queue, no daily upload. The tax layer sits in the same atomic step as the payment.
51 jurisdictions, AI-native
Every US state plus DC, plus 7,145 zip-level local rates. Classification matrix built for compute, research, information_service, content, consulting, and trading work.
Typed resolution
Every calculate_tax answer says whether location, nexus and taxability were resolved, partial or unknown, and on what basis. Your agent can branch on it instead of guessing.
Works with any MCP host
Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP-compatible client. No framework lock-in. Same API behind agenttax.io.

Give your MCP client a real tax tool

Free tier. No credit card. 1,500 API calls/month to start.