Avalara AvaTax MCP server for AI agents

Live

ACCOUNT ID AND LICENSE KEY

TAX COMPLIANCE

Accounting & Finance

Avalara AvaTax gives your agent sales tax work in your AvaTax account: calculate and adjust transactions, commit and void them, validate addresses, and manage the item catalog.

  • Per-user credentials: each call uses the actual user's credentials, 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.
Avalara AvaTax
agent · Acme Q3
Run
What is the combined sales tax rate for 2000 Main St, Irvine, CA 92614?
S
avalara_tax_rates_by_address_get
212ms
Tax agent
The estimated combined rate for that address is 7.75%, assuming general tangible goods sold at retail.
Sources: Avalara tax rate lookup, 1 address
avalara
7.75% rate
18:29
Message Claude...

Tools your tax compliance agent reaches for on Avalara AvaTax, scoped per user.

CALL ANY TOOL
25 tools for tax compliance in Avalara AvaTax: calculate, create, adjust, commit, and void transactions, validate addresses, look up tax rates and codes, and manage companies, locations, and items.
avalara_address_resolve
Resolve address
Validate and normalize a US or Canadian address against Avalara's address database. Returns validatedAddresses with the normalized address, latitude and longitude, resolutionQuality, the tax jurisdictions that apply, and any messages if it could not be resolved. Use avalara_address_resolve to clean an address before a transaction. Use avalara_tax_rates_by_address_get for an estimated rate.
Parameters
Name
Type
Required
Description
city
string
Optional
City. Example: Irvine
country
string
Optional
Two-letter ISO 3166 country code. Example: US
line1
string
Optional
Street address line 1. Example: 2000 Main Street
line2
string
Optional
Street address line 2. Example: Suite 200
line3
string
Optional
Street address line 3. Example: Building B
postal_code
string
Optional
Postal or ZIP code. Example: 92614
region
string
Optional
State, province or region, as a two-letter code or full name. Example: CA
text_case
string
Optional
Text case of the returned address: Default, Upper or Mixed. Example: Mixed. One of: `Default`, `Upper`, `Mixed`.
avalara_companies_list
List companies
avalara_company_get
Get company
avalara_item_create
Create item
avalara_item_get
Get item
avalara_item_update
Update item
avalara_items_list
List items
avalara_location_get
Get location
avalara_locations_list
List locations
avalara_nexus_list
List nexus
avalara_ping
Ping
avalara_subscriptions_list
List subscriptions
avalara_tax_codes_list
List tax codes
avalara_tax_rates_by_address_get
Get tax rates by address
avalara_transaction_adjust
Transaction adjust
avalara_transaction_audit
Transaction audit
avalara_transaction_commit
Transaction commit
avalara_transaction_create
Create transaction
avalara_transaction_create_or_adjust
Transaction create or adjust
avalara_transaction_get
Get transaction
avalara_transaction_get_by_id
Transaction get by id
avalara_transaction_refund
Refund transaction
avalara_transaction_uncommit
Transaction uncommit
avalara_transaction_void
Void transaction
avalara_transactions_list
List transactions
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);

// Avalara AvaTax tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["avalara"], toolNames: [
    "avalara_transaction_create",
    "avalara_address_resolve",
    "avalara_tax_rates_by_address_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Validate this shipping address, estimate its sales tax rate, and calculate tax for a $1,200 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: ["avalara"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Validate this shipping address, estimate its sales tax rate, and calculate tax for a $1,200 sale" }],
  tools,
});

// Execute the tool call with the user's vaulted Avalara AvaTax account id and license key
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: ["avalara"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Validate this shipping address, estimate its sales tax rate, and calculate tax for a $1,200 sale" }],
  tools,
});

// Tool call runs with the user's vaulted Avalara AvaTax account id and license key
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: ["avalara"] }, pageSize: 100,
});

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

await agent.run("Validate this shipping address, estimate its sales tax rate, and calculate tax for a $1,200 sale");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Avalara AvaTax tool. Click to copy, paste into your agent, done.
Rates and addresses
Copy the prompt
Copied
Validate and normalize this US address before I quote tax.
Copy the prompt
Copied
Estimate the combined sales tax rate for this street address.
Copy the prompt
Copied
List the Avalara tax codes that describe software subscriptions.
Transactions
Copy the prompt
Copied
Calculate tax for a $1,200 sale shipped to Austin, TX.
Copy the prompt
Copied
Commit the saved transaction INV-1042 so it is included in reporting.
Copy the prompt
Copied
Show the original request and response behind transaction INV-1042.
Company setup
Copy the prompt
Copied
List the companies in my AvaTax account.
Copy the prompt
Copied
Show the jurisdictions where my company has declared nexus.
Copy the prompt
Copied
List the items in my catalog and their tax codes.
SEE HOW AUTH WORKS
Each user connects their own Avalara AvaTax account ID and license key once, and Scalekit sends them with every call. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Avalara AvaTax
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
Avalara AvaTax
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
Avalara AvaTax
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
Avalara AvaTax
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 Avalara AvaTax account ID and license key looks fine in a demo. In production every transaction commit and void 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 credentials
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Avalara AvaTax 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 Avalara AvaTax as the user or through a shared credentials?
As the user. Each user connects their own Avalara AvaTax account ID and license key once, and Scalekit sends them with every call. Audit logs attribute every transaction and catalog change to that user, not a shared service account.
Where are the Avalara AvaTax credentials stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate them, reconnect with new credentials. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Avalara AvaTax?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example rate lookups and transaction reads without avalara_transaction_void, which cancels a transaction so it is no longer reported. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Avalara AvaTax 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.
Can the agent calculate tax without recording a transaction?
Yes, for the right document types. avalara_transaction_create calculates tax for a sale, purchase, return or transfer and records it in AvaTax for Invoice document types. avalara_tax_rates_by_address_get returns a quick combined rate for a US address and creates nothing.
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"": {
""avalara"": {
""url"": ""https://mcp.scalekit.com/avalara"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.avalara]
url = ""https://mcp.scalekit.com/avalara""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""avalara"": {
""url"": ""https://mcp.scalekit.com/avalara"",
""type"": ""http""
}
}
}