CleverTap MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CleverTap MCPwhat are the top events this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CleverTap MCP
Read-only AI analytics assistant for CleverTap over the Model Context Protocol. Live public CleverTap APIs only — no mocks, no write endpoints.
Stack
Bun + TypeScript + Zod
@modelcontextprotocol/sdk(stable, Cursor-fit)@modelcontextprotocol/ext-apps(Claude.ai in-chat chart widgets)Dual transport: stdio (Cursor) and Streamable HTTP
/mcp(hosted Claude.ai / remote Cursor)
Related MCP server: CleverTap MCP
Setup
bun install
cp .env.example .env
# Fill ACCOUNT_API_KEY (format: accountId:passcode), CLEVERTAP_REGIONRegions: in1 | us1 | sg1 | eu1 | aps3 | mec1 | eu
Cursor (local stdio)
Copy .cursor/mcp.json.example to .cursor/mcp.json and set your credentials:
{
"mcpServers": {
"clevertap": {
"command": "bun",
"args": ["run", "D:/clevertap/src/index.ts"],
"env": {
"ACCOUNT_API_KEY": "YOUR_ACCOUNT_ID:YOUR_PASSCODE",
"CLEVERTAP_REGION": "in1",
"MCP_TRANSPORT": "stdio"
}
}
}
}Restart Cursor MCP (or reload the window). Tools appear under the CleverTap server. Chart tools return markdown tables in Cursor.
Hosted /mcp (Claude.ai / remote Cursor)
MCP_TRANSPORT=http PORT=3000 bun run src/index.ts
# optional: MCP_AUTH_TOKEN=secretMCP endpoint:
http://HOST:3000/mcpHealth:
http://HOST:3000/health
Point Claude.ai custom MCP / remote Cursor at that URL. Same tool surface as stdio. On Claude.ai, tools with _meta.ui.resourceUri render MCP App chart widgets in chat.
Tool groups
Group | Examples |
workspace |
|
events |
|
profiles |
|
properties |
|
campaigns |
|
insights (CQL gap-closure) |
|
realtime |
|
query |
|
metadata |
|
charts |
|
APIs used: /1/counts/events.json, /1/counts/trends.json, /1/counts/top.json, /1/counts/profiles.json, /1/events.json, /1/profiles.json, /1/profile.json, /1/message/report.json, /1/now.json.
Scripts
bun run start # stdio
bun run start:http # HTTP /mcp
bun run typecheckNotes
Read-only: no upload, campaign create, or segment write tools.
Some named tools (e.g.
returning_users,top_events) are honest proxies over public endpoints — they error clearly when CleverTap cannot return the metric.Internal queue / poll / pagination are shared client helpers, not separate MCP tools.
Capability report
Full analysis of what this MCP can and cannot pull from CleverTap (tools, schemas, APIs, gaps):
This server cannot be deployed
Maintenance
Related MCP Connectors
Analytics your AI agent can actually use. Track, experiment, and optimize via MCP.
Connect your ads, shop, analytics, social, CRM and finance platforms once, then let Claude, ChatGPT, Cursor or any MCP client read, join and explain your numbers. Public statistics from the World Bank, IMF, Eurostat, OECD, WHO and SEC filings come as context, searchable and chartable from the same tools. Read-only by design, every number carries its source.
Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.
Talk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT.
Related MCP Servers
- FlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to interact with the CleverTap REST API to manage user profiles, events, campaigns, and reports. It supports multi-project configurations and provides tools for data analysis and campaign management through natural language.141 npm6-
- FlicenseNot gradedqualityCmaintenanceRead-only AI analytics assistant for CleverTap via MCP, enabling querying of events, profiles, campaigns, and realtime data without write endpoints.41 npm-
- AlicenseNot gradedqualityBmaintenanceEnables AI to interact with ThinkingData analytics through a read-only MCP service, supporting event/property queries, event analysis, retention analysis, and safe SQL execution.Apache 2.0
- FlicenseBqualityCmaintenanceEnables an LLM agent to directly control CleverTap for planning, launching, and measuring CRM campaigns, including multi-channel sends, profile and event management, and trend analysis.1941 npm-