Skip to main content
Glama
MobileAction MCP Server

MobileAction MCP Server

by asyau

MobileAction MCP Server

App Store intelligence as callable tools for AI assistants.

An open-source Model Context Protocol server that exposes MobileAction data to MCP-compatible clients through a local stdio process.

Problem

App Store research often requires repeatedly moving between dashboards to inspect keyword rankings, reviews, competitors, downloads, revenue, active users, and featuring history. That workflow is difficult to combine with an AI assistant and hard to automate consistently.

Related MCP server: @applyra/mcp-server

Approach

This server wraps MobileAction endpoints as typed MCP tools. An MCP client can select a tool from the user's request, pass structured arguments, and receive readable JSON or a concise text result.

The implementation:

  • Uses FastMCP to register tools and run over stdio.

  • Sends asynchronous HTTP requests with a shared MobileAction API helper.

  • Supports direct structured arguments and limited natural-language argument extraction for selected estimation/history tools.

  • Resolves an App Store track ID from an app name through Apple's public search endpoint.

  • Keeps the API key in the local environment rather than in client prompts.

Tech Stack

Area

Technology

Language

Python 3.13+

Protocol

Model Context Protocol, FastMCP

HTTP

httpx (async)

Environment

python-dotenv

Dependency management

uv

Transport

stdio

Tool Coverage

The server implements 27 MobileAction/App Store data tools across:

  • Keyword ranking, history, metadata, organic keywords, and visibility

  • App details, versions, developers, discovery, and top charts

  • Category and global rankings

  • Reviews and review-language analysis

  • Download, revenue, DAU, and MAU estimates

  • Featuring history and category analysis

Four additional MCP helpers extract arguments from natural-language queries for selected tools.

Setup

Requirements:

  • Python 3.13 or newer

  • uv

  • A MobileAction API key

  • An MCP-compatible client

git clone https://github.com/asyau/mobile-action-mcp.git
cd mobile-action-mcp
uv sync

Create a .env file in the repository root:

MOBILEACTION_API_KEY=your_api_key_here

Start the stdio server:

uv run --with python-dotenv appinfo.py

Client configuration

Use an absolute repository path in the client configuration:

{
  "mcpServers": {
    "mobileaction": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/mobile-action-mcp",
        "run",
        "--with",
        "python-dotenv",
        "appinfo.py"
      ]
    }
  }
}

Restart the MCP client after changing its configuration.

Demo

Once the client is connected, try prompts such as:

  • “Find Instagram's App Store track ID in the US.”

  • “Show the app's top organic keywords in the US.”

  • “Compare its category ranking over the last 30 days.”

  • “Summarize recurring themes in recent one-star reviews.”

  • “Estimate downloads and revenue for the app last month.”

The request flow is:

User prompt → MCP client → selected FastMCP tool → MobileAction API → formatted result

API access and returned coverage depend on the permissions of the supplied MobileAction key.

Results

  • appinfo.py registers 31 MCP-callable functions: 27 data tools and four argument-extraction helpers.

  • The server covers keyword intelligence, app metadata, reviews, rankings, estimates, and featuring from one client connection.

  • Requests use asynchronous I/O with a 30-second timeout and return inspectable text or formatted JSON.

  • The repository does not yet include automated tests, a recorded client session, or latency/reliability benchmarks; no unsupported performance claim is made here.

Project Structure

appinfo.py       FastMCP server, request helper, argument extraction, and tools
pyproject.toml   Package metadata and direct dependencies
uv.lock          Reproducible dependency lock
LICENSE          MIT license

Next Steps

  • Add mocked API tests for every tool and error path.

  • Validate dates, country codes, device values, limits, and mutually dependent arguments before making requests.

  • Return consistent structured MCP responses instead of mixing prose and serialized JSON.

  • Add pagination helpers for endpoints that return multiple pages.

  • Record a short client demo and add a screenshot or GIF to this README.

  • Split the single server module into API, schemas, extraction, and tool-registration modules.

License

MIT

Available Tools

31 tools
discover_appC

Queues the given App Store app for discovery. Args: track_id: App Store track id of app

Inputs: track_id (required). Returns: result

extract_dau_estimations_argsD

Inputs: query (required). Returns: result

extract_download_revenue_argsD

Inputs: query (required). Returns: result

extract_keyword_history_argsB

Extracts country_code, keyword, start_date, and end_date from a user query. Returns a dict with the extracted values, or None if not all are found.

Inputs: query (required). Returns: result

extract_mau_estimations_argsD

Inputs: query (required). Returns: result

get_app_detailC

Provides detailed information for an app in AppStore. Args: track_id: AppStore track id of app country_code: Two letter country code (optional)

Inputs: track_id (required), country_code. Returns: result

get_app_review_analysisC

