io.github.markswendsen-code/instacart
Instacart MCP server β search, cart, and order groceries. By Strider Labs.
Ask AI about io.github.markswendsen-code/instacart
Powered by Claude Β· Grounded in docs
I know everything about io.github.markswendsen-code/instacart. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
@striderlabs/mcp-instacart
Order groceries via Instacart using AI agents
Part of Strider Labs β action execution for personal AI agents.
Get Started in 2 Minutes
For Claude Desktop Users
- Add this to your Claude Desktop config:
{
"mcpServers": {
"instacart": {
"command": "npx",
"args": ["-y", "@striderlabs/mcp-instacart"]
}
}
}
- Restart Claude.
- 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
- npm: npmjs.com/@striderlabs/mcp-instacart
- Claude Plugins: Search "Strider Labs" in Claude
- mcpservers.org: Strider Labs Instacart
- Full Strider Labs: github.com/striderlabsdev/striderlabs
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
Configuration
Environment Variables
# Optional: Use a specific Instacart account
INSTACART_EMAIL=your-email@example.com
INSTACART_PASSWORD=your-password # Highly recommend using .env file
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
.envor secure vault - Sessions isolated per user
- No data sent to third parties
- MIT Licensed β audit the code yourself
Support
- π Full Strider Labs Docs
- π Report Issues
- π¬ Discussions
- π Website
- π§ Email
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.
