MCP server for AgentTax — tax compliance tools for AI agents
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
claude mcp add agenttax-mcp -- npx -y @agenttax/mcp-server{
"mcpServers": {
"agenttax-mcp": {
"command": "npx",
"args": ["-y", "@agenttax/mcp-server"],
"env": {
"AGENTTAX_API_KEY": "<agenttax_api_key>"
}
}
}
}AGENTTAX_API_KEYMCP Servers overview
# AgentTax MCP Server
Tax compliance for MCP tool developers and AI agents, powered by [AgentTax](https://agenttax.io).
## 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.
```json
{
"mcpServers": {
"agenttax": {
"command": "npx",
"args": ["@agenttax/mcp-server"],
"env": {
"AGENTTAX_API_KEY": "atx_live_your_key"
}
}
}
}
```
After a payment:
```
track_payment({
amount: 49.00,
buyer_state: "TX",
buyer_zip: "78701",
description: "MCP API access — monthly subscription",
payment_id: "pi_stripe_abc123",
source: "stripe"
})
```
Returns your tax liability, compliance status, and logs it to your account. All transactions are viewable in your [AgentTax dashboard](https://agenttax.io/?view=dashboard).
## Stripe webhook (fully automated)
For fully automatic tax tracking without calling any tool manually, point your Stripe webhook to AgentTax:
1. In [Stripe Dashboard → Developers → Webhooks](https://dashboard.stripe.com/webhooks), add an endpoint:
```
https://agenttax.io/api/v1/webhooks/stripe?key=atx_live_YOUR_KEY
```
2. Select events: `payment_intent.succeeded`, `checkout.session.completed`, `invoice.paid`, `charge.succeeded`
3. Optional: set `metadata.work_type` on 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
```bash
claude mcp add agenttax -- npx @agenttax/mcp-server
export AGENTTAX_API_KEY=atx_live_your_key
```
### Claude Desktop / Cursor / Windsurf
Add to your MCP config file:
```json
{
"mcpServers": {
"agenttax": {
"command": "npx",
"args": ["@agenttax/mcp-server"],
"env": {
"AGENTTAX_API_KEY": "atx_live_your_key"
}
}
}
}
```
Demo mode works without a key (50 calls/day, no account required). Tools marked "Yes" below need `AGENTTAX_API_KEY`.
---
## Tools
| Tool | What it does | Key needed |
|---|---|---|
| `track_payment` | Log a payment you received and get your sales tax liability. The main tool for paid MCP servers and APIs. | Demo works; key for history |
| `calculate_tax` | Full sales/use tax calculation with jurisdiction breakdown, audit trail, confidence score and advisories | Demo works; key for full response |
| `ingest_transactions` | Bulk-log up to 100 transactions (e.g. x402 purchases), idempotent on `external_tx_id` | Yes |
| `list_transactions` | Your transaction history with running totals | Yes |
| `get_nexus_thresholds` | Each state's economic nexus thresholds (revenue / transaction count), notes and DOR source | No |
| `get_nexus` | The states you have configured nexus in | Yes |
| `configure_nexus` | Set the states you have nexus in (merge semantics) | Yes |
| `log_trade` | Log a buy/sell; sells return realized gain/loss with cost basis | Yes |
| `list_trades` | Trades you have logged | Yes |
| `export_1099_da` | Draft Form 1099-DA payload for realized digital-asset gains | Yes (Pro) |
| `get_rates` | State sales tax rates and digital-goods taxability, all 51 jurisdictions or one | No |
| `get_local_rate` | Combined state + local rate for a zip code | No |
| `get_capital_gains_rates` | State short/long-term capital gains rates | No |
| `get_pricing` | Machine-readable pricing contract | No |
| `check_health` | API health and endpoint list | No |
Read-only tools carry the MCP `readOnlyHint` annotation so clients can auto-approve them.
### track_payment
```
track_payment({
amount: 49.00,
buyer_state: "TX",
buyer_zip: "78701",
description: "MCP tool subscription",
work_type: "content",
payment_id: "pi_stripe_abc123",
source: "stripe"
})
```
Returns `tax_owed`, `tax_rate`, `taxable`, `transaction_id`, a `classification` (where the work type came from) and a `compliance_note`. Sellers get $0 in states where no nexus is configured; the response says so in `nexus_warning`.
**Pass `work_type` explicitly** (`compute` | `research` | `information_service` | `content` | `consulting` | `trading`) when you know what you sold. It is a declaration and gives the exact answer, and it is the only way the consulting or trading exemption applies: for example, AI consulting sold to an Arizona buyer is an exempt professional service (A.R.S. §42-5061(A)(1), TPR 93-48), so `work_type: "consulting"` returns $0 in AZ. Without `work_type` the server guesses from `description`, but a guess never takes the consulting or trading exemption: a description that looks like consulting (e.g. "SOC 2 audit platform subscription") or trading is taxed as SaaS, and `classification.note` tells you to resend with `work_type` if the guess was right. A description that looks like compute or research keeps the 1.1.1 classification, which can tax less than SaaS in some states (e.g. CT, MD, SC, TN, WV); pass `work_type` for an exact answer. Leave `is_b2b` out when you don't know the buyer; `false` declares a consumer. Upgrading from 1.1.1? Some `track_payment` results change; see [CHANGELOG.md](CHANGELOG.md).
### calculate_tax
```
calculate_tax({
role: "buyer",
amount: 500,
buyer_state: "TX",
buyer_zip: "78701",
transaction_type: "compute",
work_type: "compute",
counterparty_id: "seller-agent-123",
is_b2b: true
})
```
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`. `transaction_type` and `work_type` are sent exactly as given and treated as declared facts; don't guess them (`consulting` is exempt in Arizona).
### Nexus
```
get_nexus_thresholds({ state: "NY" }) // what triggers registration
configure_nexus({ nexus: { TX: { hasNexus: true, reason: "Economic nexus" } } })
get_nexus() // what you have configured
```
### Capital gains and 1099-DA
```
log_trade({ asset_symbol: "ETH", trade_type: "buy", quantity: 2, price_per_unit: 2500, asset_class: "crypto" })
log_trade({ asset_symbol: "ETH", trade_type: "sell", quantity: 1, price_per_unit: 3100, asset_class: "crypto" })
export_1099_da({ year: 2026 }) // draft, not a filed return
```
---
## Get an API Key
```bash
curl -X POST https://agenttax.io/api/v1/auth/signup \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "password": "securepass", "agent_name": "my-mcp-server", "agent_work_type": "compute"}'
```
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
| Tier | Price | Calls/month |
|------|-------|-------------|
| Free | $0 | 1,500 |
| Starter | $25/mo | 10,000 |
| Growth | $99/mo | 100,000 |
| Pro | $199/mo | 1,000,000 |
| x402 | $0.005/call in USDC on Base | Pay per call, no signup |
Current machine-readable pricing: `get_pricing` or `GET https://agenttax.io/api/v1/pricing`.
## Links
- [AgentTax](https://agenttax.io)
- [API Docs](https://agenttax.io/?view=api-docs)
- [Dashboard](https://agenttax.io/?view=dashboard)
- [GitHub](https://github.com/AgentTax/agenttax-mcp)
## License
MIT
What people ask about agenttax-mcp
What is AgentTax/agenttax-mcp?
+
AgentTax/agenttax-mcp is mcp servers for the Claude AI ecosystem. MCP server for AgentTax — tax compliance tools for AI agents It has 0 GitHub stars and its last recorded update is dated 2026-10-14.
How do I install agenttax-mcp?
+
You can install agenttax-mcp by cloning the repository (https://github.com/AgentTax/agenttax-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is AgentTax/agenttax-mcp safe to use?
+
Our security agent has analyzed AgentTax/agenttax-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains AgentTax/agenttax-mcp?
+
AgentTax/agenttax-mcp is maintained by AgentTax. The last recorded GitHub activity is dated 2026-10-14, with 2 open issues.
Are there alternatives to agenttax-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy agenttax-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/agenttax-agenttax-mcp)<a href="https://claudewave.com/repo/agenttax-agenttax-mcp"><img src="https://claudewave.com/api/badge/agenttax-agenttax-mcp" alt="Featured on ClaudeWave: AgentTax/agenttax-mcp" width="320" height="64" /></a>More MCP Servers
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev