
AgentTax
io.github.AgentTaxv1.1.1Updated Oct 8, 2026
US sales/use tax, nexus thresholds, capital gains and 1099-DA tools for AI agent transactions.
Overview
Lets an assistant log payments and trades, calculate US sales/use tax and capital gains, and check state nexus thresholds.
- What it does
- AgentTax provides tools for US tax compliance around AI agent and digital-service transactions. track_payment logs a received payment and returns tax owed, rate, taxable amount and a compliance note; calculate_tax gives a jurisdiction breakdown with audit trail and confidence score; ingest_transactions bulk-logs up to 100 transactions. It also covers nexus (get_nexus_thresholds, get_nexus, configure_nexus), rates (get_rates, get_local_rate, get_capital_gains_rates), trade logging with realized gain/loss, and a draft 1099-DA export.
- When to use it
- Use it if you run paid MCP tools, APIs or digital services and need to track US sales/use tax liability by buyer state, or if you need state nexus thresholds, sales tax rates, capital gains rates, or draft 1099-DA data for digital-asset trades.
- Requirements
- Runs locally over stdio via npx @agenttax/mcp-server, so Node.js is needed. An AgentTax account and the AGENTTAX_API_KEY environment variable unlock history and most tools; without a key it runs in demo mode at 50 calls per day. Network access to agenttax.io is required. Paid tiers start at $25/month.
Installation
In SourceWeft
- Open AgentTax in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AgentTax MCP Server
Tax compliance for MCP tool developers and AI agents, powered by AgentTax.
For MCP tool developers
If you build MCP tools that charge for usage, you have sales tax obligations in states where your buyers are located. Most payment processors don't handle this correctly for digital services.
Add AgentTax to your MCP setup and call track_payment after every payment. That's it.
After a payment:
Returns your tax liability, compliance status, and logs it to your account. All transactions are viewable in your AgentTax dashboard.
Stripe webhook (fully automated)
For fully automatic tax tracking without calling any tool manually, point your Stripe webhook to AgentTax:
- In Stripe Dashboard → Developers → Webhooks, add an endpoint:
- Select events:
payment_intent.succeeded,checkout.session.completed,invoice.paid,charge.succeeded - Optional: set
metadata.work_typeon your Stripe products (compute|research|content|consulting|trading) for precise tax classification
Every payment is automatically classified, taxed, and logged. No code changes required.
Requires a billing address on the Stripe payment. Enable full address collection in your Stripe Checkout settings.
Install
Claude Code
Claude Desktop / Cursor / Windsurf
Add to your MCP config file:
Demo mode works without a key (50 calls/day, no account required). Tools marked "Yes" below need AGENTTAX_API_KEY.
Tools
Read-only tools carry the MCP readOnlyHint annotation so clients can auto-approve them.
track_payment
Returns tax_owed, tax_rate, taxable, transaction_id and a compliance_note. Classification comes from description. Sellers get $0 in states where no nexus is configured; the response says so in nexus_warning.
calculate_tax
Optional fields: seller_state / seller_zip (origin-sourced intrastate sales in TX, UT, AZ, TN and some OH sales), use_context (Maryland B2B), digital_content_type (with transaction_type: "digital_good"), seller_remitting.
Nexus
Capital gains and 1099-DA
Get an API Key
All four fields are required; agent_work_type is one of compute, research, information_service, content, consulting, trading. Save the api_key.key from the response — it's only shown once.
Pricing
Current machine-readable pricing: get_pricing or GET https://agenttax.io/api/v1/pricing.
Links
License
MIT
Source: README.md at commit 3893fa2
Tools
0Version history
1- v1.1.1LatestOct 8, 2026

