SwiftLee Mar 2, 2026

Using an MCP to perform product optimizations

Article Summary

Antoine van der Lee stopped guessing what to build next. By connecting his AI coding agent to Amplitude analytics via MCP, he now makes product decisions backed by real user data without leaving his IDE.

This article explores how Model Context Protocol (MCP) lets AI agents access both your codebase and analytics data simultaneously. Antoine shares how he uses Amplitude's MCP with his iOS app RocketSim to optimize features, improve tracking, and focus on high-impact work based on actual user behavior.

Key Takeaways

Critical Insight

Connecting your AI coding agent to analytics via MCP transforms product decisions from gut feelings into data-driven choices, all without context switching.

The article includes the exact prompts Antoine uses to get his agent to analyze conversion funnels and suggest the highest-impact changes to work on next.

About This Article

Problem

Antoine van der Lee was spending too much time manually checking analytics charts in Amplitude. He'd open browsers, create dashboards, and maintain them while working on RocketSim. This slowed him down even though he knew product optimization well from his time at WeTransfer.

Solution

He connected Amplitude's MCP server to expose analytics capabilities. This let his AI agents query production tracking data directly and compare it against the codebase. The agents could spot tracking gaps and find logging problems.

Impact

His planning prompts got better because they had real data behind them. The agents found that his upsell implementation in BecomeProThumbnailView.swift wasn't working. They gave him direct feedback with clear reasoning on how to increase recording feature conversion among free users.

Recent from SwiftLee

Related Articles

AI Tools for iOS

Browse all AI tools →