Skip to content
Projects

About

Self-hosted App Store & Google Play keyword rank tracker with Claude built in. Runs locally, no accounts.

Other Projects

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

ASO Tracker

CI License: MIT

A self-hosted App Store Optimization dashboard that runs on your own computer. It tracks keyword rankings for as many apps as you like, on both the Apple App Store and Google Play, in any number of countries, alongside your competitors. It also connects to your own Claude for keyword ideas, ready-to-paste listing rewrites and review analysis.

There are no accounts, no paid data APIs and no usage limits. Everything is stored in one SQLite file on your machine.

ASO Tracker keyword view: platform and country switchers, keyword ranks with popularity and difficulty, rank history chart and the current top 10 Keyword view (rank history in this screenshot is sample data).


Contents

  1. Requirements
  2. Install and run
  3. First-time walkthrough
  4. How apps, platforms, countries, keywords and competitors fit together
  5. Connect your Claude
  6. Use your data from Claude Code / Claude Desktop (MCP)
  7. Keeping data up to date
  8. Configuration
  9. Updating, backups and resetting
  10. Troubleshooting
  11. Where the data comes from
  12. Contributing

1. Requirements

  • Node.js 22.13 or newer. Check with node -v.
  • git (to clone the repo). You can also download the ZIP from GitHub instead.
  • Optional: the Claude Code CLI installed and logged in (the IDE extension alone isn't enough), or an Anthropic API key, for the Claude features.

There's nothing to compile, no database server to install, and no other services.

2. Install and run

git clone https://github.com/rileylgray/aso-tracker.git
cd aso-tracker
npm install
npm start

You'll see:

  ASO Tracker running at http://127.0.0.1:4321
  Claude: cli · Claude Code default
  Auto-refresh: every 24h while running

(If you haven't created a .env file, Node also prints .env not found. Continuing without it. That's expected; a .env is optional.)

Open http://localhost:4321 in your browser. Stop the server with Ctrl+C. Your data stays in data/aso-tracker.db, so everything is still there the next time you run npm start.

Using a different port: PORT=5000 npm start (macOS/Linux) or set PORT=5000 && npm start (Windows cmd). To keep settings permanently, see Configuration.

3. First-time walkthrough

  1. Add your app. Click + Add (top left).
    • Paste your App Store link (e.g. https://apps.apple.com/us/app/my-app/id123456789) and/or your Google Play link (e.g. https://play.google.com/store/apps/details?id=com.example.app). If the app is on both stores, add both so they're grouped as one app. A bare App Store ID or Play package name also works, or use search by name.
    • Pick the countries to track (US is preselected; add as many as you like).
    • Click Add app.
  2. Add keywords. In the Keywords tab, type terms separated by commas or new lines and click Track. If the app has several countries, choose whether the terms go into the current country only or all of them. Each keyword is checked right away on every platform.
  3. Switch platform and country with the two switchers under the app name (App Store | Google Play and 🇺🇸 US | 🇬🇧 GB | …). Every tab follows that selection. The All platforms & countries grid at the bottom of the Keywords tab shows every rank side by side.
  4. Add competitors. In the Competitors tab, click + Add competitor and paste a link or search. A competitor belongs to one platform and is compared in every country you track. You'll then see who outranks you on each keyword.
  5. Add another country or platform later from the Settings tab (or the + Country / + Google Play shortcuts). When adding a country you can copy the keywords from an existing one.
  6. Add more apps. Click + Add again. The Overview page (click ASO Tracker top left) lists every app × platform × country with top-10 counts and 7-day movement.
  7. Rewrite your listing. Click ✍ Rewrite listing (Keywords or Claude tab) to get a store listing for the current platform and country that's built around your best keyword opportunities, checked against the store's limits and rules, with a Copy button on every field. See Rewrite listing.
  8. Try the rest of Claude. In the Claude tab: Suggest keywords, Analyse reviews, or ask anything. See Connect your Claude.

4. How it fits together

App  (e.g. "Habit Tracker")
├── Platforms     App Store listing and/or Google Play listing
├── Countries     us, gb, de, …  (each has its own keywords, ranks, ratings, reviews)
├── Keywords      belong to one country; ranked on every platform
│                 → one rank history per keyword × platform
└── Competitors   belong to one platform; tracked in every country
                  → their rank is recorded on each of your keyword checks
What Per
Keyword rank, rank history, top 10, difficulty keyword (country) × platform
Popularity estimate keyword (country) × platform
Rating, rating count, version, title, subtitle platform × country
Reviews platform × country (filterable to "all countries")
Competitor metadata and ranks competitor (platform) × country

Metrics

  • Rank: position in store search. Checks the top 200 results on iOS and 250 on Google Play; – means not found.
  • Δ / 7d: change since the previous check / since 7 days ago. new = entered the results, out = dropped out.
  • Popularity (0–100): an estimate based on store autocomplete. The fewer letters you have to type before the store suggests the term, the more it's searched. It's recalculated weekly, or on demand with estimate.
  • Difficulty (0–100): how hard it is for your app to break into the current top 10. Each of those apps is compared with your listing's rating count (and, less heavily, star rating) in that country: about 50 when they have as many ratings as you, 75 at 10× more, 100 at 100× more. Your own app doesn't count against you if it's already in the top 10. Until your listing has a rating count for that country, it falls back to the top 10's absolute strength. It's recalculated on every rank check, so it drops as your app gains ratings.

Popularity and difficulty are heuristics, as in every third-party ASO tool. Use them to compare keywords, not as absolute numbers.

5. Connect your Claude

The tracker picks whichever of these it finds. No key is ever stored in the repo.

Option A: your Claude subscription, no API key (recommended). The tracker calls the claude CLI in headless mode, so usage comes out of your existing Claude plan. It needs the command-line tool: the Claude Code extension for VS Code/JetBrains and the Claude desktop app don't add a claude command to your terminal.

  1. Install the CLI with one of these:

    # macOS / Linux
    curl -fsSL https://claude.ai/install.sh | bash
    
    # Windows (PowerShell)
    irm https://claude.ai/install.ps1 | iex
    
    # Any OS with Node (you already have it for the tracker)
    npm install -g @anthropic-ai/claude-code
    
  2. Open a new terminal so it picks up the new command, then check it with claude --version.

  3. Run claude once and log in. Type /exit when you're done.

If you get claude: command not found or "The term 'claude' is not recognized", see Troubleshooting.

Option B: Anthropic API key (pay as you go). Create a file called .env in the project folder (it's git-ignored) containing:

ANTHROPIC_API_KEY=sk-ant-...

Restart npm start. The top bar shows which connection is active (Claude: Claude Code or Claude: API). To force one, set ASO_AI_PROVIDER=api or cli.

Claude always works on the platform and country you have selected. It sees that listing's metadata, keywords with ranks/popularity/difficulty, competitors and recent reviews, and writes keyword suggestions in that country's language.

Rewrite listing

✍ Rewrite listing writes the fields for the platform you're on, ready to paste:

App Store Google Play
App name (30), subtitle (30), keyword field (100), promotional text (170), optionally the description (4000) App name (30), short description (80), full description (4000)

How it works:

  1. Opportunities: your tracked keywords in that country are scored as popularity × (1 − difficulty), weighted by how much room there is to climb. Each is labelled keep (rank 1–3), push to top 3 (4–10) or opportunity (11+ or not ranking). Claude is told to keep the winners and move the best opportunities into the fields that carry the most search weight.
  2. Platform rules are part of the prompt: character limits, Apple's keyword-field conventions, and Google Play's metadata policy (no emojis, ALL CAPS, "best"/"#1"/"free" claims, keyword stuffing, testimonials or competitor names).
  3. Checks in code before you see anything:
    • Every field's length is checked.
    • The iOS keyword field is cleaned: no spaces, no duplicates, no words already in the name/subtitle, trimmed to fit 100 characters.
    • A name or subtitle that comes back too long gets one cheap "shorten this" pass.
    • Each field is checked for claims, emojis, caps, competitor names and over-repeated keywords.
  4. You get each field with its character count (e.g. 26/30), a ✓ or the issues found, the current text for comparison, a Copy button, a Copy all button, two alternative name/subtitle pairs, and which keyword went where.

It also tells you where to paste (App Store Connect / Play Console). A rewrite typically uses about 3.5–4k input and 2–3.5k output tokens. Apple counts the keyword field in bytes, so for non-Latin languages check the count in App Store Connect.

Keeping token usage low

Every Claude feature is built to use as few tokens as possible without hurting the answers:

Saving How
Send only what each task needs Review analysis gets reviews but no description or competitors; listing rewrites get the description, scored keyword opportunities and only a few reviews; and so on.
Compact format Data is sent as short term|rank|pop|diff style tables, not JSON. Descriptions and reviews are trimmed, whitespace collapsed, duplicate and empty reviews dropped, and reviews capped by a character budget (1–3★ first for review analysis, since they hold most of the signal). Together this is ~75–80% fewer input tokens than sending everything.
Short answers Prompts ask for no preamble, word limits, and 12-word reasons on keyword suggestions.
Right-sized effort Keyword suggestions and listing rewrites use medium effort; review summaries, questions and the "shorten this" fix use low. Effort mostly controls hidden "thinking" tokens.
Lean Claude Code calls With the Claude Code option, the tracker runs claude from a temp folder with no tools, MCP servers, project settings or skills, which cuts its fixed overhead from ~5.5k to ~1.4k input tokens per call.
Reuse instead of re-ask If you run the same task on the same data within 24 hours, the earlier answer is shown instead (zero tokens). Click Run again to force a fresh one.

Each answer shows the tokens it used, and the Claude tab shows your last-30-day total. Typical runs with real data: about 2.5–6k input tokens and 0.7–2.5k output tokens each.

To spend even less, set ASO_CLAUDE_MODEL=claude-sonnet-5-5 (API) or ASO_CLAUDE_CLI_MODEL=sonnet (Claude Code) in .env, or force ASO_CLAUDE_EFFORT=low.

6. Use your data from Claude Code / Claude Desktop (MCP)

The repo includes an MCP server (src/mcp.js) so Claude can query and manage your tracker directly. Its tools are: list_apps, overview, get_app_overview, keyword_rank_history, search_store, add_keywords, remove_keyword, add_app, add_platform, add_country, add_competitor, keyword_ideas, listing_opportunities (platform rules + scored keywords), check_listing (validate text you've written) and refresh.

Claude Code: run claude inside the aso-tracker folder. It picks up .mcp.json automatically (approve it once). Then ask things like:

  • "Which of my keywords dropped this week, on which platform and country?"
  • "Compare my iOS and Android ranks for 'habit tracker' in the US and UK."
  • "Find 10 long-tail keywords for Germany where the top 10 apps have under 1,000 ratings, and track them."
  • "Start tracking my app in Canada and copy the US keywords."
  • "Write my Google Play listing for Germany around my best opportunities, and check it before showing me."

Claude Desktop: Settings → Developer → Edit Config, and add (use your real path):

{
  "mcpServers": {
    "aso-tracker": {
      "command": "node",
      "args": ["--disable-warning=ExperimentalWarning", "/absolute/path/to/aso-tracker/src/mcp.js"]
    }
  }
}

Restart Claude Desktop. The MCP server reads the same data/aso-tracker.db, so it works whether or not npm start is running.

7. Keeping data up to date

  • While npm start is running it refreshes everything every 24 hours, and on launch if a refresh is overdue. You can also click Refresh all (top right) or Refresh on one app.

  • Not leaving it running? Schedule the CLI instead:

    npm run refresh     # refresh every app, platform, country, keyword and review, then exit
    npm run report      # print ranks and 7-day changes in the terminal
    
    • macOS / Linux (cron): run crontab -e and add 15 6 * * * cd /path/to/aso-tracker && /usr/local/bin/npm run refresh >> data/refresh.log 2>&1 (find your npm path with which npm).
    • Windows: open Task Scheduler → Create Basic Task → Daily → Action Start a program: npm.cmd, arguments run refresh, Start in: your aso-tracker folder.

Rankings move during the day, so checking at the same time daily gives the cleanest trend lines.

How long a refresh takes: Apple allows roughly 20 requests per minute, so requests are spaced out. Each keyword needs one search per platform, plus a weekly popularity estimate (a handful of autocomplete requests). Roughly: 30 keywords × 2 platforms × 2 countries takes a few minutes.

8. Configuration

Everything works with no configuration. To change something, copy .env.example to .env and uncomment what you need:

Variable Default What it does
ANTHROPIC_API_KEY – Use the Anthropic API for Claude features
ASO_AI_PROVIDER auto Force api or cli
ASO_CLAUDE_MODEL claude-opus-5-5 Model when using the API
ASO_CLAUDE_EFFORT per task Force one effort for every task: low, medium or high
ASO_AI_CACHE_HOURS 24 Reuse an identical earlier Claude answer for this long; 0 turns reuse off
ASO_CLAUDE_CLI_MODEL CLI default Model alias for Claude Code, e.g. sonnet or opus
PORT 4321 Web server port
HOST 127.0.0.1 Set 0.0.0.0 to open it to your LAN (it has no login, so never expose it to the internet)
ASO_REFRESH_HOURS 24 Auto-refresh interval while running; 0 turns it off
ASO_DB_PATH data/aso-tracker.db Where the database lives
ASO_REQUEST_GAP_MS 1500 Minimum gap between requests to the same store
ASO_PLAY_LANG per country Force one Google Play language everywhere (by default DE uses de, FR uses fr, …)

9. Updating, backups and resetting

  • Update: git pull && npm install, then restart. Your data in data/ is kept.
  • Back up: copy data/aso-tracker.db while the server is stopped.
  • Move to another computer: copy the data/ folder across.
  • Start over: stop the server and delete the data/ folder.

.env and data/ are git-ignored, so your keys and tracking data never end up on GitHub.

10. Troubleshooting

Problem Fix
SyntaxError / node:sqlite not found / --env-file-if-exists is not allowed Your Node is too old. Install Node 22.13+ (node -v).
EADDRINUSE Port 4321 is taken. Run with PORT=5000, or stop the other process.
"Claude: not connected" Install Claude Code and run claude once to log in, or add ANTHROPIC_API_KEY to .env, then restart.
claude: command not found / "The term 'claude' is not recognized" The Claude Code CLI isn't installed. The VS Code/JetBrains extension and the desktop app don't provide it. Install it (see Connect your Claude), then open a new terminal.
Claude Code is installed but not detected The claude command must be on your PATH for the terminal running npm start. Open a new terminal after installing. The native installer puts it in ~/.local/bin (Windows: %USERPROFILE%\.local\bin); add that folder to your PATH, or set ASO_CLAUDE_CLI=/full/path/to/claude in .env (Windows: ASO_CLAUDE_CLI=C:\Users\<you>\.local\bin\claude.exe).
403 Forbidden from itunes.apple.com in the log Apple's rate limit. The tracker waits and retries automatically. If it keeps happening, raise ASO_REQUEST_GAP_MS to 3000.
A keyword shows – everywhere It isn't in the top 200 (iOS) / 250 (Play) results. Try a more specific long-tail phrase.
Google Play rating shows – for a country Play doesn't show a rating there yet (too few ratings in that country).
Icons don't load They come from Apple/Google image servers, so they need an internet connection.

11. Where the data comes from

All sources are public and need no credentials:

  • App Store: Apple's iTunes Search/Lookup API (search order and metadata), the customer-reviews RSS feed, the search-hints (autocomplete) endpoint, and the public app page (for the subtitle, which the API doesn't return).
  • Google Play: the google-play-scraper package, queried per country in that country's language.

Good to know:

  • The iTunes Search API's order closely tracks, but isn't guaranteed identical to, what the App Store app shows a given person. That's true of most ASO tools.
  • Apple Search Ads search-volume data isn't used (it needs an Apple ads account), so popularity is the autocomplete-based estimate above.
  • The stores only expose recent reviews (Apple: last ~500 per country; Play: newest ~150 per fetch), so your review archive grows the longer the tracker runs.

12. Contributing

Contributions are welcome. See CONTRIBUTING.md and the Code of Conduct; changes between versions are in the CHANGELOG. In short: fork, branch, run npm test, and open a pull request. Every pull request needs passing CI and the maintainer's approval before it's merged. Report security issues privately (SECURITY.md).

Licensed under the MIT License.

Project layout

src/server.js         Express API + daily auto-refresh
src/tracker.js        apps / platforms / countries / competitors, rank checks, metrics, refresh
src/stores/           App Store + Google Play connectors
src/ai.js             Claude (API or Claude Code CLI) + ASO prompts
src/listing.js        store field limits, policy rules and listing checks
src/mcp.js            MCP server for Claude Code / Desktop
src/cli.js            npm run refresh / report
src/db.js             SQLite schema + queries (node:sqlite, nothing to compile)
public/               dashboard (vanilla JS + Chart.js, no build step)
test/                 offline tests (npm test)

Explore related projects

Loading…