Claude Code · App Store Connect

Price your app in 175 countries from Claude Code

Tell Claude Code your US price and a strategy. MetaRun's pricing engine computes a price for every storefront, snaps each one to Apple's real price points, and stages the whole schedule as one preview you can read before Apple sees it.

Setup checked October 2026 against Claude Code MCP docs, permissions

01 · Uplink

Connect Claude Code once

01 · Add the server

Run it in any terminal. --scope user makes MetaRun available in every project; leave it out to limit it to the current one.

claude mcp add --transport http --scope user metarun https://metarun.dev/api/mcp

02 · Sign in

In a Claude Code session, run /mcp, choose metarun and authenticate. MetaRun opens in your browser, where you pick read-only or read and change. From a plain shell, claude mcp login metarun does the same.

/mcp

03 · Optional: add the skills too

The MetaRun plug-in bundles the same server with six mission skills (release handoff, worldwide pricing, localization, review inbox, ASO audit, store media).

claude plugin marketplace add metarun/metarun-skills
claude plugin install metarun-skills@metarun
Prefer a personal access token (scripts, CI)?

Add the server with a token

Mint a personal access token in MetaRun under Settings, MCP. It's shown once and can be revoked any time.

claude mcp add --transport http --scope user metarun https://metarun.dev/api/mcp \
  --header "Authorization: Bearer $METARUN_TOKEN"

Or share it with your team in .mcp.json

Project scope writes .mcp.json at the repo root. Claude Code expands ${METARUN_TOKEN} from each person's environment, so the token itself is never committed.

{
  "mcpServers": {
    "metarun": {
      "type": "http",
      "url": "https://metarun.dev/api/mcp",
      "headers": { "Authorization": "Bearer ${METARUN_TOKEN}" }
    }
  }
}
02 · Briefing

What Claude Code handles here

Apple converts your base price into every currency at roughly the exchange rate. $9.99 in the US becomes the equivalent of $9.99 in India, Brazil and Egypt, where it's a very different amount of money. Fixing that by hand means 175 dropdowns, each with its own list of allowed prices.

MetaRun computes the prices with purchasing power parity from World Bank data, the Big Mac index, the Spotify index or a straight conversion, rounds them to charm prices, and resolves each to an actual Apple price point. Claude Code gets the full table and stages it.

03 · Preflight

Before you start

  • A base price and the storefront it's anchored to (usually the US).
  • A strategy: PPP, Big Mac, Spotify, or straight conversion.
  • For subscriptions: whether current subscribers keep their price.
04 · Execution

How it runs

  1. 01

    Pick a base and a strategy

    Claude Code asks for the anchor price and storefront, and the strategy: PPP, Big Mac, Spotify, or direct conversion.

  2. 02

    Compute the table

    pricing_compute_prices returns a row per storefront: the computed price, the Apple price point it snapped to, and the change from today.

  3. 03

    Stage the schedule

    The computed input feeds the preview tool directly. A full reprice of every storefront previews in seconds because exact prices resolve from Apple's tier catalog.

  4. 04

    Apply on approval

    One apply replaces the schedule. The change is recorded, and the old schedule can be restored from history.

05 · Session

An example session in Claude Code

Reprice com.example.app worldwide with PPP, anchored at $4.99 in the US, charm rounding. Preview the 20 biggest changes first.

  1. apple_get_app_pricingBase price $4.99 in the US; Apple's equalized prices everywhere else.
  2. pricing_compute_pricesA PPP price for each storefront, snapped to Apple's price points, with the change from today.
  3. apple_preview_set_territory_pricesPreview: the new schedule, every storefront's old and new price side by side.
  4. Claude Code asks before running apple_apply_set_territory_prices. You read the preview above and approve.
  5. apple_apply_set_territory_pricesSchedule replaced. The old one is in history for a revert.

Illustrative: your apps, versions and numbers will differ. The tool names and their order are real.

06 · Tools

The MetaRun tools Claude Code calls

ToolWhat it does
pricing_get_indexesreadPPP, Big Mac, Spotify and VAT reference values per country.
pricing_compute_pricesreadRuns the strategy and returns a staged input ready for the matching preview tool.
pricing_get_exchange_ratesreadLive USD exchange rates used in the math.
apple_get_app_pricingreadThe app's current price schedule.
apple_find_price_pointsreadApple's allowed prices for a storefront near a target.
apple_preview_set_territory_pricespreview + applyStage a full per-territory schedule for the app.
apple_preview_set_iap_pricepreview + applyThe same for an in-app purchase.
apple_preview_set_subscription_pricepreview + applyThe same for a subscription, with an option to keep current subscribers on their price.

