Skip to main content
Glama
App Store Lookup MCP

App Store Lookup MCP

by erenyalcinai
README.md
# app-store-lookup-mcp

A small MCP server that lets Claude look things up in the App Store: find an app, read its listing and latest release notes, read customer reviews, and compare countries.

It uses Apple's public endpoints, so there is no account, no API key and nothing to configure. Every tool is read-only. It runs on your machine over stdio, for Claude Code, Claude Desktop and other MCP clients.

Built with the official [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk) (v2).

## What you can ask

Once the server is connected, ask in plain words:

- "Find Desk T on the App Store and tell me what changed in its latest version."
- "What do the most recent reviews of app 6816792575 in the Turkish App Store say?"
- "Is com.example.app available in the US, the UK, Germany and Japan, and what does it cost in each?"

[examples/claude-code-session.txt](examples/claude-code-session.txt) is a real Claude Code session with a question like these: the tool calls, what the server returned, and the answer.

## Tools

| Tool | What it does | Inputs |
|---|---|---|
| `search_apps` | Finds apps by name or keyword. Returns the IDs the other tools take. | `term`, `country`, `platform` (`iphone`, `ipad`, `mac`), `limit` (1-25) |
| `get_app` | One app's listing: developer, price, rating, current version and its release notes, size, minimum OS, languages, description. | `app`, `country`, `full_description` |
| `get_reviews` | Written customer reviews in one country, newest or most helpful first. | `app`, `country`, `sort` (`recent`, `helpful`), `page` (1-10), `limit` (1-50) |
| `compare_storefronts` | The same app across up to 10 countries: listed or not, price, currency, rating, rating count. | `app`, `countries` |

`app` can be a numeric App Store ID (`6816792575`), an apps.apple.com link, or a bundle ID (`com.example.app`). `country` is a two-letter code and defaults to `us`.

Every tool is annotated as read-only and publishes an output schema, so a client gets typed data as well as the text the model reads. For example, `get_app` with `{"app": "6816792575"}` returns:

```json
{
  "id": 6816792575,
  "name": "Desk T: Notes, Lists & Files",
  "bundle_id": "com.erenyalcin.deskt",
  "developer": "Eren YALCIN",
  "url": "https://apps.apple.com/us/app/desk-t-notes-lists-files/id6816792575?uo=4",
  "country": "us",
  "price": "Free",
  "currency": "USD",
  "rating": null,
  "rating_count": 0,
  "version": "1.1",
  "version_released": "2026-10-20T12:00:14Z",
  "first_released": "2026-10-04T07:00:00Z",
  "release_notes": "Deleted a card by mistake? Tap \"Undo\" within 5 seconds.\nSearch hits are highlighted, and the matching line is shown when you open the card.\nNew \"Capture\" widget for the Lock Screen and Home Screen: tap, write a note.\nSmall fixes.",
  "minimum_os": "18.0",
  "size_mb": 2.7,
  "genres": ["Productivity", "Utilities"],
  "languages": ["en", "tr"],
  "age_rating": "4+",
  "description": "A card for everything.\n\nDesk T is one surface for a scattered life: […]",
  "description_truncated": true
}
```

(The description is cut short here for the README. The tool returns the first 600 characters, or all of it with `full_description`.)

## Install

