DEV Community

Priya Negi
Priya Negi

Posted on Edited on

How I automated Walmart using Claude

We used to open the Walmart app, search for the same item, and hope the price had changed. Maybe there was a rollback, or perhaps the product was back in stock.

Doing this once is fine, but checking the same item every morning quickly becomes a chore, especially when you're tracking multiple products or waiting for a specific deal.

So we decided to give *Claude a phone.*

By connecting Claude to Mobilerun through MCP, we can open the official Walmart app, read what's on the screen, and ask Claude to check prices, product descriptions, pickup availability, or new search results. Instead of manually repeating the same steps, we can turn them into a workflow that runs on a schedule.

You can do this with a cloud phone or your own Android, with Claude using Mobilerun's MCP server to interact with the app. If you want to check something regularly, you can also put the workflow on a routine.

Before we get into the setup, there's an important limitation to understand: this isn't a way around Walmart's rules.

This article explains what the setup can do, how to get it working, and where the limits are. It is not legal advice.

Why do people want to automate Walmart?

Most shoppers aren't looking to automate an entire shopping experience. They simply want to know when something changes, without having to refresh the app throughout the day.

We came across a few discussions that illustrate this problem well. In one thread on r/walmart, a shopper asked how to get notified about a sale or price drop on a mattress in the Walmart app because they didn't want to check it every day. Replies suggested website price trackers or opening the app on a regular schedule.

Another discussion focused on sales at a *local store*, where one reply suggested adding the item to a list in the Walmart app to receive sale or restock notifications, while others recommended website monitoring tools such as Visualping.

There are also situations where the online price doesn't match what you see on the shelf. A marketplace offer might look like an in-store price until you switch to pickup, and Walmart sometimes offers members early access to deals before they're available to everyone else.

In 2026, Walmart announced that Walmart+ members would receive the first 24 hours of access to select online-only deals during Early Black Friday and Black Friday, while supplies last. That early-access window starts on Walmart.com, so the announcement doesn't describe it as an app-only offer.

These are some of the common tasks people want to automate:

  • *Price tracking:* Check whether an item has dropped in price, gone on rollback, or returned to its previous price.
  • *Restock alerts:* Find out when an item becomes available again for shipping or pickup at a particular store.
  • *Deal windows:* Keep track of Walmart+ early access, holiday deals, and short-lived rollbacks.
  • *Listing changes:* Spot new products in a search or identify when a product description changes.
  • *Store vs. online:* Check local pickup availability and pricing instead of relying only on the ship-to-home offer.
  • *Seller research:* Understand how a listing appears to shoppers and what other offers are displayed alongside it.

A website tracker can be useful for monitoring a product URL, but it may miss store pickup availability or offers that appear only to a logged-in shopper in the app. We explored this difference in more detail in our article on app-only data.

Why is this difficult to do through the website alone?

The first thing to understand is that *Walmart doesn't offer a public shopper API for checking any product's price*.

Walmart does publish APIs, but they're designed for specific use cases rather than providing a general feed that anyone can use to monitor prices across the platform.

The Affiliate Marketing API can return real-time item prices and availability, along with catalog search capabilities. However, its endpoints expect a publisher ID and are intended for affiliates advertising products on Walmart.com.

Sellers have a separate set of tools through the Walmart Marketplace APIs, which cover their own products, inventory, orders, and pricing, with rate limits that apply to individual sellers. These APIs don't provide a public feed of prices across every store shelf.

Website automation has its own challenges

Automating the Walmart website can also be difficult because of the protections used against automated traffic.

Independent writeups describe a "Robot or human?" page that presents a Press and Hold challenge. The page can return an HTTP 200 status code, meaning a scraper that only checks the status code might incorrectly save a block page as a successful result.

Bright Data's guide to scraping Walmart attributes this challenge to HUMAN, formerly PerimeterX. This is a third-party report rather than a statement from Walmart itself.

There are also Walmart's own restrictions to consider. Its Terms of Use prohibit systematically downloading Materials or using a robot, spider, or other automated device without prior written consent. The restrictions include unauthorized Agents and cover scraping Materials, placing orders, or otherwise interacting with Walmart Sites.

The terms define an Agent to include AI assistants and also prohibit collecting listings, descriptions, or prices using data-mining tools.

In October 2026, Walmart announced Agent Profiles and a Walmart Agent Gateway, along with terms for AI agents. The official checkout path for agents is through that gateway, which Walmart describes as an MCP connection that is beginning as a beta for companies and developers.