Each preview has an apply twin (the same name with apply instead of preview) that only runs with the confirm token from a fresh preview, and refuses if App Store Connect changed in between. MetaRun tools save to your MetaRun workspace only (studio projects, tracked keywords), never to Apple.

07 · Apple rules

What Apple enforces, and how MetaRun handles it

Every storefront has its own price ladder

Apple only accepts specific price points per territory. MetaRun snaps each computed price to a real point and shows where it moved.

One future price per territory

Apple allows a single scheduled price change per territory on a subscription. A bulk reprice skips territories that already have one and names the pending price and date.

Approved subscriptions start tomorrow

Once a subscription is approved, Apple won't create a new price row starting today. MetaRun schedules the earliest allowed date (tomorrow, UTC) and says so in the preview.

PPP needs a guard for inflation

In hyperinflation economies the PPP factor can sit above the market rate and push prices up. The engine caps the multiplier for those countries so the result stays affordable.

08 · Comms

What to ask Claude Code

  • Ask Claude Code: Reprice com.example.app worldwide with PPP, anchored at $4.99 in the US, charm rounding. Preview the 20 biggest changes first.
  • Ask Claude Code: Do the same for the yearly subscription, but keep current subscribers on their price.
  • Ask Claude Code: Export the computed table to pricing/2026-10.csv so I can diff it later.
09 · Unattended

Run it from a script with Claude Code

claude -p runs one request with no interactive session. The browser sign-in can't complete inside -p, so sign in once interactively first, or configure the server with a personal access token in CI. Tools missing from --allowedTools are refused in -p mode.

Read-only check, safe to schedule

claude -p "Compute PPP prices for com.example.app anchored at \$4.99 in the US and list the 10 storefronts with the largest change. Compute and read only; do not stage or apply." \
  --allowedTools "mcp__metarun__pricing_get_indexes,mcp__metarun__pricing_compute_prices,mcp__metarun__pricing_get_exchange_rates,mcp__metarun__apple_get_app_pricing,mcp__metarun__apple_find_price_points,mcp__metarun__apple_preview_set_territory_prices,mcp__metarun__apple_preview_set_iap_price,mcp__metarun__apple_preview_set_subscription_price"

Only reads and previews are on that list, so nothing can reach App Store Connect unattended. Run applies in an interactive session where Claude Code can ask you.

10 · Safety

How Claude Code asks before a change

Claude Code asks before every MCP tool call by default. You can allow a tool for the session or permanently; allow rules look like mcp__metarun__apple_list_versions for one tool, and mcp__metarun__* allows the whole server, applies included. Allowing reads and previews is reasonable. Leave the apply tools on ask: that prompt is the confirm step for every App Store change.

Apple key stays on MetaRun, encryptedPreview before every writeRecorded, revertible from history
11 · FAQ

Frequently asked questions

Which pricing strategies can Claude Code use?

Purchasing power parity from World Bank data, the Big Mac index, the Spotify Premium index, direct conversion, or custom multipliers, with charm or whole-number rounding and optional VAT handling.

Will existing subscribers get a price increase?

Only if you choose that. apple_preview_set_subscription_price takes preserveCurrentPrice, which keeps current subscribers on their price while new ones pay the new one.

Can I try the math without connecting anything?

Yes. The free App Store pricing calculator on metarun.dev runs the same engine on any price, no account needed.

How long does a 175-storefront reprice take?

The preview resolves in seconds for exact prices, because MetaRun builds the price point ids from Apple's tier catalog instead of searching each territory.

How do I connect Claude Code to App Store Connect?

Run claude mcp add --transport http --scope user metarun https://metarun.dev/api/mcp, then run /mcp in Claude Code and sign in to MetaRun in your browser. After that, ask for "price by country" in plain words and Claude Code picks the MetaRun tools.

Does Claude Code see my App Store Connect key?

No. Your App Store Connect API key stays envelope-encrypted on MetaRun's servers and is decrypted per request. Claude Code holds a MetaRun token that you can revoke in Settings at any time.

More with Claude Code

In depth: Bulk App Store pricing

Agent access

14-day free trial with agent access. No credit card. Your Apple key stays encrypted on MetaRun.