You need [uv](https://docs.astral.sh/uv/getting-started/installation/). It installs the dependencies, and Python itself if you don't have 3.10 or newer.

Clone this repository, then:

```bash
cd app-store-lookup-mcp
uv sync
uv run pytest
```

To see the server start, run `uv run app-store-lookup-mcp`. It prints nothing and waits. That is correct: a stdio server waits for a client to speak first. Stop it with Ctrl-C.

### Claude Code

Register the server once, with the absolute path to your clone:

```bash
claude mcp add app-store -- uv run --directory /absolute/path/to/app-store-lookup-mcp app-store-lookup-mcp
```

Run `/mcp` inside a session to check that `app-store` is connected and lists four tools.

The repository also has a [`.mcp.json`](.mcp.json), so if you start Claude Code inside the clone it offers to connect the server without any registration.

### Claude Desktop

Open Settings, then Developer, then Edit Config, and add the server to `claude_desktop_config.json` (the same snippet is in [examples/claude_desktop_config.json](examples/claude_desktop_config.json)):

```json
{
  "mcpServers": {
    "app-store": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/absolute/path/to/app-store-lookup-mcp",
        "app-store-lookup-mcp"
      ]
    }
  }
}
```

The file is at `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS and `%APPDATA%\Claude\claude_desktop_config.json` on Windows. Quit Claude Desktop completely and open it again.

If Claude Desktop cannot find `uv`, replace `"uv"` with the full path that `which uv` (macOS, Linux) or `where uv` (Windows) prints. Desktop apps start with a shorter `PATH` than your terminal.

## How it behaves

- **Inputs are checked before anything is sent.** Country codes, limits and page numbers are validated against the tool's schema, and an app reference has to parse as an ID, an app link or a bundle ID. A bad value comes back as an error that says what was wrong, and no request goes to Apple.
- **Failures are sentences.** A timeout, a network error, a rate limit, an unknown app, an unknown country and an empty result each produce a short tool error the model can act on, such as "has no written reviews in the US App Store. Reviews are per country: try another country code". Stack traces stay in the server log.
- **It is polite to Apple.** Requests time out after 15 seconds. A refused connection or a 502/503/504 is retried once. Answers are cached in memory for 5 minutes. The server allows itself 20 requests per minute, which is the limit Apple documents for its Search API, and says how long to wait when that is used up.
- **Other people's text is treated as text.** Descriptions, release notes and reviews are written by third parties. The tool descriptions tell the model to quote them, not to follow them. That is advice to the model, not a filter: if you connect this server to an agent that can take actions, keep it in mind.

## Limits

- Public data only. Sales, downloads, crashes and anything else behind a login belong to the App Store Connect API, which this server does not use.
- Release notes are for the current version. Apple's public endpoints have no version history.
- Reviews are per country, limited to 500 (10 pages of 50), and include only reviews with text. Star ratings left without a review show up in `rating_count`, not here.
- Search ranking is Apple's. A term with no real match can still return loosely related apps.
- Search covers iPhone, iPad and Mac apps.
- Listing data can lag the store by up to a day: Apple serves these answers with a one-day cache lifetime.
- `compare_storefronts` spends one request per country, so 10 countries use half of a minute's budget.
- Local stdio only. There is no remote (HTTP) deployment and no authentication in this repository.
- The endpoints are public, but Apple can change them without notice. The live smoke test below exists to notice when that happens.

This project is not affiliated with or endorsed by Apple. App Store is a trademark of Apple Inc.

## Development

```bash
uv sync
uv run pytest             # 100 tests, no network: recorded responses are replayed
uv run pytest -m live -s  # one smoke test: a real server process against the real App Store
uv run ruff check . && uv run ruff format --check .
```

```
src/app_store_lookup_mcp/
  server.py     the four tools and their input schemas
  appstore.py   HTTP client: timeouts, retry, cache, request budget, error messages
  models.py     output schemas and the mapping from Apple's records
tests/
  test_tools.py       the tools, called through the MCP protocol with an in-memory client
  test_appstore.py    failures, cache, budget, app references
  test_live.py        the live smoke test (opt-in)
  support.py          a fake itunes.apple.com that replays the recorded responses
  fixtures/           recorded responses; reviewer names and review text are replaced
  record_fixtures.py  re-records the fixtures
```

The tests pass on Python 3.10 through 3.14 (run on Linux).

## License

[MIT](LICENSE)

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct role: search by name/keyword, fetch full app details by ID, read reviews, and compare one app across storefronts. The search_apps vs get_app boundary is explicitly clarified by search returning IDs and get_app consuming them, leaving little room for misselection.

Naming Consistency5/5

All names follow a consistent snake_case verb_noun convention: search_apps, get_app, get_reviews, compare_storefronts. Verb variation reflects real action differences rather than inconsistent style, and singular/plural resource naming is natural.

Tool Count5/5

Four tools are well-scoped for an App Store lookup server, with each tool earning its place. There is no redundant or trivial tool, and the set covers the main lookup workflows without bloat.

Completeness4/5

The surface covers search, app details, reviews, and multi-country availability/price/rating comparison, which are the core lookup workflows. Minor gaps exist, such as explicit review pagination controls or broader catalog browsing, but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues