atune mcp
Expose understand() to an AI coding agent or assistant over the Model Context Protocol.
Expose understand() to an AI coding agent or assistant over the Model Context
Protocol (MCP), so it can ask about any account, user, feature, or your portfolio
on your behalf.
npx atune mcpThis starts a stdio MCP server with a single understand tool. Point your agent
at it — Claude Code, Cursor, or any MCP-capable client — and it can query your
customer understanding directly.
What the agent gets
The understand tool takes an entity and a question and returns the same
grounded, cited UnderstandResult your own code would
get. Because answers are cited and return knows: false when uncertain, the
agent can't fabricate — it reports what the signals actually support.
Same key, same rules
The MCP server uses your ATUNE_API_KEY and only ever sees your workspace's
understanding. It's the understand() surface, exposed to an agent — nothing more.
See Query from an AI agent for a full walkthrough.
Hosted server
Atune also runs a hosted MCP server at https://useatune.com/mcp for Claude
Code and Codex. It has usage evidence tools, account health and Atune's AI
tasks instead of understand, and you connect it from Settings → AI agent
in Atune. See Hosted MCP server.
Billing status
Tell Atune who pays, so the advice about paying customers turns on. Mappers for Stripe and Clerk Billing, with no new keys and no extra calls.
Capture a behavior event POST
Stores one behavior event for an account. Scoring is not triggered here; the scheduled recompute job remains the sole writer of health and inbox outcomes.