{
  "slug": "sales-tax",
  "mcpServerUrl": "https://plugins-worker.demos.42a.ai/sales-tax/mcp",
  "interface": {
    "displayName": "Handy Sales Tax Calculator",
    "shortDescription": "Sales tax, VAT and GST",
    "longDescription": "Add or remove sales tax, VAT or GST exactly, with current rates for every US state, Canadian province and 38 countries.\n\nAsk \"what is the sales tax on $129.99 in Texas\", \"how much VAT is in €59.90\", or \"price before tax for $287.44 in Quebec\" and get the net, tax and total to the cent, with each component shown (state and local, GST and PST, QST, HST). Add several items with their own rates (zero-rated food, a reduced VAT rate), switch between adding tax and extracting it from a tax-inclusive price, and compare the same purchase across up to six places.\n\nUS rates are state rates as of July 1, 2026; city and county taxes vary, so the card shows the state average and accepts the exact combined rate from your receipt. VAT and GST tables cover the EU 27, the UK, Norway, Switzerland, Australia, New Zealand, Japan, Singapore, India and Mexico. Not tax advice.",
    "category": "Finance",
    "defaultPrompt": [
      "What is the sales tax on $129.99 in Texas?",
      "How much VAT is included in €59.90 in Germany?",
      "Compare sales tax on a $1,000 laptop in California, Texas, New York, Oregon, Ontario and the UK"
    ],
    "capabilities": [
      "Add tax or extract it from a tax-inclusive price",
      "All 50 states and DC, with average local rates",
      "Canada GST, HST, PST and QST by province",
      "VAT and GST for the EU 27, UK and 11 more countries",
      "Several items with their own rates",
      "Compare one purchase across up to 6 places"
    ],
    "logo": "https://plugins-worker.demos.42a.ai/sales-tax/icon.svg",
    "websiteURL": "https://plugins-worker.demos.42a.ai/sales-tax/",
    "supportURL": "https://plugins-worker.demos.42a.ai/support",
    "privacyPolicyURL": "https://plugins-worker.demos.42a.ai/privacy",
    "termsOfServiceURL": "https://plugins-worker.demos.42a.ai/terms",
    "developerName": "42a"
  },
  "keywords": [
    "sales tax calculator",
    "how much is sales tax",
    "reverse sales tax calculator",
    "vat calculator",
    "remove vat",
    "gst calculator",
    "hst calculator",
    "price before tax",
    "sales tax by state"
  ],
  "tools": [
    {
      "name": "calculate_sales_tax",
      "title": "Calculate sales tax",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "compare_tax_rates",
      "title": "Compare tax rates",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    }
  ],
  "dataSources": [],
  "review": {
    "positiveTestCases": [
      {
        "description": "US state sales tax, state rate only",
        "prompt": "What is the sales tax on $129.99 in Texas?",
        "tools_triggered": [
          "calculate_sales_tax"
        ],
        "expected_behavior": "Texas state rate 6.25%: $8.12 tax, $138.11 total, with a note that local taxes average 1.95% (about $10.66 at 8.2% combined)."
      },
      {
        "description": "Extract VAT from a tax-inclusive price",
        "prompt": "How much VAT is included in €59.90 in Germany?",
        "tools_triggered": [
          "calculate_sales_tax"
        ],
        "expected_behavior": "€59.90 includes €9.56 VAT at 19%; the price before tax is €50.34."
      },
      {
        "description": "Quebec GST + QST",
        "prompt": "I am buying a $250 bike in Montreal. How much tax?",
        "tools_triggered": [
          "calculate_sales_tax"
        ],
        "expected_behavior": "GST 5% $12.50 + QST 9.975% $24.94 = $37.44 tax; total $287.44."
      },
      {
        "description": "UK VAT with mixed rates per item",
        "prompt": "Add UK VAT: a laptop £899, two books at £24.99 (zero-rated), and a child car seat £150 at the 5% rate.",
        "tools_triggered": [
          "calculate_sales_tax"
        ],
        "expected_behavior": "Net £1,098.98; VAT £179.80 + £0 + £7.50 = £187.30; total £1,286.28."
      },
      {
        "description": "Compare one purchase across six places",
        "prompt": "Compare sales tax on a $1,000 laptop in California, Texas, New York, Oregon, Ontario and the UK.",
        "tools_triggered": [
          "compare_tax_rates"
        ],
        "expected_behavior": "Oregon $0; New York $40 (state only); Texas $62.50; California $72.50; Ontario HST $130; UK VAT $200. Lowest Oregon; US local taxes flagged."
      }
    ],
    "negativeTestCases": [
      {
        "prompt": "How much federal income tax will I pay on $85,000?",
        "expected_behavior": "Does not call Handy Sales Tax Calculator: Income tax is not sales tax."
      },
      {
        "prompt": "Make an invoice with 8.875% sales tax for my client.",
        "expected_behavior": "Does not call Handy Sales Tax Calculator: Making an invoice document is a different job."
      },
      {
        "prompt": "Should I register for VAT as a freelancer in Germany?",
        "expected_behavior": "Does not call Handy Sales Tax Calculator: A legal/registration question with no calculation."
      }
    ]
  }
}