
AgentTax
io.github.AgentTaxv1.1.1更新於 Oct 8, 2026
US sales/use tax, nexus thresholds, capital gains and 1099-DA tools for AI agent transactions.
概覽
讓助理記錄收款與交易、計算美國銷售稅與使用稅及資本利得,並查詢各州經濟關聯門檻。
- 功能
- AgentTax 提供面向 AI 代理與數位服務交易的美國稅務合規工具。track_payment 記錄收到的付款並回傳應納稅額、稅率、應稅金額與合規說明;calculate_tax 提供依轄區拆分的計算結果、稽核軌跡與信心分數;ingest_transactions 可批次記錄最多 100 筆交易。此外還涵蓋經濟關聯(get_nexus_thresholds、get_nexus、configure_nexus)、稅率(get_rates、get_local_rate、get_capital_gains_rates)、含已實現損益的交易記錄,以及 1099-DA 草稿匯出。
- 適用情境
- 適合經營付費 MCP 工具、API 或數位服務,且需要依買方所在州追蹤美國銷售稅與使用稅責任的情境;也適合需要查詢各州經濟關聯門檻、銷售稅率、資本利得稅率或數位資產交易 1099-DA 草稿資料的情境。
- 執行需求
- 透過 npx @agenttax/mcp-server 以 stdio 在本機執行,需要 Node.js。AgentTax 帳號與 AGENTTAX_API_KEY 環境變數可解鎖歷史記錄與大部分工具;沒有金鑰時以展示模式執行,每天 50 次呼叫。需要連線至 agenttax.io 的網路存取。付費方案自每月 25 美元起。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AgentTax,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
來源:README.md,提交 3893fa2
工具
0版本歷史
1- v1.1.1最新Oct 8, 2026

