Instacart

io.github.markswendsen-code由 GitHub 帳號 markswendsen-code 發布v0.2.2更新於 Oct 24, 2026

MCP server for Instacart - let AI agents manage grocery shopping and place orders autonomously

已驗證STDIO僅桌面瀏覽器自動化商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理透過瀏覽器自動化在 Instacart 上搜尋商品、管理購物車並下單生鮮配送。

可以做什麼
  • 依名稱或類別搜尋商品,瀏覽商店與供貨狀況
  • 將商品加入購物車,可設定數量與特殊備註
  • 選擇配送時間與地址並送出訂單
  • 查詢訂單狀態,重複使用已儲存的常購商品
  • 登入帳號並確認登入狀態
適用情境
適合想讓助理在自己 Instacart 帳號上處理日常採買的情況,例如重複訂購常買商品、建立購物車並安排配送,而不必自己開網站操作。
執行需求
透過 npx 或 npm 以 Node.js 18+ 本機程序執行,僅支援桌面版 MCP 用戶端。需要 Instacart 帳號及 INSTACART_EMAIL、INSTACART_PASSWORD,首次須在可見的瀏覽器視窗(INSTACART_HEADLESS=false)中手動登入;瀏覽器設定檔會持續保存在使用者家目錄下。
安裝前請注意
它能送出真實的生鮮訂單並產生費用,確認前應核對購物車與配送資訊。它需要 Instacart 帳號電子郵件與密碼,並保留已登入的瀏覽器工作階段;以瀏覽器自動化搭配擬真瀏覽器設定來避開機器人偵測,可能與 Instacart 的服務條款衝突。README 中關於加密與不傳送資料給第三方的說法出自供應商本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Instacart,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@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:
json
{  "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)

bash
npm install @striderlabs/mcp-instacart

Or with npx directly:

bash
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

ComponentVersionStatus
MCP SDK^1.0.0✅
Node.js18+✅
Claude DesktopLatest✅
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:

javascript
// Search for productsproducts = search_products({  query: "organic milk",  location: "San Francisco, CA"})
// Browse a store's offeringsstore_products = get_store_products({  store_id: "whole_foods_sf",  category: "Dairy"})
// Add to cartadd_to_cart({  product_id: "organic_milk_gallon",  quantity: 2,  special_instructions: "Cold stock, please"})
// Place an orderorder = place_order({  delivery_time: "tomorrow morning",  delivery_address: "123 Main St, San Francisco, CA",  special_instructions: "Ring the doorbell twice"})
// Track deliverystatus = 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:
json
{  "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

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

Self-Hosted

bash
# Clone the repogit clone https://github.com/striderlabsdev/mcp-instacartcd mcp-instacart
# Install dependenciesnpm install
# Start the servernpm 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

來源:README.md,提交 6da8d68

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。