NicheLens for AI assistants and the API
The same data as the niche card — in Claude Code and other AI assistants via MCP, or through a plain API. Every figure has a source, a date and a “fact” or “estimate” mark.
Connect to Claude Code in three steps
- Create a key in Settings → API keys. To let the assistant save niches, choose “Read & save”.
- Run in a terminal (put your key instead of nl_…):
claude mcp add --transport http --scope user nichelens https://nichelens.app/mcp --header "Authorization: Bearer nl_…"
--scope usermakes NicheLens available in all your projects. - Restart Claude Code and ask, for example: “Show the niche card for plant identifier in the UK”.
Other assistants (Claude Desktop, Cursor, etc.)
Server address and header:
{
"mcpServers": {
"nichelens": {
"type": "http",
"url": "https://nichelens.app/mcp",
"headers": { "Authorization": "Bearer nl_…" }
}
}
}
MCP tools
| Tool | Key | What it does |
|---|---|---|
about | not needed | What NicheLens does and how to read its figures. |
check_app_name | not needed | Is a name free in the App Store of a country (published apps only). |
niche_card | any | Niche card: demand, trends, store results, leaders’ complaints and prices. Compact by default (~8 KB); detail: "full" for everything. |
demand | any | Google searches with similar queries, autocomplete, Google Trends. |
store_search | any | Top apps for a query with open store data. |
compare_niches | any | 2–5 niches side by side. |
niche_other_countries | any | The same niche in up to 8 countries, your own query for each language. |
niche_spec | any | The niche as one Markdown document for writing a product spec. |
apple_popularity | any | App Store search popularity of a query for 64 weeks (your Apple Ads). |
apple_trends | any | App Store category trends: risers, new and dropped terms (your Apple Ads). |
my_usage | any | Your plan, daily limits and what is left today. |
list_niches | any | Your saved niches. |
niche_changes | any | What changed in your saved niches (re-checked daily): new players, leaders’ updates, prices, demand. |
save_niche | “Read & save” | Save a niche with a note. |
remove_niche | “Read & save” | Remove a saved niche. |
To see the same niche in another country, pass another country code. Apple tools work once you connect your own Apple Ads account on the “App Store trends” page. “Niche to spec” export is coming later.
How to read answers
- Every block has a
source:id,fetched_atandkind—fact(data as the source publishes it) orestimate(a third-party estimate). Never present an estimate as a fact. - If a source is down, the block comes with
status: "unavailable"and a reason. Sometimes a saved copy is served with its own date andstale: true. - Google Trends is a 0–100 interest index relative to the peak in the period, not a search count.
- NicheLens does not know revenue or downloads of other apps.
- Limits are the same as on the site. When a limit is reached, you get a clear message with the reset time.
API
The same key in Authorization: Bearer nl_…. Responses are JSON.
| Method | Returns |
|---|---|
GET /api/v1/niche-card?q=&country=&store=&detail=compact | full niche card (detail=compact — a short version for AI assistants) |
GET /api/v1/demand?q=&country= | demand, autocomplete, trends |
GET /api/v1/store-search?q=&country=&store= | store results |
GET /api/v1/apple/popularity?q=&country= | App Store popularity (your Apple Ads) |
GET /api/v1/apple/trends?country=&genre= | App Store category trends |
POST /api/v1/compare | compare 2–5 niches |
POST /api/v1/other-countries | same niche in other countries: {q, store, countries:[{country, q?}]} |
GET /api/v1/niche-spec?q=&country=&store= | the niche as one Markdown document for a spec (format=json for JSON) |
GET /api/v1/usage | plan, daily limits and what is left |
GET /api/v1/changes?days=30&niche=id | changes in your saved niches |
GET /api/v1/niches · POST · DELETE /api/v1/niches/:id | saved niches |
GET /api/v1/me | access and today’s usage |
GET /api/public/check-name?name=&country= | is a name free (no key) |
curl -H "Authorization: Bearer nl_…" \
"https://nichelens.app/api/v1/niche-card?q=plant%20identifier&country=GB&store=app_store"
curl -X POST -H "Authorization: Bearer nl_…" -H "Content-Type: application/json" \
-d '{"niches":[{"q":"habit tracker","country":"US"},{"q":"habit tracker","country":"DE"}]}' \
https://nichelens.app/api/v1/compare
Parameters: country is a two-letter code (US, GB, DE…), store is app_store or google_play.