@asolens/mcp
See how your app really performs in App Store search — and how much to trust
every number you get.
ASOLens gives your AI assistant live App Store data. You ask a question in plain
language; it goes and looks.
claude mcp add asolens -s user -- npx -y @asolens/mcp
Most of it needs no account and no API key — install it and start asking. Only
three things need a credential you set yourself: daily rank tracking, reading
your own listing, and search volume (which is
under development).
What you can do with it
- Find where you rank for any keyword, in any of 17 storefronts — and how
many apps you were ranked against, which is what decides whether the rank
means anything at all.
- Check what a keyword really means to searchers before you build a strategy
on it. That is the example below, and it is the thing a rank alone cannot tell
you.
- Audit your keyword field — which words are working, which are dead weight,
and which could not be tested.
- Size up the competition — who owns your niche, where they are weak, and
what their users complain about.
- Prove a change worked. Snapshot before, ship the metadata, diff after.
- Watch rank over time with a hosted daily tracker. This is the one part
that needs a key.
The thing a rank cannot tell you
Ask the App Store what people type after division:
division -> the division resurgence · division math games · the division 2
division games · division math · division flash cards
division 2 map · division mobile · division two
lexus, a division of toyota motor sales, u.s.a.
Three unrelated audiences in one word: people hunting Ubisoft's shooter, people
wanting maths practice, and someone looking for a car dealership. Ranking near
the top for division tells you nothing about which of them you reached.
It is not a rare case:
- After
addition, the top two suggestions are addition financial and
addition financial credit union — a credit union.
- After
table, people type open table, tablecheck, tabelog — restaurant
booking — and tableau, the business-intelligence tool.
A maths app can rank beautifully for all three and get no users from any of
them. ASOLens checks this for free, in every storefront, before you commit.
(Measured 2026-09-06 in the us storefront. Autocomplete drifts — run it
yourself and see what you get.)
What makes it different
Every number tells you how much to trust it. Each value comes back labelled
observed (with where it came from and when), modelled (with the model and
the inputs it used), or unavailable (with the reason, and what would fix it).
No score with hidden inputs, ever.
It refuses to guess. No download estimates, no revenue estimates. Nobody
outside Apple knows those, and a number you cannot check is worse than no number
— because you will act on it.
It tells you when its own answer is suspect. That is the unusual part:
- It tests its probe word against the real store before trusting it. A word your
own app already dominates makes every keyword look perfect — one auto-picked
word read a keyword field as 29 of 29 words working, which was pure brand
recall. Words like that are detected and rejected now, and it says so.
- It separates real placements from arithmetic ones. Ranking in the top 10 of a
search that returns 7 apps is not a result, and is counted separately.
- It flags a keyword it could not test, rather than scoring it anyway.
It runs locally and needs no account. Storage is a SQLite file in
~/.asolens/, and with no credentials set it reaches only Apple's public
endpoints, carrying no key, no account and nothing that identifies you or
your install. Three features reach past that, and each needs credentials you
set yourself — see What leaves your machine.
It cannot change your listing. ASOLens only ever reads from Apple. There is
no write path to your App Store record, for any tool.
Keyword search volume (under development)
Not ready for general use. Search volume is the one feature here that
needs an outside account (DataForSEO) and spends real money on every call.
There is no billing and no managed key yet, so you would have to bring your
own credentials and pay per lookup. It works, and the tools ship — but treat
it as unfinished and expect it to change.
Everything else in this README is free, needs no account, and is ready to
use. If you are evaluating ASOLens, you can skip this section entirely.
If you are still reading, the rest of this section is what we learned paying for
it, and the short version is: volume is us-only, from every source we
tested. Every other signal works in all 17 storefronts. That is not a
limitation of this tool but of the data that exists:
- DataForSEO's Apple dataset is United States + English only. Their docs
for the endpoint say so twice, every other storefront is rejected with
40501 Invalid Field: 'location_code' (verified live for all 16), a
second Apple endpoint (app_competitors) behaves identically, and
DataForSEO support confirmed it in writing: the Labs Apple
keywords_for_app endpoint is "limited to Location: United States,
Language: English."
- Do not buy their suggested alternative. DataForSEO support offers
app_data/apple/app_searches for other storefronts. It is a paid endpoint
that returns App Store SERP rankings — their own docs describe it as
"a list of apps ranking on the App Store for the specified keyword" — not
volume. That is precisely what this server's search_ranks already
returns, free, straight from Apple, in every storefront. Support's own
sentence is the clearest framing: "App Store SERP rankings are not the
same as App Store keyword search volume or popularity."
- Apple Ads is not the escape hatch either. Its Search Popularity looks
like the obvious per-storefront substitute. At the 1–5 scale the web UI
exposes, it cannot resolve a market the size of Sweden: measured in one
panel,
spel (Swedish for "game"), matematik, barnspel, glosor and
two established local competitor apps all returned 1 of 5 — identical to
terms known to be near-dead. Only global names (instagram, tiktok) reach
5/5. Reaching even that requires a full ad-account signup with a legal
entity name, tax ID, registered address and payment method, and the
currency and time-zone choices are permanent. Third-party blogs describe a
finer 5–100 index over the Apple Ads API; Apple documents no such field on
the Campaign Management API's Keyword object, so treat that as unverified
and do not sign up expecting it.
Even inside us, a keyword can come back unpriced — and a blank is not a
demand signal. No vendor sells "volume for this keyword". DataForSEO's Apple
data exists only as "the keywords this app ranks for", so a term gets a number
exactly when one of the competitor apps the report queried happens to rank for
it. That is a fact about which competitors were reached, not about the term.
There is a second reason a blank appears, and it matters as much: a
competitor's ranked list is checked two ways, and each one supports a
different strength of claim. Its unfiltered window returns the app's
top 50 by volume, while a single app can rank for thousands — so a term
below that window is simply not found there, and a miss says nothing about
whether the app ranks for it at all. niche_report/keyword_table then
look up any term the window missed by name, which searches the app's
FULL ranked list, not just the window (and price_keywords does the
same, on demand, for any keyword list you already have) — a real cost, one
DataForSEO task fee per 150 still-missing keywords per app. So a blank comes
in two strengths: not asked (window-only; the term could easily rank
below row 50) and asked by name and still not found (the whole list was
searched, so "none of the competitor apps queried ranks for this keyword"
is now a supportable claim — each unavailable reason says which one you got).
Measured 2026-09-02 in us: math for kids came back unpriced — while 248
apps compete for it, led by Khan Academy and Prodigy. Its demand is obviously
large. Read a blank as "we could not price this", never as "nobody searches
this" — and even the stronger "asked and not found" reason is a fact about
which apps were queried, not about the keyword: it may be searched constantly
and simply belong to apps outside the set reached. Neither blank is ever
evidence of low demand.
So the tool is built to be useful without volume. Ranks, keyword
coverage, audit_keywords, cohesion, autocomplete depth and low-star reviews
all work in every storefront, and in practice they are what produce
actionable changes — every metadata change shipped from a real audit this
week came from those, not from a volume number.
The closest thing to a demand signal that does work everywhere is what Apple
autocompletes. audit_keywords shows, for each word in your field, what the
people typing it are actually searching for — which is how a keyword ranking
#2 of 16 turned out to be serving people looking for football league
tables: the word was tabell, Swedish for table — a multiplication table to
a maths app, a league table to everyone else. See
The thing a rank cannot tell you.
Honesty rule. Every number this server returns is labelled one of three
ways, and the label travels with the value instead of being buried in prose:
- observed — read straight from Apple, with the source and the time it
was fetched (e.g. rating, review text, search rank).
- modelled — computed by ASOLens from observed data, with the model
name and its inputs shown (e.g. the weakness and difficulty scores; the one
exception is
niche_report, which omits the per-row model name/inputs by
default to keep large reports small — pass include_inputs: true to get
them back).
- unavailable — ASOLens does not have this in the current tier, with
the reason and what would unlock it (e.g. keyword search volume).
Nothing is ever presented as observed fact when it was actually guessed or
modelled. If a payload doesn't say observed/modelled/unavailable on a
field, the field is a plain observed passthrough (e.g. rank, resultCount)
and it also carries day/fetchedAt/fromCache so you know how fresh it is.
Install
Requires Node.js >= 22.13.0 (needed for the built-in node:sqlite
module — check with node --version; there is no separate install step for
the database).
Claude Code
claude mcp add asolens -s user -- npx -y @asolens/mcp
-s user makes ASOLens available in every project, which is usually what
you want — you audit your app from your app's repo. Drop the flag to add it
for the current project only, or use -s project to commit the registration
into a repo for your team. Check it with claude mcp list, then restart
Claude Code.
Claude Desktop — add to your MCP config file:
{
"mcpServers": {
"asolens": {
"command": "npx",
"args": ["-y", "@asolens/mcp"]
}
}
}
Codex — add to config.toml (check your Codex version's docs — the MCP
config key and format have changed across releases):
[mcp_servers.asolens]
command = "npx"
args = ["-y", "@asolens/mcp"]
The first run creates ~/.asolens/ (config file + SQLite database) and
prints a ready line on stderr once connected. To remove it again:
claude mcp remove asolens -s user.
Recipes
ASOLens has no CLI — you talk to your assistant, and it calls the tools. So
every example here is just a sentence you type.
| Is my keyword field pulling its weight? | "Audit my keyword field in br." — worked example |
| Which market should I work on next? | "Compare jp, br, mx and de for my app." — worked example |
| Did my metadata change actually help? | "Snapshot these keywords as 'before' for br." …ship the change… "Now diff 'before' against 'after'." — worked example |
| Does this keyword mean what I think it means? | "What ranks for 'division' in us, and what else do people search near it?" — worked example |
| Are these two keywords the same search? | "Compare 'math games' and 'math games for kids' in my main market." — worked example |
| Who am I actually competing with? | "Build a niche report for these three keywords against my app." — worked example |
| What do users actually complain about? | "Pull the low-star reviews for app 284882215 in us." |
| Am I gaining or losing rank over weeks? | "Track 'math games for kids' in us for my app." …then any time later… "Show me its rank history." — worked example |
A first session
If you have just installed it and want the shortest useful path:
- "Find my app on the App Store." — resolves the id everything else uses.
- "What ranks for
<your main keyword> in <your biggest market>?" — the
ground truth you are about to reason from.
- "Suggest autocomplete keywords for
<that keyword>." — free, and the
fastest way to find out whether searchers mean what you assume. This is the
step that catches a division before you build a strategy on it.
- "Audit my keyword field in
<that market>." — needs App Store Connect
credentials; without them, steps 1-3 still work.
Nothing here can change your App Store listing. ASOLens only ever reads
from Apple — the App Store Connect client issues no write of any kind, not for
any tool. It writes plenty locally: almost every tool caches what it fetched
into the SQLite file under ~/.asolens/, which is what makes a second call
cheap and a snapshot_diff possible. Two writes leave your machine, neither
of them to Apple: track adds rows to your own list on the tracking server,
and a DataForSEO lookup POSTs an app id to create a billable task -- carrying
the keyword text too, when you are pricing keywords by name.
Config
Settings live in ~/.asolens/config.json, created on first run. Each one can
be overridden per run with an environment variable.
Settings
defaultCountry | ASOLENS_DEFAULT_COUNTRY | us | Storefront used when a tool call omits country. |
verbose | ASOLENS_VERBOSE | false | One line per remote call on stderr, plus a calls array on every response — see Verbose call log. |
| — | ASOLENS_HOME | ~/.asolens | Where the config file and SQLite database live. Point it elsewhere to run isolated instances. |
apiBaseUrl | ASOLENS_API_BASE_URL | https://api.asolens.danielhan.dev | Where the three tracking tools look for the hosted server. Only consulted when apiKey is set; point it at your own if you run one. |
Optional credentials
All three are off unless you set them, and none is required to install.
Without them, keyword_table and niche_report still run in full --
volume just comes back unavailable with a reason and a fix, never an
error. price_keywords is the one exception: it exists only to buy this
data, so without credentials it has nothing to do and returns unavailable
for every keyword rather than an error.
DATAFORSEO_LOGIN
DATAFORSEO_PASSWORD | Keyword search volume in keyword_table and niche_report; all of price_keywords (under development — see notice) | Paid, and us only — details |
ASC_API_ISSUER_ID
ASC_API_KEY_ID | Your own listing text and private keyword field: my_listing, audit_keywords, compare_markets. Two more use the key once it exists: keyword_ranks (unless coverage: false) and snapshot_save (always) | Free — details |
apiKey in config.json or ASOLENS_API_KEY | Day-by-day rank history from the hosted server: track, rank_history, tracking_status | Paid, and issued by hand for now — details |
Two keys you will see but need not set
config.json also contains installId, a random UUID generated once and sent
nowhere in this release, and shareCache, reserved for a future shared-cache
tier and with no effect today. Both are listed here only so they are not a
surprise when you open the file.
What leaves your machine
Requests to Apple's public App Store endpoints — search, lookup,
autocomplete, reviews — which are what answer the tool calls. Worth knowing:
audit_keywords sends each comma-separated entry of your private keywords
field (up to 30) to Apple as a probe, because measuring whether a word works
means asking the store for it. It goes to two endpoints, not one: search, and
— unless you pass suggestions: false — autocomplete. compare_markets runs
that audit once per storefront, up to eight, reading whichever localisation
each storefront resolves to. How much of your listing that reaches depends on
how localised your app is: a fully localised one sends up to eight different
keyword fields, plus anchors from eight localised names and subtitles; an app
with a single localisation sends that one field eight times, because Apple
serves the primary locale wherever a localisation is missing. It never asks
autocomplete, which it turns off deliberately.
Then three paths you have to switch on yourself, by setting the credentials
above:
- DataForSEO, for keyword volume: sends the app ids being priced through, a
country/language pair, and -- since 0.3.0 -- the keyword text itself,
because naming keywords to the vendor is how a term outside an app's free
top-50 window gets priced at all. The apps are the competitors a report
found, which can include YOUR app when it ranks for those keywords: nothing
excludes it. (This said "never your app, never your keywords" until
2026-09-07 -- true before 0.3.0, false the moment by-name pricing shipped.)
- App Store Connect (
api.appstoreconnect.apple.com, a third Apple host
beside the public itunes.apple.com and search.itunes.apple.com), to
read your own listing text: a request signed with
your own .p8 key. Five tools reach it -- my_listing, audit_keywords
and compare_markets by their nature, plus keyword_ranks (whose
coverage defaults on, so pass coverage: false to keep it local) and
snapshot_save (which records coverage with no flag to turn it off).
Apple returns data only for apps that key can see, but that limits what
comes BACK, not what goes out: the request carries whichever app id you
asked about, and for anyone else's app it returns nothing and coverage is
silently absent.
- The ASOLens tracking server (
api.asolens.danielhan.dev, overridable
with apiBaseUrl), reached only by track, rank_history and
tracking_status, and only when you have set an ASOLens API key. This is
the one path that sends your own app and keywords: track posts the
(country, keyword, app id) rows you ask it to watch, rank_history asks for
one of them back, and tracking_status sends nothing but the key. With no
key set, the client returns "unconfigured" before it opens a connection.
There is no telemetry. Your installId is sent nowhere, and vendor results
are never pooled into a shared cache — they stay on your machine, tied to the
account that paid for them. Nothing is sent about you except what a tool call
asks for -- which, for audit_keywords and compare_markets, includes words
read from your own listing rather than typed by you.
Keyword search volume (DataForSEO)
Under development — see the notice above before relying on this.
Apple doesn't publish App Store search volume anywhere, and there is no
endpoint that returns it for an arbitrary keyword list. The only path in is
via DataForSEO's Labs product: "the keywords a
given app ranks for, with volume." So ASOLens queries the competitor apps
already surfaced by your keywords' own top rankings (free -- they're already
fetched) and merges their ranked-keyword lists into one volume lookup. This
is why niche_report also returns discoveredKeywords: the top 10
higher-volume terms those competitors rank for that aren't in your own
keyword list yet. price_keywords skips the window entirely and names your
own keyword list to the vendor directly -- see its row in the tools table.
us storefront only -- see the section above
for the evidence and for why the alternatives do not work either. In any
other country volume comes back unavailable saying exactly that, at no
cost, and the rest of the report -- rank, difficulty, weakness, reviews --
is unaffected and works in all 17 storefronts.
- Costs money. Each competitor app queried is a paid DataForSEO call
(typically a cent or two per app, billed by DataForSEO per keyword row
returned).
keyword_table and niche_report query at most 3 competitor
apps per call by default. A keyword the window missed is then looked up
by name, at one more task fee per 150 still-missing keywords per app --
so this can cost more than one call per app when a lot was missed, even
for a competitor app whose window was already free today. Every payload
that spent money carries vendorCost (dollars, that call) so spend is
visible in the conversation, and a verbose-mode call line for a vendor
request always names its cost. If a vendor call fails part-way
through, every tool that spends reports what had already been billed rather
than 0 -- some apps or batches may already have been paid for, and a 0
there would be a false claim about money. price_keywords goes one step
further and reports vendorCost: null when the amount cannot be determined
at all, rather than fabricating a number; niche_report and keyword_table
keep a numeric field, so 0 is the floor they can express. price_keywords also returns
estimatedCost (a min/max range with its reasoning) BEFORE spending.
- Cached per app, per country, per UTC day. A repeat call for a
competitor app already queried today costs nothing -- it's served from the
local SQLite cache. Cross-app or cross-day results are never assumed; a
new day (or a new competitor app) means a new paid lookup.
- Never shared, never pooled. Vendor results are per-install only, same
as the rest of this release -- DataForSEO's terms don't address
redistribution, so results from your paid calls never leave your machine
and are never merged with another install's cache.
- Never
observed. A volume value is always modelled (with
model: "dataforseo-labs-apple" and, with include_inputs: true, the
source competitor app id it came from) -- it's a vendor estimate, not a
number Apple returned.
- Pass
volume: false on either tool to skip DataForSEO entirely for that
call (e.g. to conserve balance), even with credentials configured.
price_keywords has no such flag -- naming keywords by hand is its whole
job, so it always spends when it runs.
Your own listing, and keyword coverage (App Store Connect)
The App Store Connect keywords field is private -- no public endpoint
exposes it -- so for your own apps ASOLens reads it from the App Store
Connect API. Set two environment variables:
export ASC_API_ISSUER_ID=...
export ASC_API_KEY_ID=...
Nothing is written anywhere: the key is read once at startup and held in
memory, never copied into the config file or any payload. Without the
credentials every tool still works -- my_listing returns an unavailable
saying what to set, and coverage is simply absent.
my_listing shows the name, subtitle and keywords field per locale for the
live iOS version (a draft in review is reported separately -- what you
are about to ship is not what is being indexed today). It also tells you
when a storefront has no localization at all and Apple is serving your
primary locale there instead.
keyword_ranks then reports coverage per keyword: which of its words
appear in your indexed text, checked across name + subtitle + keywords
together, because Apple indexes them as one bag. Live, in br:
| tabuada de multiplicação | #11 | 3/3 | tabuada←subtitle, multiplicação←keywords |
| jogos de matemática | #19 | 3/3 | |
| jogos de matemática 1 ano | #34 | 4/5 | |
| matemática divertida para crianças | — | 2/4 | missing divertida, para |
The first row is why coverage is not computed per field: it is only covered
because two different fields each supply a word.
looseOnly: true is a weaker match than it looks. A token normally has
to appear in your text exactly. looseOnly means it matched only after
accents were stripped from both sides -- right when you wrote
multiplicação and the query says multiplicacao, but it crosses languages
carelessly: checking the Swedish phrase matte för barn against the
English listing marks för covered, because stripping accents turns it
into for, which sits in "Practice for Years 1-3". That is a false
friend, not a match. Read looseOnly: true as "possibly", and check the
fields it claims to have matched in.
Coverage is an observation about your text, not a ranking model. Apple
stems and matches in ways nobody outside Apple can enumerate, so a missing
word is a lead worth investigating, not proof you cannot rank -- and full
coverage promises nothing. Two live cases where coverage is 2/2 and the
app does not rank at all: measured in br and au, two queries whose words
were all present in the listing and which still returned nothing.
Coverage is necessary, not sufficient. Common function words (de, para)
are counted too; whether Apple ignores them is not something this tool can
observe, so weigh missing content words more heavily.
What coverage is genuinely for is settling questions about the indexed
text that no amount of rank-watching can answer. A real one: does Apple
split compound words? The Swedish listing contains "Matteträning" and
"Mattespel", so whether the app already covered the bare word matte
was an open question. Coverage answers it by reading the text: for the query
matte för barn, matte comes back not covered -- Apple's index holds
the compounds, not their parts, so the bare word had to be added explicitly.
That had been an unverified hypothesis for hours; one coverage call settled
it.
Walkthroughs
Real runs, with real numbers, measured on the dates given. Each one is a
question a solo developer actually has — and several of them are here because
the obvious answer turned out to be wrong. Exactly one example below is an
illustration rather than a measurement, and it says so where it appears.
Which market to work on (compare_markets)
Measured across four non-English storefronts at once (jp, br, mx,
de) — comparing markets is the whole point of this walkthrough. Foreign
words are glossed in English the first time each appears.
Runs the keyword-field audit across several storefronts and puts them side
by side. This is the question a solo developer with sixteen locales actually
has, and no single-market answer settles it.
compare_markets app=<your bundle id> countries=[jp, br, mx, de]
market anchor top50/of ratings median (n)
jp 算数ゲーム 12/29 1 240 (55)
br matemática 1/11 0 8 (43)
mx matemáticos 2/11 0 117 (44)
de lernspiele 1/11 0 2127 (42)
The anchor is a column because it is the caveat. Each market is audited
with its own anchor against its own keyword field in its own language, so
the medians are not commensurable — 8 and 2,127 are not the same kind of
number. Showing the anchors lets you see that rather than being told it. The
response says whether the spread is large enough to survive: a ~266x range
is far too big to be an artefact, so the ordering is real even though the
numbers are not comparable one to one; a 2x range would not be.
Rows come back in the order you asked for and are never sorted by median,
since sorting would imply exactly the ranking the medians cannot support.
Read the ordering, not the exact counts. inTop50 moves with the
anchor, because a mechanically built probe can ask a question nobody types.
Measured in br on one day, the same eleven words scored 1 of 11 with
the mechanical anchor and 3 of 11 with natural phrasing — phrases like
soma e subtração (Portuguese for "addition and subtraction") or
exercícios de matemática (Portuguese for "maths exercises"), instead of a
generated anchor-plus-word pair:
soma e subtração (natural) | #23 | 28 |
the same word, <anchor> <word> (mechanical) | #118 | 170 |
exercícios de matemática (natural) | #35 | 175 |
the same word, <anchor> <word> (mechanical) | #105 | 149 |
Across two independent runs of four markets the ordering was stable and
the counts moved by up to 3x. So compare markets by their ordering, their
rating counts and their medians — and where you know a market's real
phrasing, run audit_keywords for it with probes= and use that count. A
long notReturned list under a mechanical anchor usually means the probe is
wrong, not the words.
Bring your own phrasing where you have it. anchors= and probes=
override per market, so a first pass on auto anchors can be refined market
by market without leaving the tool:
compare_markets app=... countries=[br, de] probes=[
{country: "br", word: "soma", probe: "soma e subtração"},
{country: "br", word: "exercícios", probe: "exercícios de matemática"},
]
br 1/11 -> 3/11
The response marks which markets were refined (anchorSource,
probeOverrides) and warns when the table is mixed: a count from
natural phrasing and one from a generated phrase are different
measurements, so a refined market and an unrefined one are less comparable
to each other than either is internally. Refine all of them or none for a
fair ranking. An override naming a storefront that is not being compared is
rejected rather than ignored, since a silent no-op would leave you believing
your phrasing was used.
Anchors are tested, not guessed. An anchor the app already tops the
results for is its own brand, and every probe built from it would return the
app whatever word was under test. That is not hypothetical: Japanese has no
spaces to tokenise on, so the first auto-anchor for jp was マスクエスト —
the transliterated brand — and it scored 29 of 29 words inside the top
10. The audit now searches each candidate alone first and discards any the
app ranks top-3 for, reporting which it skipped and why. With a real anchor
the same market scores 12 of 29. If every candidate is brand-like, it says
the results are unusable rather than presenting them.
Before/after a metadata change (snapshot_save, snapshot_diff)
Measured mostly in the Brazilian storefront (br), with a Swedish (se)
example below showing how pairs covers more than one market at once. The
mechanics are the same everywhere; only the words differ.
Apple publishes no rank history, and this tool's own cache is per-UTC-day.
So the "before" of a before/after has to be captured deliberately, while the
old build is still live -- once you ship, it is gone.
snapshot_save name="pre-release" app=<your app id> countries=["br"] keywords=[
{keyword: "matemática divertida", label: "target"},
{keyword: "jogos de matemática", label: "regression watch"},
{keyword: "jogos de matemática", label: "control"},
]
When storefronts need different keywords, pass pairs instead of the
keywords x countries cross product:
snapshot_save name="baseline" app=<your app id> pairs=[
{keyword: "jogos de matemática", country: "br", label: "control"},
{keyword: "matemática divertida", country: "br", label: "target"},
{keyword: "matematik för barn", country: "se", label: "control"},
{keyword: "times tables", country: "au", label: "control"},
]
A real baseline of 13 Brazilian and 9 Nordic keywords is 22 rows as pairs
and 198 as a cross product, nearly all of them nonsense ("matteträning" —
Swedish for "maths training" — in France). Without pairs it has to be split into two snapshots -- and then two
diffs, both of which someone has to remember exist later. keyword_ranks
takes the same pairs input, and returns rows in the order given.
Each row keeps the rank (including null -- "did not rank" is a value,
and "unranked → ranked" is usually the very thing being tested),
resultCount, the top 10 app ids, keyword coverage, and your rating count
against the competitor median -- which is over the union of each keyword's top
10 results, the apps at the TOP of those lists rather than the storefront --
with competitorSampleSize and competitorSampleTopN beside it, because a
median over 10 apps and one over 50 are the same shape and mean different
things, and the size alone cannot tell you how deep the sample went.
audit_keywords draws its median from a shallower slice, and niche_report
computes a third one that INCLUDES your own app and drops bundles -- so a
median from one tool is not comparable with a median from another even when
the depths happen to match, which at niche_report's default they do.
snapshot_diff before after groups rows by your labels and reports, per
row: the rank change, how resultCount moved, which apps entered or left
the top 10, and -- when your rank is inside the stored top 10 -- how many of
the apps above you are new.
Read the controls first. If keywords you expected to hold still have
moved, the comparison is drift and the targets prove nothing. That is what
labels are for; they are free text and never interpreted.
Three deliberate refusals:
- No significance or confidence scoring. With small numbers there is no
statistical power, and a confidence label would be theatre. The numbers
and the
resultCount context are shown; you judge.
- No silently dropped rows. A keyword present in only one snapshot is
listed under
onlyInA/onlyInB, because a vanished row is how a
regression disappears from a report.
- Coverage absence is recorded, not omitted. A snapshot taken without
App Store Connect credentials records why, so a later diff cannot read a
configuration change as a change to your listing text.
Auditing your keyword field (audit_keywords)
Primarily measured in the Swedish storefront (se), with comparisons in
de, jp, kr and tw to show how the method holds up elsewhere. Foreign
words are glossed in English at first mention.
Which of the words you spent 100 characters on are actually doing anything?
For each word, audit_keywords searches a phrase where that word is the
distinguishing one -- an anchor your app certainly covers, plus the word
under test:
audit_keywords app=<your app> country=se
anchor: "mattespel" (auto, tested against the store -- override with anchor=)
#7/26 mattespel addition #33/81 mattespel barn
#6/22 mattespel subtraktion #35/67 mattespel matematik
...
Apple returned your app for 12 of 12 probes, but only 11 inside the top 50
and 8 inside the top 10. 2 of those 8 were in result sets of 10 apps or
fewer, where anything returned is inside the top 10 -- discount them and
the real count is 6.
The four words above are ones a real competitor publishes itself, in its own
name and subtitle: "Matematik Kul: lär dig siffror" / "Barn addition och
subtraktion". They are shown here because they are public. Your field is
read only through your own App Store Connect key, is never stored anywhere
but your machine, and appears nowhere in this README. It is not sealed off,
though: auditing an entry means asking the store about it, so each
comma-separated entry (up to 30) goes to Apple's public search endpoint as a
probe, and to autocomplete as well unless you pass suggestions: false. The
search half is the measurement and cannot be avoided; the autocomplete half
can, and compare_markets always does -- it runs only the search probes, once
per storefront, up to eight, reading the localisation each storefront
resolves to.
The Swedish words here: mattespel is "maths game", barn is "children",
subtraktion and matematik are what they look like. The argument below does
not depend on knowing them — only on the shape of the numbers.
It answers the strategic question as well as the tactical one. Same app,
same day, same tool, two storefronts — Germany's anchor is "mathe" (German
for "maths"), Japan's is 算数 (Japanese for "arithmetic/maths"):
| returned | 0 of 11 | 26 of 29 |
| inside top 50 | 0 | 11 |
| your ratings | 0 | 1 |
| competitor median | 2,747 | 243 |
Germany says the apps at the top of these results are out of reach -- no
amount of keyword editing closes a gap of 2,747 ratings to zero. (It does not
say the market is wrong: the median is over the union of each probe's top 5,
so it describes those apps, not the storefront.) Japan says the words are mostly right on a
single rating, with three of its words worth revisiting (they returned
nothing for their probe). Telling those two apart is the entire point of the summary.
The verdict says when its own count is suspect. Two or more words returning
nothing under a generated probe is the tell that the anchor is asking the
wrong question, so the verdict names them and says the count is probably too
low — rather than listing them neutrally beside a number they contradict.
Words the caller phrased themselves get no such excuse: those look genuinely
dead.
Read the summary before the rows. "Returned at all" and "returned where
anyone would see it" are different questions, and only the second one
matters -- 9 of 11 sounds healthy until you notice one of them is inside the
top 50. Where the app sits versus the apps at the TOP of those probes' results
-- not the competitive field, which this number does not measure -- is
reported as two plain numbers for the same reason: in de the same audit shows 0 ratings
against a competitor median of 2,158, which means keyword edits are not
the lever in that storefront at all, whatever the individual rows say. That
is a different problem from a badly chosen word, and worth knowing before
spending an afternoon on the keywords field.
In jp, kr and tw the probe's space is not neutral. Probes are
built by joining an anchor to a word with a space, and those languages do
not use one between words. Measured by comparing full ranked id lists: kr
"수학 어린이" (Korean for "math kids") and "수학게임" (Korean for "math
game")'s counterpart behave completely differently --
수학 어린이 vs 수학어린이 returned byte-identical results, while
수학 게임 vs 수학게임 shared only 12 of their top 25. Japanese pairs
overlapped 23-24 of 25 with ranks shifting (#12 → #16, #168 → #182). So the
space usually barely matters and occasionally matters a great deal -- the
same shape as the accent finding, and the same conclusion: test both rather
than guess. The tool says this in its own output for those storefronts, and
probes= lets you re-test a word with the unspaced form.
Searching each word alone instead would mostly measure how small your app
is, which is why probes are anchored. Measured live in se, every keyword
searched on its own returned nothing findable -- bråk (Swedish for
"fraction") in a field of 220, tabell (Swedish for "table") at #122 of
211, räkna (Swedish for "to count") unranked in 227 -- because a one-word
search is a fight with 200+ apps that a small app always loses. Anchored to
mattespel (Swedish for "maths game"), the same words separate: mattespel tabell #2 of 16, mattespel bråk #4 of 13, mattespel barn (Swedish for
"kids") #33 of 81. That spread is the point. The tool cannot tell
you a word is good in the abstract; it tells you which of your words is
working hardest, which is the decision you face with only 100 characters.
The anchor is tested against the store, not guessed. Each candidate is
searched on its own first and discarded on either of two grounds, with the
reason reported in anchorRejected:
- brand -- your app is already top 3 for it, so every probe would return
you whatever the word was. Live: the auto anchor for
jp was マスクエスト,
the transliterated brand, which scored 29 of 29 inside the top 10 -- pure
brand recall, and a market that looked like the best investment going. With
a real anchor (算数ゲーム, Japanese for "maths game") the same field reads
12 of 29.
- narrow -- its own search returns 50 apps or fewer, so probes built on it
land in fields too small to distinguish a working word from a dead one. Live
in
se: matteträning (Swedish for "maths training") returns 32 apps,
matteträning barn returns 7, and
the audit read 12 of 12 inside the top 10. The next candidate,
mattespel, returns 219 and gives a real measurement.
A probe cannot test a word the anchor already contains. mattespel swallows
spel, so that probe re-runs the anchor; the row is flagged echoesAnchor and
called neither a pass nor a fail rather than scored. echoesAnchor is
three-valued: true echoes, false does not, and null means the check
could not be run at all — the anchor's list could not be fetched, or that
probe returned no apps, or the anchor's own search returned none (which
leaves nothing to compare against even for a probe that returned hundreds). A null is not a false, and
probesEchoingAnchor counts only the known trues. It takes two signals to
detect, because each alone is wrong: practice contains ice and
practice ice is a perfectly good probe, while overlap alone flagged German
kinder at 56% -- a word lernspiele does not contain -- simply because
German kids' learning games are the same apps.
If the anchor still produces a phrase nobody would type, pass anchor=, or
override individual words with probes=[{word, probe}] (natural phrasing like
aprender a contar beats matemática contar). A word that returns nothing is
a lead, not proof -- a different phrasing can rank where one does not.
What each word's searchers actually want
Every word row carries suggestions: what App Store autocomplete says the
people typing that word are looking for. This is the one signal a rank cannot
give you, and reading it is usually the fastest way to find a dead keyword.
tabell was the best-ranking word in a Swedish keyword field -- #2 of 16.
The people who type it want Swedish football league tables:
tabell #2/16 tabellen.se / allsvenskan tabell / fotboll tabell
Ranking first for a word whose searchers want something else is worth nothing.
This is the coverage lesson one step further out: coverage is necessary and
not sufficient, and so is ranking.
The same kinds of word are hijacked in every language, which is worth knowing
before you audit your own:
"learn" verbs -- lära, aprender, apprendre | language-learning apps, in every locale tested |
"count" verbs -- räkna, contar | calorie and step counters |
dividir | PDF splitters and bill-splitting apps |
division | Ubisoft's The Division |
"exercise" -- exercícios, ejercicio | gym and home-workout apps |
school words -- escola, primaire | school admin portals |
Plus outright false friends: French addition is the restaurant bill; Mexican
Spanish kinder is chocolate eggs (it ranks #11 of 18 precisely because that
field is tiny and irrelevant). What survives everywhere is the specific noun
for the thing you actually do -- bruchrechnen (German: "fraction
calculation"), fracciones (Spanish: "fractions"), subtração (Portuguese:
"subtraction").
Free, works in all 17 storefronts, and adds no measurable wall-clock
(autocomplete has its own request lane). It is also the only intent signal
available outside us, where keyword volume cannot be bought at all. Same
caveats as the depth column below: it is prefix completion capped at 10, so
an empty list means nothing popular extends the word rather than that
nobody searches it, and it shows direction, never size. Pass
suggestions: false to leave it out.
Comparing two queries (compare_queries)
Measured in the Brazilian storefront (br). The behaviour is the same
everywhere; only the words differ.
Rank is relative to whoever else is in that result set, so an app at #19 for
one phrase and #131 for another has not necessarily been hurt by the extra
word -- the two searches may simply have different competitors. That
inference is the most repeated analysis mistake in this project's history,
made three times in one session by an experienced caller and once by the
author of this file. compare_queries makes the check one call:
compare_queries a="jogos de matemática" b="jogos de matemática escolares"
country=br app=<your app id>
-> #19 vs #131, 1 of the top 25 shared
"these are substantially different result sets, so do NOT read a rank
difference between them as one query being better"
(jogos de matemática is Portuguese for "math games"; the second query
adds escolares, "school" as an adjective, e.g. "school math games".)
identicalResults: true means Apple answered one search for both, so any
rank difference is noise. A high overlap means the fields are comparable and
a rank gap is real. A low one means you are comparing positions in two
different races. null means both queries returned nothing — there was no
list to compare, so it says nothing either way. (Comparing a query with itself
stays true, empty or not: it is the same search.)
Accent variants (keyword_ranks)
Primarily measured in the Brazilian storefront (br); the closing notes
below also reference Hindi, Japanese, Swedish and German examples. Foreign
words are glossed in English at first mention.
Apple usually treats an accented and an unaccented spelling as two different
searches, sometimes answers both with one identical result list, and nothing
observable tells you which case you are in (16 pairs measured; the obvious
rule fails in both directions). So the only reliable method is to run the
pair -- which is what variants: true does:
keyword_ranks app=<your app id> keywords=["jogos de matemática",
"tabuada de multiplicação", "jogos de matemática 1 ano"]
countries=["br"] variants=true depth=true
The three keywords: jogos de matemática ("math games"), tabuada de multiplicação ("multiplication times table"), and jogos de matemática 1 ano ("math games, grade 1").
| jogos de matemática | #19 | not returned | false |
| tabuada de multiplicação | #12 | #114 | false |
| jogos de matemática 1 ano | #34 | #34 | true |
identicalResults is the bit that matters: true means Apple answered one
query for both spellings, so the spelling you target makes no difference;
false means they are genuinely separate searches and the rank gap above is
real; null means neither spelling returned anything, so there was nothing to
compare — not evidence that the two behave alike. Each variant is one more App Store search, so it counts against the
25 keyword-country pair cap. Accents are only ever stripped, never added --
pass the accented spelling if you want the comparison.
A mark counts as an accent only after a Latin, Greek or Cyrillic letter. Where
the mark is part of the word -- Devanagari vowel signs (गणित, Hindi for
"mathematics"), a kana dakuten (ゲ), Thai tone marks -- nothing is
stripped, no variant is searched and no note appears, because the stripped
string would be a different word or no word at all (算数ゲーム, Japanese
for "arithmetic game", strips to 算数ケーム -- not a spelling of the same
word). Scripts this has not been checked against are left alone rather than
guessed at.
Call it without variants and an accented keyword still gets a note in the
response telling you the plain spelling and inviting you to re-run, because
checking one spelling alone can make a live keyword look dead.
In se and de the note adds a warning: Swedish å/ä/ö and German umlauts
are letters, not accents, so the stripped form is a different word --
useful as "what someone without the right keyboard types", not as an
equivalent spelling.
Keyword cohesion, and competitor subtitles
Measured in the Swedish storefront (se). The behaviour is the same
everywhere; only the words differ.
niche_report keyword rows carry cohesion: how many of that keyword's own
top-N apps also appear in the top-N of another keyword in the same report.
It costs nothing -- it compares results already fetched -- and it catches
something no other signal here can: a keyword that pulls a different
audience entirely.
Measured in se: "lågstadiet" (Swedish for "the early primary grades")
shares 0 of 10 with four maths keywords, which share 2-7 with each
other. Its top results are spelling and alphabet apps. Its difficulty score
is 0, which reads as "easy, go for it".
Genre cannot see this. Every one of those apps -- and the app under audit -- is
in "Utbildning" (Swedish for "Education", the App Store category name), so a
genre-fit score would read 5/5 for the wrong keyword
and the right one alike. That is why this is a cohesion count and not a
category match. Read it as a count, not a score: a long-tail keyword can
legitimately share little.
Competitor rows also carry subtitle and genres. A null subtitle means
Apple did not hydrate that app in these search results -- it hydrates roughly
the top 8 per keyword -- not that the app has no subtitle; call app_snapshot
on that id to settle it.
Autocomplete depth (free, every storefront)
Mostly measured in the Swedish storefront (se), with one Brazilian (br)
example near the end. The behaviour is the same everywhere; only the words
differ.
keyword_table and niche_report carry an autocompleteDepth column: how
many App Store autocomplete suggestions begin with that keyword. It costs
nothing, needs no account, and works in all 17 storefronts -- which makes it
the only demand-ish signal available outside us, where keyword volume
cannot be bought at all. Autocomplete runs on its own request lane, so it
overlaps the searches already in flight: a cold 6-keyword niche_report
measured 4.9s without it and 4.1s with (the difference is network noise).
Read it for what it is. Apple's autocomplete is prefix completion --
9-10 of every 10 suggestions literally begin with the text sent -- so this
counts popular queries that extend your keyword, not searches for the
keyword itself. Two consequences:
- It caps at 10, so it cannot rank head terms. "cool math games"
(316,880 searches) and "math games for kids" (1,109) both score 10.
- A 0 does not mean nobody searches it. It means nothing popular
extends that exact string. "math quiz for kids" scores 0 and is obviously
a real search. The informative range is the middle: 4 for "math games for
adults", 2 for "learn math for kids", 9 for
se "matematik för barn"
(Swedish for "maths for kids"), 0 for se "lågstadiet" (Swedish for "the
early primary grades").
The words beat the number. Measured on one Swedish field, nine of twelve
keywords scored 10, so the count separated almost nothing -- while the
suggestion lists exposed four dead keywords in minutes. Use the count as a
prompt to look closer, never as proof a keyword is dead, and read the actual
suggestions: audit_keywords puts them on every word row (see
The thing a rank cannot tell you),
and suggest_keywords shows them for any term. The clearest case, measured live: in br, "jogos de matemática 1
ano" (Portuguese for "math games, year 1") scores 0 while the app ranks
34th for it, against 52 results and five real competitors above it. Pass depth: false on either tool to
leave the column out.
Verbose call log
Uses the Swedish storefront (se) as an example in the log lines below.
The behaviour is the same everywhere; only the words differ.
Turn on verbose (or set ASOLENS_VERBOSE=1) to see exactly what each
tool call asked Apple and what came back — the fastest way to catch a
wrong-storefront bug (e.g. querying se when you meant us) without reading
the source. The log itself goes to stderr — never stdout, which is the MCP
JSON-RPC channel. The same lines are also returned inside that call's tool
response as calls: string[], so you can see them in the conversation itself
rather than only in the server's log. Note what that means for
audit_keywords and compare_markets: their probe strings are built from
your private keywords field, so verbose mode puts that field in front of your
AI assistant -- for compare_markets, one locale's field per storefront.
[asolens] search se "mattespel" -> 200, 190 results, 1180ms
[asolens] lookup us id=<your app id> -> 200, 1 record, 240ms
[asolens] reviews se id=1609226786 page=1 -> 200, 50 entries, lastPage=10, 300ms
[asolens] hints us "math" -> 200, 10 suggestions, 190ms
If you expected se and see us in these lines (or the reverse), that's the
bug. Off by default, and costs nothing when off.
Watching rank over time (paid)
Every other tool here answers where am I today. Rank moves slowly and
noisily, so one reading rarely tells you whether a change worked. These three
read a hosted server that checks each tracked keyword once a day and keeps the
result — so the history exists whether or not your laptop was on.
This is the only part of ASOLens that needs an ASOLens account — and to be
straight with you: there is no signup yet. No checkout, no self-serve
plan. Keys are issued by hand at the moment, so if you want one, open an issue
or mail the address in bugs on this package. Every other tool is
unaffected and always will be. Once you have a key, put it in
~/.asolens/config.json:
{ "apiKey": "your-key-here" }
or set ASOLENS_API_KEY. Start collecting:
track add=[{keyword: "math games for kids", country: "us", app: <your app>}]
Then, any time later:
rank_history app=<your app> keyword="math games for kids" country=us
Every other example in this section is a real measurement. This one is not —
it shows the shape of the answer. The server went live on 2026-09-01 and 0.2.0
shipped before the first daily pass had run, so there was no genuine history to
print. Passes have run since, but the rows below are still an illustration
rather than a capture — when a real series replaces them it will carry its own
date, like every other measurement here:
day observed rank where it came from
2026-09-02 true 14 server pass pass_2026-09-02
2026-09-03 true 14 server pass pass_2026-09-03
2026-09-04 true 11 server pass pass_2026-09-04
2026-09-05 true null server pass pass_2026-09-05 <- looked; you were not in the results
2026-09-06 false - no observation for this day <- nobody looked
2026-09-07 true 9 server pass pass_2026-09-07
Called without from/to it returns the last 30 days, so a real answer is
30 rows — mostly observed: false until the server has been watching a while.
Those two middle rows are the whole point. observed: true, rank: null
means the search ran and your app was not in it — a real result you can act
on. observed: false means nobody looked that day — a hole in the data. Most
tools collapse both into a gap in a chart, or worse, into a zero. These never
merge, anywhere in ASOLens.
tracking_status answers is this data actually fresh? — when the last daily
pass ran, whether it finished, and how many of your tracked pairs it got to.
Worth asking before you read anything into a flat line.
If the server is unreachable, nothing else stops working. Every other tool
in this README runs locally and is unaffected. rank_history itself falls back
to whatever this machine observed from your own earlier tool calls, marked
serverUnreachable: true — usually far sparser, since it only knows the days
you personally ran a search. It says which it is giving you; it never quietly
passes one off as the other.
Tools
Eighteen tools. Eleven need nothing at all -- no account, no key, no
signup. price_keywords needs DATAFORSEO_LOGIN/DATAFORSEO_PASSWORD to do
anything at all -- without them it returns unavailable rather than working
normally -- and it is
under development. Three more -- my_listing, audit_keywords and
compare_markets -- read your app's keywords field, which Apple keeps
private to the developer, so they need your own App Store Connect API key;
without it they return a labelled unavailable saying what to set, rather
than failing. The last three -- track, rank_history and
tracking_status -- are the paid tier and need an ASOLens API key; without
one they say so plainly and every other tool here carries on exactly as
before. Three tools -- keyword_table, niche_report and price_keywords
-- can spend a little real money on keyword search volume if you set
DATAFORSEO_LOGIN/DATAFORSEO_PASSWORD -- see
Keyword search volume above.
price_keywords is the only one of the three with no volume: false
escape hatch: naming keywords by hand is its whole job, so it always spends
when it runs (and returns unavailable at $0 with no credentials
configured, rather than spending). Without those credentials set, every other
tool is exactly as free as before.
find_app | Looks up an app by id, App Store URL, or name; returns candidate matches. | "Find my app on the App Store." |
app_snapshot | Current listing data for one app plus that developer's other apps in the storefront. | "Give me a snapshot of app in us." |
search_ranks | Ranked apps for one keyword in one country, as the App Store search lists them today. | "What ranks for 'math games for kids' in se right now?" |
keyword_ranks | Where one app ranks across a list of keywords and countries, with trend where available; variants: true checks accented and unaccented spellings side by side. | "Where does my app rank for 'math games for kids' and 'kids math games' in se and us?" |
my_listing | Your own app's indexed text -- name, subtitle and the private keywords field -- per locale, from App Store Connect. | "Show my listing in br." |
snapshot_save / snapshot_diff | Capture a named before/after of a keyword set, then compare them — ranks, result-set sizes, who entered the top 10, coverage and ratings. | "Snapshot these keywords as 'pre-release' for br, then diff it against 'post-release' in two weeks." |
compare_markets | The same audit across several storefronts side by side, to answer which market is worth working on. | "Compare jp, br, mx and de for my app." |
audit_keywords | Tests every word in your own keywords field with an anchored probe, shows what people typing each word are actually searching for, and says whether keyword work is even the right lever for that storefront. | "Audit my keyword field in br." |
compare_queries | How much two searches' ranked results overlap, so you know whether a rank difference between them means anything. | "Compare 'jogos de matemática' and 'jogos de matemática escolares' in br for my app." |
niche_report | Competitive report across a keyword set: top apps, weakness score per rival, difficulty per keyword, gaps for your app; with DataForSEO configured, keyword volume and discoveredKeywords (higher-volume terms you aren't targeting). | "Build a niche report for 'math games for kids', 'kids math games', 'math practice' in se, comparing against my app." |
low_star_reviews | Recent 1-3★ reviews for an app, for reading what's actually bothering users. | "Pull the low-star reviews for app in us." |
suggest_keywords | Shows what people actually search for, so you can check a keyword's intent matches what you assume. Never spends money: it prices a suggestion only if a niche_report/keyword_table run earlier the same day already paid for a list containing it. | "Suggest autocomplete keywords for 'math'." |
keyword_table | Your saved keyword list with current rank, difficulty, trend, free autocomplete depth and (with DataForSEO configured, us only) volume; can add keywords and notes in the same call. | "Add 'math games for kids' and 'kids math games' to my keyword table for us, then show it refreshed." |
price_keywords | Search volume for a list of keywords you already have, by naming each one to DataForSEO -- reaches an app's full ranked list, not just its top-50 window, so it can rank a list niche_report/keyword_table can't fully price. Needs DataForSEO configured (us only); always spends when it runs, with no volume: false off switch. Under development — see notice. | "Which of these 40 keywords has the most search volume: 'math games for kids', 'kids math games', ..." |
track | Adds or removes (country, keyword, app) rows from the hosted server's daily collection, then returns the full current list so you can see the result. Needs an ASOLens API key. | "Track 'math games for kids' in us for my app." |
rank_history | Day-by-day rank history for one tracked (country, keyword, app) triple. Every day says where it came from, and a day nobody looked at is reported as not observed rather than as a zero. Falls back to this machine's own observations if the server is unreachable, and says so. | "Show me the rank history for 'math games for kids' in us." |
tracking_status | Whether the hosted data is fresh: when the last daily pass ran, whether it finished, and how many of your tracked pairs it covered. | "Is my tracking data up to date?" |
Rate limits & errors
Tool calls can fail with a structured error instead of a result. The three
worth knowing:
rate_limited — Apple's App Store endpoints throttled this machine.
The error includes retryAfterSeconds; wait that long and retry. This is
normal under heavy use, not a bug.
endpoint_changed — an Apple response no longer matches the shape
ASOLens expects. Apple's search/lookup/autocomplete endpoints are
undocumented and can change without notice; rather than guess at a
malformed response, ASOLens fails loudly. The fix is
npx @asolens/mcp@latest to pick up an update; if that doesn't help,
it's worth reporting. A search Apple simply has nothing for is NOT this:
it comes back as a normal answer with resultCount: 0, and rank: null
wherever a rank is reported.
unreachable — ASOLens couldn't reach Apple's servers from this
machine. Usually this means a network issue (no connection, DNS failure)
or Apple is temporarily down. Check your network connection and retry.
(There are also bad_input for a bad argument like an unsupported country
code, not_found when an app can't be resolved, and vendor_error for a
DataForSEO problem on a keyword_table/niche_report call with volume
on -- rejected credentials, an empty account balance, or DataForSEO itself
being unreachable; the error's fix says which. This only ever happens when
credentials are configured and volume wasn't set to false -- with no
DataForSEO key, or volume: false, volume is unavailable instead, never
an error.)
What is not in this release
- Shared cache —
shareCache exists in config but does nothing yet;
every fetch is per-install.
- Email/Slack digests — scheduled tracking and day-over-day history now
exist, as the paid tier: see Watching rank over time.
Digests built on top of them do not, and are not in this release.
- Buying keyword search volume from
suggest_keywords — no vendor
sells volume for a bare App Store keyword (DataForSEO's Apple data is
per-app: "the keywords a given app ranks for"), so this tool can never buy
it, whatever credentials you set. What it does do is free: if a
niche_report or keyword_table run earlier the same UTC day already
paid for competitor keyword lists in us, every suggestion appearing in
one comes back priced (volumes, each row modelled with
inputs.fromCache: true), and suggestions that don't appear say so rather
than implying they have no volume. With nothing paid for today you get a
single volume field explaining which of the three cases you are in.
- Google Play — App Store (iOS) only. No Android data source in this
release.