Labsco
drewster99 logo

AppStore-MCP-Server

โ˜… 7

from drewster99

App store optimization ASO research, metadata, keyword rankings and more

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

App Store MCP Server

An MCP server for searching the App Store, checking keyword rankings, analyzing competition, and tracking trends โ€” powered by a native macOS binary for fast, direct access to App Store APIs.

Also works as a standalone CLI tool with rich output formats.

MCP Tools

ToolDescription
search_appsiTunes Search API with attribute/genre filtering
search_rankedMZStore API โ€” results match actual App Store rankings
lookup_appLook up an app by ID, bundle ID, or App Store URL
top_chartsCurrent top chart rankings (free, paid, grossing)
find_app_rankCheck where an app ranks for a single keyword
check_app_rankingsCheck an app's rank across auto-generated keywords (slow)
analyze_keywordCompetitive analysis with competitiveness score (0-100)
app_competitorsFind an app's top competitors via overlapping search results
compare_keywordsCompare competitiveness across multiple keywords (slow)
discover_trendingDiscover trending categories from new chart entries
versionGet the server version

Most tools support:

  • storefront โ€” Two-letter country code (default: US). Use for any App Store region.
  • verbosity โ€” Controls response detail and token usage:
    • compact (default) โ€” Key fields only, no descriptions. Best for most queries.
    • full โ€” Includes app descriptions and release notes.
    • complete โ€” All fields from the API response. Verbose (~4KB/app).

MCP Resources

ResourceURIDescription
Storefrontsappstore://storefrontsCountry codes and names for all supported App Store regions
Genresappstore://genresGenre IDs and names for App Store categories
Search Attributesappstore://attributesAvailable search attribute names for refined searches
Chart Typesappstore://chart-typesAvailable chart types for top charts queries

MCP Prompts

PromptDescription
competitive_analysisGuided workflow: look up an app, find competitors, analyze keyword rankings, and get actionable recommendations. Args: keyword_or_app_id (required), storefront (optional).
market_researchGuided workflow: search rankings, top charts, competitiveness analysis, trending discovery, and opportunity identification. Args: category (required), storefront (optional).

Building from Source

git clone https://github.com/drewster99/appstore-mcp-server.git
cd appstore-mcp-server

Open appstore.xcodeproj in Xcode and build (Product > Build), or:

xcodebuild build \
    -project appstore.xcodeproj \
    -scheme appstore \
    -configuration Release \
    -destination 'platform=macOS,arch=arm64'

The binary will be in the DerivedData build products directory. Run as MCP server with ./appstore --mcp or as CLI with ./appstore <command>.

Architecture

The server uses two different Apple APIs:

  • MZStore API โ€” Returns apps in actual App Store ranked order. Used by search_ranked, find_app_rank, check_app_rankings, analyze_keyword, app_competitors, compare_keywords (and CLI scrape, ranks, analyze).
  • iTunes Search/Lookup API & RSS โ€” Returns full app metadata and chart data. Used by search_apps, lookup_app, top_charts, discover_trending (and CLI search, lookup, top).

For ranking-sensitive operations, the MZStore API fetches ranked app IDs first, then the iTunes Lookup API enriches them with full details. See CLAUDE.md for implementation details.