Provides word based analysis for the reviews of a given app. Args: track_id: AppStore track id of app start_date: Start date for the reviews (YYYY-MM-DD) end_date: End date for the reviews (YYYY-MM-DD) rating: Rating star count(s) (optional, e.g. "1,2,3") countries: Two letter country code(s) (optional, comma separated) text_query: Any word to be searched in the reviews (optional)

Inputs: end_date (required), track_id (required), start_date (required), rating, +2 more. Returns: result

get_app_reviewsB

Provides review list of the apps in AppStore. Args: track_id: AppStore track id of app start_date: Start date for the reviews (YYYY-MM-DD) end_date: End date for the reviews (YYYY-MM-DD) rating: Rating star count(s) (optional, e.g. "1,2,3") countries: Two letter country code(s) (optional, comma separated) text_query: Any word to be searched in the reviews (optional) page: Page number (optional)

Inputs: end_date (required), track_id (required), start_date (required), page, +3 more. Returns: result

get_app_simple_infoC

Provides simplified information for given apps in AppStore. Args: country_code: Two letter country code track_ids: Comma separated list of AppStore track ids (max 10)

Inputs: track_ids (required), country_code (required). Returns: result

get_app_versionsA

Provides version list (app update timeline) of the apps in AppStore. Args: track_id: AppStore track id of app country_code: Two letter country code start_date: YYYY-MM-DD formatted date (inclusive) end_date: YYYY-MM-DD formatted date (exclusive)

Inputs: end_date (required), track_id (required), start_date (required), country_code (required). Returns: result

get_app_versions_detailedA

Provides version list (app update timeline) with changed values of the apps in AppStore. Args: track_id: AppStore track id of app country_code: Two letter country code start_date: YYYY-MM-DD formatted date (inclusive) end_date: YYYY-MM-DD formatted date (exclusive)

Inputs: end_date (required), track_id (required), start_date (required), country_code (required). Returns: result

get_category_rankingB

Get category rankings history of an app in AppStore (max 30 days).

Args: version: 'v1' or 'v2' track_id: AppStore track id of app country_code: Two letter country code hourly: 'true' for exact values, 'false' for daily average start_date: YYYY-MM-DD formatted start date (inclusive) end_date: YYYY-MM-DD formatted end date (exclusive)

Inputs: hourly (required), version (required), end_date (required), track_id (required), +2 more. Returns: result

get_dau_estimationsB

Provides Daily Active User (DAU) estimations for the given app and country between the dates. Args: track_id: AppStore track id of app country_code: Two letter country code start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format query: Optional natural language query to extract missing arguments

Inputs: query, end_date, track_id, start_date, +1 more. Returns: result

get_developer_appsC

Provides a list of apps owned by the given developer in the given country. Args: developer_id: Id of the developer country_code: Two letter country code

Inputs: country_code (required), developer_id (required). Returns: result

get_download_revenue_estimationsB

Provides download-revenue estimations of an app in AppStore. Args: track_id: AppStore track id of app country_code: Two letter country code start_date: YYYY-MM-DD formatted date (inclusive) end_date: YYYY-MM-DD formatted date (inclusive) device: IPHONE or IPAD query: Optional natural language query to extract missing arguments

Inputs: query, device, end_date, track_id, +2 more. Returns: result

get_featuring_analysisB

Analyzes the featuring of an application across different App Store categories. Args: track_id: App Store track id of app start_date: Start date in YYYY-MM-DD format (optional) end_date: End date in YYYY-MM-DD format (optional) country_code: 2 letter uppercase country code (optional) query: Optional natural language query to extract missing arguments

Inputs: query, end_date, track_id, start_date, +1 more. Returns: result

get_global_last_day_category_rankingsB

Provides global category rankings of an app in AppStore for last day. Args: track_id: Appstore track id of the app. device: IPHONE or IPAD.

Inputs: device (required), track_id (required). Returns: result

get_keyword_appsC

Get app list for given keyword for AppStore.

Args: country_code: Two letter country code keyword: Keyword

Inputs: keyword (required), country_code (required). Returns: result

get_keyword_historyA

Get historic keyword ranking for a given keyword and track id of an app in AppStore (max 30 days).

Args: track_id: AppStore track id of the app country_code: Two letter country code (e.g. US) keyword: Keyword to get ranking history start_date: YYYY-MM-DD formatted start date (inclusive) end_date: YYYY-MM-DD formatted end date (inclusive) query: Optional natural language query to extract missing arguments

Inputs: track_id (required), query, keyword, end_date, +2 more. Returns: result

get_keyword_metadataC

Get last day's keyword meta-data for given keyword for AppStore.

Args: country_code: Two letter country code keyword: Keyword

Inputs: keyword (required), country_code (required). Returns: result

get_keyword_rankingB

Get single day's keyword ranking for given keyword(s) and track id of an app in AppStore.

Args: track_id: AppStore track id of the app country_code: Two letter country code (e.g. US) keywords: Comma separated keyword list (max 100 keywords) date: YYYY-MM-DD formatted date (optional)

