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.

Avalara, Anrok and Kintsugi also run MCP servers, and they connect to the account you already have with them. AgentTax needs no account to start: your agent describes a transaction and gets a tax figure back, in the same step it 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.

Other tax MCP servers

AgentTax is not the only tax vendor with an MCP server. This is what each vendor says about its own, from its own pages, read on 18 November 2026. We have not used these servers, and we only report what the linked pages state.

Vendor
What its MCP server does
How you connect
Avalara
A family of MCP servers. AvaTax handles real-time tax calculations and rates; others cover returns, e-invoicing, registrations and exemption certificates.
OAuth 2.1 through an Avalara sign-in page.
Works on your Anrok account: transactions, filings, nexus, customers, products and certificates. Its estimate_transaction_tax tool calculates tax on a hypothetical sale without saving it.
Remote server, OAuth 2.1 with your Anrok login.
46 read-only tools for asking about your exposure, filings and sales. Kintsugi says none of them can change anything in your account.
The same credentials you use for the Kintsugi app. Listed on every plan, including Free.
TaxBandits
Files 1099s, W-2s, W-9s and more through natural language.
A Client ID and an MCP API key from your TaxBandits account.
Tax1099
Manages, validates, files and pays for 1099, 1042-S, 1095 and 1098 forms.
OAuth with your Tax1099 account.

How ours works

  • No account to start. The servers above sign in to an account you hold with that vendor. Ours runs with no key in demo mode (10 calls a day), and a free key with no card gives 1,500 calls a month.
  • The agent describes the transaction. calculate_tax takes an amount, a state, a ZIP and a work type such as compute or research. There is no product catalogue or customer record to set up first.
  • Buyer or seller side. The same tool answers for a seller (sales tax) or for a buyer (use tax): set role to seller or buyer.
  • Answers an agent can branch on. Each answer has a confidence score and says whether location, nexus and taxability were resolved, partial or unknown.
  • Agent payment rails and crypto. With a free key, track_payment and ingest_transactions log payments from x402, Stripe or a direct transfer, and log_trade and export_1099_da cover crypto gains and a draft 1099-DA.

Pick one of theirs if you already run that platform and want an assistant to work on your data there, or if you need returns filed. AgentTax calculates and records tax. It does not register you in states, file returns or manage exemption certificates.

Comparing vendors more broadly? See Avalara alternatives for AI agent builders and AgentTax vs Anrok. Running your own paid MCP server? The guide to adding sales tax to an MCP tool has a tested TypeScript server.

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"
}
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.