This guide explains how to use Claude AI to analyze your Iaptic data through the Model Context Protocol (MCP) server.
Prerequisites
- An Iaptic account with API credentials
- Claude Desktop application
- Node.js >= 18 installed on your system
Setting Up the MCP Server
Configure Claude Desktop by adding the following to your configuration file:
{
"iaptic": {
"command": "npx",
"args": [
"mcp-server-iaptic",
"--api-key", "your-api-key-here",
"--app-name", "your-app-name-here"
]
}
}
Available Data Analysis Capabilities
With the MCP server configured, you can ask Claude about:
Customer Analysis
- Customer details and history
- Customer behavior patterns
- Customer lifetime value
- Subscription status
Purchase Analysis
- Purchase history and trends
- Revenue analysis
- Popular products or subscriptions
- Purchase patterns over time
Transaction Analysis
- Transaction details
- Payment methods used
- Transaction success rates
- Refund patterns
Statistical Analysis
- Revenue metrics
- Growth trends
- Customer retention
- Conversion rates
Example Questions for Claude
Here are some example questions you can ask Claude:
- "What is our total revenue so far this month?"
- "Show me the purchase history for customer 12345"
- "What are our most popular subscription plans this week?"
- "How many new customers did we get last month?"
Best Practices
-
Be Specific: When asking questions, provide specific time ranges and criteria to get more accurate answers.
-
Data Privacy: Remember that Claude can access your Iaptic data through the MCP server. Ensure you're following your organization's data privacy policies.
-
Verify Important Data: While Claude is helpful for analysis, always verify critical business decisions with your Iaptic dashboard.
-
Use Natural Language: You can ask questions in natural language - Claude will translate your questions into the appropriate API calls.
Troubleshooting
If you encounter issues:
- Ensure the MCP server is running and properly configured
- Verify your API credentials are correct
- Check that Claude Desktop is properly configured
- Confirm you have the necessary permissions in your Iaptic account