Inputs: keywords (required), track_id (required), country_code (required), date. Returns: result

get_mau_estimationsA

Provides Monthly Active User (MAU) estimations for the given app and country between the dates. Args: track_id: AppStore track id of app country_code: Two letter country code start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format query: Optional natural language query to extract missing arguments

Inputs: query, end_date, track_id, start_date, +1 more. Returns: result

get_monthly_global_download_revenueB

Provides global download-revenue estimations of an app in AppStore for the last month. Args: track_id: AppStore track id of app query: Optional natural language query to extract missing arguments

Inputs: query, track_id. Returns: result

get_new_appsC

Provides app infos for newly released app for given country and category. Args: category_id: Category id country_code: Two letter country code ranking_type: FREE, PAID or GROSSING date: YYYY-MM-DD formatted date (optional)

Inputs: category_id (required), country_code (required), ranking_type (required), date. Returns: result

get_organic_impression_shareC

Get organic impression shares of a keyword for App Store.

Args: keyword: Keyword country_code: Two letter country code device: Device type (IPHONE, IPAD)

Inputs: device (required), keyword (required), country_code (required). Returns: result

get_organic_keywordsC

Get organic keywords and their rankings for given app in AppStore.

Args: track_id: Track id of the app country_code: Two letter country code device: Device type (IPHONE, IPAD) date: YYYY-MM-DD formatted date

Inputs: date (required), device (required), track_id (required), country_code (required). Returns: result

get_share_of_categoryC

Get top categories of searched keyword used in app metadata.

Args: keyword: Keyword country_code: Two letter country code device: Device type (IPHONE, IPAD)

Inputs: device (required), keyword (required), country_code (required). Returns: result

get_top_chartsB

Get top charts information for given category, country, ranking type and device.

Args: version: 'v1' or 'v2' category_id: Integer category id country_code: Two letter country code ranking_type: FREE, PAID, GROSSING target_device: IPHONE, IPAD date: YYYY-MM-DD formatted date

Inputs: date (required), version (required), category_id (required), country_code (required), +2 more. Returns: result

get_top_keywordsB

Get single day's top keywords for given track id of an app in AppStore.

Args: track_id: AppStore track id of the app country_code: Two letter country code date: YYYY-MM-DD formatted date device: Device type (IPHONE, IPAD), optional limit: Number of keywords in result, optional

Inputs: date (required), track_id (required), country_code (required), limit, +1 more. Returns: result

get_track_idA

Get the App Store trackId for a given app name. Args: app_name: Name of the app to search for country_code: Two letter country code (default: US) Returns: The trackId as a string, or an error message if not found.

Inputs: app_name (required), country_code. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 31 tools

    Disambiguation3/5

    Most tools target distinct App Store data (keyword rank, charts, reviews, estimations), but the four undocumented extract_*_args tools have no discernible boundary versus the `query` argument already built into the corresponding get_* tools, and pairs like get_app_versions/get_app_versions_detailed and get_featured_app/get_featuring_analysis are easily confused. An agent could plausibly call the extract helpers or the wrong featuring/version variant.

    Naming Consistency4/5

    27 of 31 tools follow a clean get_<resource> snake_case pattern (get_keyword_ranking, get_app_reviews, get_dau_estimations). The deviations are the four `extract_*_args` helpers plus the lone `discover_app`, which use different verbs and an odd `_args` suffix, but the overall scheme remains readable.

    Tool Count2/5

    31 tools is above the practical range and the surface is heavy with near-duplicates (four extract helpers, two version tools, two featuring tools, several keyword-ranking variants). Some of these, especially the arg-extraction helpers, add no user-facing capability.

    Completeness4/5

    Coverage is broad for an ASO/market-intelligence domain: keywords, rankings, charts, app metadata, versions, developer portfolios, reviews plus review analysis, downloads/revenue/DAU/MAU estimations, and featuring. Minor gaps remain — no keyword discovery/suggestion or search-volume tool, and discover_app is a fire-and-forget write with no status or result query.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides App Store Optimization tools for AI agents, enabling app lookup, keyword research, ASO audit, review mining, and revenue estimation across iOS and Google Play.
      43
      99 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Connects App Store and Google Play keyword data to AI assistants, enabling ASO tasks like rank tracking, keyword analysis, competitor visibility, and top charts through natural language.
      38
      309 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to research App Store keywords with popularity and difficulty scores, track daily rankings across 59 storefronts, find competitor keyword gaps, optimize metadata, and review App Store Connect performance. Read tools only inspect the signed-in account, while write tools manage tracked apps, keywords, competitors, and saved lists mid-conversation.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query live App Store and Google Play data — keyword demand, rank history, top charts, competitor sets, reviews and ratings — across 100+ countries, directly inside a chat instead of a dashboard. Exposes 35 read-only tools covering app search, ASO keyword profiling, ranking trajectories, and worldwide market comparisons through a remote OAuth-authenticated endpoint.
      3
      MIT