Provides tools for accessing App Store Connect data including app listings, sales reports, revenue metrics (MRR, ARR, churn), subscription analytics, and API monitoring capabilities.
App Store Connect MCP Server
By Trial and Error Inc
The reliable bridge between App Store Connect and AI assistants
Problem
You need iOS app metrics in Claude. The "official" MCP servers are broken. Manual exports waste hours. This fixes that.
Solution
A working MCP server for App Store Connect. Built in 3 hours. No dependencies on broken packages. It just works.
Quick Start
Getting App Store Connect Credentials
Go to App Store Connect
Navigate to Users and Access → Keys
Click "+" to generate a new key
Select "Admin" or "Finance" role
Download the .p8 file (ONLY downloadable once!)
Note your Key ID and Issuer ID
What You Can Ask Claude
Once configured, Claude can help you with:
Financial Metrics: "What's our iOS monthly recurring revenue?"
Subscription Analytics: "Show me active subscriber count and churn rate"
App Performance: "List all our iOS apps with their current versions"
Revenue Insights: "Calculate our ARR and growth rate"
API Health: "Test the App Store Connect connection"
Usage Monitoring: "Show API rate limit status"
More features coming soon: crash analytics, TestFlight metrics, customer reviews
Architecture
See RFC-001-architecture.md for technical details.
Project Structure
Development
Why We Built This
Our portfolio company RenovateAI is ranked #28 in Design Tools on the App Store. We needed real-time iOS metrics in Claude to make data-driven decisions. The existing solutions failed us:
@joshuarileydev/app-store-connect-mcp-server
- NPM 404 errorManual API integration - Days of work, maintenance burden
CSV exports - Manual, error-prone, time-consuming
So we built our own. Clean, typed, reliable. In 3 hours flat.
Status
🚀 ALPHA RELEASE - MVP Complete, Ready for Testing
Completed ✅
PRFAQ written - Vision crystallized
RFC drafted - Architecture defined
Authentication module - JWT with P8 keys
API client - Rate limiting, pagination, error handling
MCP server - 8 tools exposed to Claude
Core services - App and Finance services
TypeScript setup - Full type safety
Build system - Clean compilation
Documentation - Setup guides and API docs
In Progress 🔄
Live testing with real App Store Connect account
Analytics service implementation
Comprehensive test suite
npm package publishing
Roadmap 📍
Automated testing with GitHub Actions
More financial report types
TestFlight integration
Customer reviews analysis
Crash reporting metrics
Current Status: MVP complete, awaiting App Store Connect credentials for live testing
License
MIT - Use it, modify it, sell it. Just make it work.
Available Tools
The MCP server exposes 8 tools to Claude:
Tool | Description | Status |
| Get all apps in your account | ✅ Ready |
| Get detailed app information | ✅ Ready |
| Fetch sales and subscription data | ✅ Ready |
| Calculate MRR, ARR, churn | ✅ Ready |
| Subscription analytics | ✅ Ready |
| User engagement metrics | 🔄 Stub |
| Verify API access | ✅ Ready |
| Rate limit monitoring | ✅ Ready |
Troubleshooting
Common Issues
1. "Unexpected token" errors in Claude logs
Cause: Console output polluting JSON-RPC stream
Fix: Ensure no console.log
statements in production code
Check: /Users/sid/Library/Logs/Claude/mcp-server-appstore-connect.log
2. "Illegal scope GET" error
Cause: Apple's JWT doesn't use 'scope' field
Fix: Remove scope from JWT payload in jwt-manager.ts
The JWT payload should only include:
3. MCP not connecting
Troubleshooting steps:
Check credentials in Claude config
Verify P8 file has correct permissions:
chmod 600 /path/to/key.p8
Test authentication manually:
source .env && npm run test:authVerify Claude Desktop config path:
~/Library/Application Support/Claude/claude_desktop_config.json
Restart Claude Desktop after config changes
4. Financial reports error
Common fixes:
Add version parameter:
version: "1_4"
for reportsVendor number required for financial data (find in App Store Connect → Payments)
Ensure API key has "Finance" role permissions
5. Empty or missing data
Check:
App ID exists and you have access permissions
Date ranges are valid (Apple keeps limited historical data)
Reports are available for your region/app
6. Rate limiting (429 errors)
Solutions:
Built-in exponential backoff should handle this automatically
If persistent, reduce request frequency
Check API usage: use the
get_api_stats
tool in Claude
7. Authentication token expired
Fix: Tokens auto-refresh every 19 minutes. If issues persist:
Debug Mode
Enable detailed logging:
Verification Commands
Support
Issues: GitHub Issues
Discussions: Coming soon
Email: mcp@trialanderror.ai
Credits
Built by Trial and Error Inc because broken dependencies are unacceptable.
First production use: RenovateAI - The AI that understands architecture.
"We don't wait for packages to work. We build." - Trial and Error Inc
Star this repo if you found it useful! We're building more MCP servers for the tools you actually use.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI assistants to access App Store Connect data including financial metrics, subscription analytics, app performance data, and revenue insights. Provides real-time iOS app metrics through secure API integration with rate limiting and comprehensive reporting capabilities.
Related MCP Servers
- -securityFlicense-qualityEnables app store analytics and competitor analysis through AppTweak API, with tools for keyword research, download estimates, and user review insights.
- -securityFlicense-qualityConnect AI assistants to your Metabase analytics platform. Access dashboards, execute queries, and retrieve data seamlessly through conversational interfaces. Enhance your analytics experience with structured data access and robust error handling.Last updated -21
- AsecurityFlicenseAqualityA collection of tools that enable AI assistants to interact with Apple applications and services including Contacts, Notes, Messages, Mail, Reminders, Calendar, Maps, and Web Search through the Model Context Protocol.Last updated -81
- AsecurityFlicenseAqualityConnects AI assistants to macOS Contacts app, allowing users to search, view, add, and update contacts through natural language conversations.Last updated -53