Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
markswendsen-code avatar

Instacart

  • 4 repo stars
  • Updated June 11, 2026
  • markswendsen-code/mcp-instacart

Instacart MCP is a MCP server that lets AI agents manage grocery shopping and place Instacart orders autonomously.

About

The Instacart MCP server allows AI coding agents to manage grocery shopping workflows—browsing stores, building carts, and placing orders—through browser-oriented automation exposed as MCP tools. For developers who batch life errands like they batch git commits, it demonstrates how far stdio integrations can stretch beyond strictly SaaS APIs while you are still in the build-and-wire-tools mindset. Configuration requires Instacart account secrets in the server environment and an MCP client such as Claude Code or Cursor that can invoke the packaged npm module. Treat autonomous grocery spend as sensitive: confirm totals and delivery windows when tuning prompts. It complements other Strider Labs delivery MCP servers when you want a full agent-managed pantry and meal pipeline during crunch weeks, without claiming official Instacart partner API status.

  • @striderlabs/mcp-instacart v0.2.2 for stdio MCP clients
  • Autonomous grocery shopping and order placement for AI agents
  • INSTACART_EMAIL and INSTACART_PASSWORD required environment variables
  • Repository marksendsen-code/mcp-instacart on GitHub

Instacart by the numbers

  • Data as of Jul 25, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env INSTACART_EMAIL=YOUR_INSTACART_EMAIL --env INSTACART_PASSWORD=YOUR_INSTACART_PASSWORD instacart -- npx -y @striderlabs/mcp-instacart

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars4
Package@striderlabs/mcp-instacart
TransportSTDIO
AuthRequired
Last updatedJune 11, 2026
Repositorymarkswendsen-code/mcp-instacart

What it does

Stock the fridge through your agent by connecting Instacart grocery browse, cart, and checkout flows over MCP.

Who is it for?

Best when you're chaining agent-driven errands with product work and learning consumer MCP patterns from Strider Labs packages.

Skip if: Households needing shared approval on substitutions and tips, or businesses seeking sanctioned Instacart enterprise APIs.

What you get

After MCP setup with Instacart credentials, your agent can orchestrate shopping and ordering steps from your development environment.

  • Agent-invokable Instacart shopping and ordering tools
  • Credential-based Instacart session for automated carts
  • Reusable grocery MCP connector in your agent config

By the numbers

  • Published server version 0.2.2
  • 2 required Instacart authentication environment variables
  • Single npm package @striderlabs/mcp-instacart with stdio transport
README.md

@striderlabs/mcp-instacart

Order groceries via Instacart using AI agents

npm MCP Registry Claude Desktop License: MIT

Part of Strider Labs — action execution for personal AI agents.

Get Started in 2 Minutes

For Claude Desktop Users

  1. Add this to your Claude Desktop config:
{
  "mcpServers": {
    "instacart": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-instacart"]
    }
  }
}
  1. Restart Claude.
  2. Tell Claude: "Order my usual groceries for delivery tomorrow morning"

Your agent can now place orders. That's it.


Installation (NPM)

npm install @striderlabs/mcp-instacart

Or with npx directly:

npx @striderlabs/mcp-instacart

Features

  • 🛒 Search for products by name or category
  • 📦 Browse stores and product availability
  • 🏪 Add to cart with quantities and special requests
  • 💳 Place orders with delivery time selection
  • 📍 Track orders with real-time status
  • 🔐 Persistent sessions - stay logged in across restarts
  • 🔄 Automatic MFA - handles multi-factor authentication
  • 📱 Per-user credentials - encrypted session storage
  • Saved items - order your favorites faster

Tested & Compatible

Component Version Status
MCP SDK ^1.0.0
Node.js 18+
Claude Desktop Latest
Claude (API) claude-3.5-sonnet+
Anthropic SDK ^0.20+

Metrics

  • Weekly downloads: 271 (Apr 10-17, 2026) — Top grocery connector (+330% growth)
  • Status: ✅ Live in production
  • Reliability: 85%+ task completion rate
  • Discovery: npm, mcpservers.org, ClawHub, PulseMCP, Glama, LobeHub

Available Elsewhere

How It Works

For Agents

Your agent can use these capabilities:

// Search for products
products = search_products({
  query: "organic milk",
  location: "San Francisco, CA"
})

// Browse a store's offerings
store_products = get_store_products({
  store_id: "whole_foods_sf",
  category: "Dairy"
})

// Add to cart
add_to_cart({
  product_id: "organic_milk_gallon",
  quantity: 2,
  special_instructions: "Cold stock, please"
})

// Place an order
order = place_order({
  delivery_time: "tomorrow morning",
  delivery_address: "123 Main St, San Francisco, CA",
  special_instructions: "Ring the doorbell twice"
})

// Track delivery
status = track_order({ order_id: order.order_id })

Session Management

  • Each user has encrypted, persistent credentials
  • Automatic OAuth token refresh
  • MFA handling (SMS/email)
  • Sessions survive agent restarts

Reliability

  • 85%+ task completion rate
  • Automated UI change detection (connectors update when Instacart changes)
  • Fallback paths for failures
  • 24/7 monitoring + alerting

Authentication

The MCP server uses a persistent browser profile (~/.strider/instacart/browser-profile) so your login session survives server restarts automatically.

First-time login

  1. Set INSTACART_HEADLESS=false in your MCP server config so the browser window is visible:
{
  "mcpServers": {
    "instacart": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-instacart"],
      "env": { "INSTACART_HEADLESS": "false" }
    }
  }
}
  1. Restart Claude / your MCP client.
  2. Ask Claude to run instacart_login — a real browser window will open.
  3. Log in to Instacart inside that window.
  4. Run instacart_status to confirm authentication.
  5. Remove INSTACART_HEADLESS (or set it back to true) and restart — the saved profile keeps you logged in.

How login detection works

Authentication is verified by navigating to /account and confirming the page resolves without a redirect to /login or /authentication (positive detection). This is more reliable than checking for the absence of a "Log in" button.

Configuration

Environment Variables

# Show browser window (required for first-time login)
INSTACART_HEADLESS=false   # default: true (headless)

Self-Hosted

# Clone the repo
git clone https://github.com/striderlabsdev/mcp-instacart
cd mcp-instacart

# Install dependencies
npm install

# Start the server
npm start

# Your agent can now connect to localhost:3000

Architecture

How We Connect

This connector uses browser automation (Playwright) to interact with Instacart, because Instacart doesn't have a public API. Here's why that's safe and reliable:

  • User-controlled: Your agent only accesses your own Instacart account
  • Session-based: We store your login session securely, not your password
  • Change-aware: We detect Instacart UI changes and alert immediately
  • Fingerprinting: We use realistic browser profiles to avoid bot detection
  • Rate-limited: We respect Instacart's infrastructure with appropriate delays

Security

  • Credentials stored encrypted in your local .env or secure vault
  • Sessions isolated per user
  • No data sent to third parties
  • MIT Licensed — audit the code yourself

Support

Contributing

We welcome contributions! Areas of interest:

  • Bug reports and fixes
  • Feature requests (new stores, categories, etc.)
  • Performance improvements
  • Documentation enhancements

See CONTRIBUTING.md for guidelines.

License

MIT — Free to use, modify, and distribute. See LICENSE for details.


Built by Strider Labs — Making AI agents actually useful.

GitHub | Website | Discord

Recommended MCP Servers

How it compares

Consumer grocery browser MCP, not a meal-kit skill or inventory database connector.

FAQ

Who is Instacart MCP for?

It is for developers who want Instacart cart and order actions available to their MCP-connected coding agents.

When should I use Instacart MCP?

Use it during sustained build or operate sprints when grocery replenishment should ride on the same agent stack as your code tasks.

How do I add Instacart MCP to my agent?

Install @striderlabs/mcp-instacart, configure stdio in your MCP client, and provide INSTACART_EMAIL and INSTACART_PASSWORD for your account.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.