Driving the consumer Walmart app with your own agent is a different approach from using Walmart's official Agent Gateway, and that distinction matters when deciding what you should automate.

Comparing the different approaches

Approach What it sees Where it breaks
Refresh the app by hand The real shopper screen, including pickup availability You have to keep doing it yourself
Website price trackers A product URL on walmart.com Store pickup and some account-specific offers may be missed
Affiliate API Online catalog prices and availability, if you qualify Not a general shopper or store-shelf tool
Marketplace APIs A seller's own catalog, inventory, and orders No public shopper feed
Browser automation Whatever the website serves Challenges, blocks, and the Terms of Use
Claude + a Mobilerun phone The official Walmart app on a cloud phone or your own Android Device costs, login requirements, and Walmart's agent rules

How do you give Claude access to the Walmart app?

The setup is straightforward: Claude connects to Mobilerun's hosted MCP server, which communicates with a phone in your Mobilerun account. The Walmart app runs on that phone, allowing Claude to interact with the same interface a shopper would use.

The flow looks like this:

*You → Claude Code, Claude Desktop, or claude.ai → Mobilerun MCP server → Cloud phone or your Android → Walmart app*

The MCP server URL is https://cloud.mobilerun.ai/api/mcp. It uses remote HTTP, so there's no need to install a local MCP process.

1. Connect Claude to Mobilerun

You'll need a Mobilerun account and access to Claude before you get started.

*If you're using Claude Code*, the Mobilerun documentation explains how to register the remote MCP server and authenticate your account.

Once you've started Claude Code, open /mcp, select Mobilerun, and authenticate through your browser.

*If you're using Claude Desktop or claude.ai*, you can add Mobilerun as a custom connector. The MCP server documentation explains how to enter the server URL and sign in with your Mobilerun account, without having to edit a JSON configuration file.

OAuth is the recommended path for personal use. For headless setups, the same documentation also explains how to use an API key header, so make sure you review the tool permissions before approving actions.

You can also read our guide on turning your phone into an AI agent using Claude, and refer to the current documentation for the MCP server URL.

2. Give Claude a phone and install Walmart

Once Claude is connected, you'll need a phone that it can interact with. There are two ways to do this, depending on whether you want a cloud device or your own Android.

*Option 1: Use a Mobilerun cloud phone*

Create a device using the cloud quickstart, then install the Walmart app from Google Play or your app library and log in.

One useful feature of Cloud Android is that you can stop the device between checks without losing your apps, logins, or data. When the device is stopped, it doesn't consume device minutes until you start it again, as explained in our device types documentation.

*Option 2: Connect your own Android*

If you prefer to use a physical device, install the Mobilerun Portal app and connect your handset as a Personal Phone by following the connect your own Android guide.

Your apps and logins persist on the device, so you don't need to repeat the setup each time. If the workflow should not interact with your personal data, we recommend using a dedicated device or a separate test profile.

Cloud Android is a virtual device, so some apps may behave differently on it. If Walmart or another app is particularly sensitive to virtual devices, you can use your own phone or a dedicated physical device instead.

3. Ask Claude to work in the Walmart app

With the phone connected and Walmart installed, you can start asking Claude to perform tasks in the app.

The key is to be specific about what you want it to read and how you want the results returned. If you plan to reuse the information later, you can ask for structured fields and follow the extract-data pattern.

Here are a few examples of what you can ask Claude to do.

*Check a product's price, stock, and description*

Open the Walmart app, search for [product], and tell me the current price, any rollback or strike-through price, the seller name, pickup stock at my store, and the product description.

This is useful when you're tracking a particular item and want to see whether the price or availability has changed since your last check.

*Find new items in a search*

Search [category] in the Walmart app. List the first 10 results with title, price, and seller. Flag any that look new or have a changed description.

This can help you keep an eye on a category without having to open each product individually, especially when you're comparing several listings.

*Set up a scheduled watch*

Check this product's price every morning at 9am and tell me if it drops below $40, or if pickup stock comes back.

This follows the structure of a documented routine prompt, although you'll still need to approve the deployment. If you want to compare values and receive alerts on a schedule, you can also follow our watch an app and get alerts example.

*See how a listing looks to a shopper*

Open this product as a shopper would see it. Tell me the featured offer, the price, and the other offers on the page.

