Build on Aiva
Everything Aiva knows about a store, you can reach in code: a keyed REST API with interactive Swagger docs, a full MCP server that turns her data into tools for Claude, Cursor and any MCP client, and automation recipes for n8n, Zapier and Make. Grab an API key and merchant ID from your merchant dashboard and you’re querying real data in five minutes.
On the packages. The MCP server is published and installable as @getaiva/mcp, and the app scaffolder as @getaiva/create-app. There is no published JavaScript or Python SDK yet, so the examples below call the REST API directly, which is the supported integration path today.
API quickstart
Send a customer message to Aiva and get her reply - with confidence score and an escalation flag, so your app knows when a human should step in:
Full endpoint reference, channels (WebChat, WhatsApp, Email, SMS, Messenger, Instagram DM) and response shapes: API Documentation.
The MCP server
One config block connects your AI assistant to your store. Works with Claude Desktop, Claude Code, Cursor, Windsurf, Zed, Continue - anything that speaks MCP:
get_merchant_infoStore profile, plan and connection statusget_customersCustomer list with RFM segments attachedsearch_customersSearch customers by RFM segmentget_customerOne customer, in full detailget_ordersOrders in a date rangeget_subscriptionSubscription detailsget_affiliateAffiliate detailsanalyze_customer_healthAI-powered customer health analysisget_marketing_intelligenceObjective-based marketing insightsget_strategy_recommendationsBusiness strategy recommendationsSetup walkthroughs per tool: Claude Desktop · the full getting-started guide.
Build something real
Superprompts
Complete AI prompts that build production-ready integrations for you - paste one into Claude or Cursor and get a working app against the AIVA API: