# AgentTax

> AgentTax is a freemium MCP server for finance and payments. US sales tax, nexus thresholds, capital gains and 1099-DA tools for agent payments. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://agenttax.io
- **Repository:** https://github.com/agenttax/agenttax-mcp
- **MCP Registry name:** io.github.AgentTax/agenttax-mcp
- **Categories:** finance and payments
- **Listing updated:** 2026-11-14

## About

AgentTax targets a narrow problem: software that earns money from AI agents or digital services needs to know what sales tax applies. The server wraps a REST engine that covers 50 states, DC and 2,856 local jurisdictions and returns tax, rate, jurisdiction note and a confidence score for each call. It includes AI-specific classification, such as treating compute as data processing, and the site's example shows Texas taxing 80 percent of such a sale at 8.25 percent.

Fifteen tools are listed. Some work without a key: get_nexus_thresholds, get_rates, get_local_rate, get_capital_gains_rates, get_pricing and check_health. calculate_tax gives an estimate in demo mode (10 calls a day) and a fuller breakdown with a free key. Logging tools such as track_payment, ingest_transactions, log_trade and configure_nexus need a key, and export_1099_da, which drafts a Form 1099-DA payload for digital-asset gains, is a Pro feature.

There is also a Stripe webhook route that classifies and logs payments automatically, and payment by USDC over x402 as an alternative to an account.

## Features

- **Sales and use tax calculation:** Returns total tax, rate, jurisdiction and a confidence score.
- **Nexus tracking:** Looks up state thresholds and stores the states where you have nexus.
- **Payment logging:** track_payment logs a received payment and returns your tax liability.
- **Trade and gains logging:** Logs buys and sells with cost basis and realized gain or loss.
- **1099-DA drafts:** Produces a draft Form 1099-DA payload for realized digital-asset gains.
- **Read-only hints:** Read-only tools carry the MCP readOnlyHint annotation.

## Good for

- Add sales tax tracking to a paid MCP server or API
- Estimate tax on an agent-to-agent compute sale
- Check each state's economic nexus thresholds
- Log crypto trades and draft a 1099-DA

## Install

### Claude Code (Terminal)

```sh
claude mcp add agenttax-mcp --env AGENTTAX_API_KEY='<AGENTTAX_API_KEY>' -- npx -y @agenttax/mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agenttax-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agenttax/mcp-server"
      ],
      "env": {
        "AGENTTAX_API_KEY": "<AGENTTAX_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agenttax-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agenttax/mcp-server"
      ],
      "env": {
        "AGENTTAX_API_KEY": "<AGENTTAX_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agenttax-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agenttax/mcp-server"
      ],
      "env": {
        "AGENTTAX_API_KEY": "<AGENTTAX_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agenttax-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agenttax/mcp-server"
      ],
      "env": {
        "AGENTTAX_API_KEY": "<AGENTTAX_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agenttax-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@agenttax/mcp-server"
      ],
      "env": {
        "AGENTTAX_API_KEY": "<AGENTTAX_API_KEY>"
      }
    }
  }
}
```

## Tools

- `track_payment`: Logs a payment you received and returns your sales tax liability.
- `calculate_tax`: Calculates sales or use tax; demo gives an estimate, a key adds a full breakdown.
- `ingest_transactions`: Bulk-logs up to 100 transactions, idempotent on external_tx_id.
- `list_transactions`: Shows transaction history with running totals.
- `get_nexus_thresholds`: Lists each state's economic nexus thresholds.
- `get_nexus`: Shows the states where you have configured nexus.
- `configure_nexus`: Sets the states where you have nexus.
- `log_trade`: Logs a buy or sell and returns realized gain or loss on sells.
- `list_trades`: Lists logged trades.
- `export_1099_da`: Drafts a Form 1099-DA payload for realized digital-asset gains.
- `get_rates`: Returns state sales tax rates and digital-goods taxability.
- `get_local_rate`: Returns the combined state and local rate for a zip code.
- `get_capital_gains_rates`: Returns state short and long-term capital gains rates.
- `get_pricing`: Returns machine-readable pricing.
- `check_health`: Returns API health and the endpoint list.

## FAQ

### Does it work without an account?

Yes, in demo mode with 10 calls a day; some tools need a key.

### How do I automate payment tracking?

Point a Stripe webhook at AgentTax and select payment events; every payment is then classified, taxed and logged.

### Which tools are free of a key?

Rates, local rates, nexus thresholds, capital gains rates, pricing and health checks.

### Can an agent pay per call?

The site says it supports USDC on Base through the x402 protocol as an alternative to an API key.

### Is AgentTax free?

AgentTax has a free plan, with paid plans for more usage or features.

### How do I add AgentTax to Claude Code?

Run this command in your terminal: claude mcp add agenttax-mcp --env AGENTTAX_API_KEY='<AGENTTAX_API_KEY>' -- npx -y @agenttax/mcp-server

### What are the best alternatives to AgentTax?

The closest alternatives to AgentTax are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/agenttax