This is particularly useful when you're researching a listing or comparing how different offers appear in the app.

In each case, the agent is reading the shopper app rather than publishing a new SKU, and it's important to keep the frequency of checks sensible. You should also stop the cloud phone between runs so you're not paying for idle device time.

Can sellers use this to add products?

Not through the Walmart shopper app, because that's not where sellers manage their inventory.

Sellers use Seller Center on the web and the Walmart Seller app to manage their listings.

According to Walmart's overview, updated on 11 May 2026, the Seller app can add items by matching products already in the catalog. It can also update pricing and inventory, manage orders, and view payments.

There are some limitations to this process. A separate Walmart guide explains that inventory updates can take up to an hour and that the app only supports edits to seller-fulfilled inventory. Walmart Fulfillment Services (WFS) inventory changes still need to be made on the desktop.

If you're a seller looking to update your catalog, pricing, or inventory programmatically, the official route is the Marketplace API rather than an agent tapping through the shopper app.

Where Claude and Mobilerun can be useful for sellers is in understanding the shopper's perspective. You can see how your listing appears, which offer is featured, and what other products or offers sit next to it, much like we discussed in our article on monitoring a competitor's app.

This setup is for viewing and researching listings, not for bulk-publishing products.

What are the limits?

There are a few important things to keep in mind before setting up a workflow that checks Walmart regularly.

Walmart's terms still apply

Walmart's Terms of Use cover both walmart.com and the Walmart apps, and they restrict scraping, systematic downloads, and unauthorized agents.

The Agentic Access Terms, dated 21 October 2026, add further restrictions. An agent must not disguise itself as a person, including by copying human timing to hide automation, and it must not perform systematic or bulk scraping or storage of Walmart data.

Walmart also says that, except through its Agent Gateway, it requires a human consent step before every checkout. Mobilerun driving the consumer app is not the official Agent Gateway, so this article should not be treated as permission to automate activities that Walmart restricts.

This is not legal advice, and you should review Walmart's terms before using an agent with the app.

Use your own account and keep the pace sensible

Use your own account and avoid sharing credentials with others. We also recommend avoiding high-frequency checks against the same listing, as there's rarely a need to refresh a product every few seconds or minutes.

If a 2FA prompt or captcha appears, complete it yourself rather than trying to bypass it.

Keep checkout in your hands

You can ask Claude to read the screen and gather information, but you should make the final purchasing decision yourself.

Walmart may refuse or reverse agent purchases that skip its required consent step, so don't let the agent check out on your behalf.

Account for device time and model credits

Every check uses device time and model credits, so the cost depends on how long the phone runs and how frequently you schedule the workflow.

On-demand Cloud Android uses one device minute for every minute the device is powered on. For example, a three-minute check every hour, with the phone stopped between runs, would use 72 Android minutes per day, or about 2,160 minutes per month.

The Developer plan includes 600 phone credits, while additional minutes on paid plans cost $0.03 each. Under the example above, that works out to approximately $47 in overage plus the $20 plan fee, before model usage.

The Startup plan includes 3,000 phone credits, which covers this checking schedule.

You can find the current details on our pricing page and in the credits documentation. These prices are as of 25 November 2026.

Cloud Android is virtual

Cloud Android is a virtual device, so some apps may behave differently than they do on a physical phone. If an app doesn't work as expected, your own Android or a dedicated physical device can be a suitable alternative.

The app interface can change

Like any app-based workflow, this one depends on the interface remaining reasonably consistent. A search layout may change, a paywall may appear, or a button may move, meaning a prompt that worked last month might need to be rewritten.

It's worth reviewing scheduled workflows occasionally rather than assuming they'll continue working indefinitely.

The takeaway

A lot of useful information on Walmart lives inside the app, whether it's a pickup offer, a rollback, a changed description, or a product that's finally back in stock. These are the kinds of details that are easy to miss when you're only watching a product URL on the website.

By connecting Claude to Mobilerun MCP, you can give your agent access to a cloud phone or your own Android, open the Walmart app, and ask it to read the information you need. If you want regular updates, you can turn the check into a routine and have the agent report back when something changes.

The important part is to keep the workflow focused on reading information, leave checkout in your hands, and make sure you're using the app in a way that respects Walmart's terms.

To get started, create a phone at cloud.mobilerun.ai, then follow the Claude Code setup guide or our MCP documentation.

Also read

Top comments (0)