TaxJar MCP server for AI agents

Live

BEARER TOKEN

SALES TAX

Accounting & Finance

TaxJar gives your agent sales tax tools: calculate tax for an order, look up rates and nexus regions, validate addresses, and record orders, refunds, and exempt customers.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
TaxJar
agent · Acme Q3
Run
How much sales tax do I collect on a 120 dollar order shipping to Austin, TX?
S
taxjar_tax_calculate
174ms
Sales tax agent
Collect 9.90 in sales tax at a combined rate of 8.25%.
Sources: TaxJar calculation
taxjar
1 calculation
18:29
Message Claude...

Tools your sales tax agent reaches for on TaxJar, scoped per user.

CALL ANY TOOL
21 tools for sales tax in TaxJar: calculate tax for an order, look up rates and nexus regions, validate US addresses, and record orders, refunds, and exempt customers.
taxjar_address_validate
Validate address
Validate a US customer address and return the matching standardized addresses. Needs a TaxJar Professional or higher plan. Returns addresses[] with zip (ZIP+4), street, state, country and city. Use taxjar_address_validate to clean an address before taxjar_tax_calculate. Provide a street with zip, or street with city and state, or the full address in street.
Parameters
Name
Type
Required
Description
city
string
Optional
City. Example: Gilbert
country
string
Optional
Two-letter country code; only US addresses can be validated. Example: US
state
string
Optional
Two-letter state code. Example: AZ
street
string
Optional
Street address, or the whole address as one freeform line. Example: 3301 South Greenfield Rd
zip
string
Optional
Postal code (5-digit ZIP or ZIP+4). Example: 85297
taxjar_categories_list
List categories
taxjar_customer_create
Create customer
taxjar_customer_delete
Delete customer
taxjar_customer_get
Get customer
taxjar_customer_update
Update customer
taxjar_customers_list
List customers
taxjar_nexus_regions_list
List nexus regions
taxjar_order_create
Create order
taxjar_order_delete
Delete order
taxjar_order_get
Get order
taxjar_order_update
Update order
taxjar_orders_list
List orders
taxjar_rates_get
Get rates
taxjar_refund_create
Create refund
taxjar_refund_delete
Delete refund
taxjar_refund_get
Get refund
taxjar_refund_update
Update refund
taxjar_refunds_list
List refunds
taxjar_summary_rates_list
List summary rates
taxjar_tax_calculate
Tax calculate
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// TaxJar tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["taxjar"], toolNames: [
    "taxjar_tax_calculate",
    "taxjar_rates_get",
    "taxjar_order_create"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Calculate the sales tax for this order, check the rate for the ZIP code, and record the sale" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["taxjar"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Calculate the sales tax for this order, check the rate for the ZIP code, and record the sale" }],
  tools,
});

// Execute the tool call with the user's vaulted TaxJar access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["taxjar"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Calculate the sales tax for this order, check the rate for the ZIP code, and record the sale" }],
  tools,
});

// Tool call runs with the user's vaulted TaxJar access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["taxjar"] }, pageSize: 100,
});

const agent = new Agent({
  name: "sales_tax_agent",
  model: "gemini-2.5-pro",
  instruction: "TaxJar tools scoped to this user",
  tools,
});

await agent.run("Calculate the sales tax for this order, check the rate for the ZIP code, and record the sale");
Try these prompts
Copy any prompt into your agent. Each maps directly to a TaxJar tool. Click to copy, paste into your agent, done.
Calculate tax
Copy the prompt
Copied
Calculate the sales tax for this order shipping to Denver.
Copy the prompt
Copied
What is the combined sales tax rate for this ZIP code?
Copy the prompt
Copied
Validate this customer address.
Nexus and rates
Copy the prompt
Copied
Which regions do I have nexus in?
Copy the prompt
Copied
List minimum and average sales tax rates for every region.
Copy the prompt
Copied
List the TaxJar product categories and their tax codes.
Orders and refunds
Copy the prompt
Copied
Record this completed sale for sales tax reporting.
Copy the prompt
Copied
Record a refund for this order.
Copy the prompt
Copied
Add an exempt customer for this reseller.
SEE HOW AUTH WORKS
Each user connects their own TaxJar access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
TaxJar
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
TaxJar
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
TaxJar
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
TaxJar
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other accounting and finance connectors.
GTM and RevOps Teams
Revenue forecast commentary
Pulls open pipeline from Salesforce and HubSpot, calculates coverage against quota, flags at-risk stages, posts commentary to Slack, and logs every snapshot to Google Sheets.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other accounting and finance connectors.
GTM
Revenue forecast agent
Score pipeline coverage against quota across Salesforce and HubSpot, post forecast commentary to Slack, log snapshots to Sheets.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared TaxJar access token looks fine in a demo. In production every order or refund looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
TaxJar today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access TaxJar as the user or through a shared access token?
As the user. Each user connects their own TaxJar access token once, and Scalekit sends it with every call. Audit logs attribute every order and refund to that user, not a shared service account.
Where is the TaxJar access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in TaxJar?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example taxjar_tax_calculate and taxjar_rates_get without taxjar_order_delete, which deletes an order transaction so it is no longer reported. 3 of the 21 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes TaxJar access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Which transactions can the agent see?
The orders, refunds, and customers recorded through the API. taxjar_orders_list and taxjar_refunds_list return transaction IDs for one date or a date range, and taxjar_order_get returns a full order.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""taxjar"": {
""url"": ""https://mcp.scalekit.com/taxjar"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.taxjar]
url = ""https://mcp.scalekit.com/taxjar""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""taxjar"": {
""url"": ""https://mcp.scalekit.com/taxjar"",
""type"": ""http""
}
}
}