mcp-costco
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-costcoSearch for Kirkland olive oil and add two to my cart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@striderlabs/mcp-costco
MCP server connector for Costco — search products, manage cart, check membership, find warehouses, and place orders via browser automation.
Features
Search Products — Search Costco.com by keyword, category, or brand with price filters
Product Details — Get full product info, price, availability, and item number
Cart Management — Add items, view cart, update quantities, remove items
Delivery Options — Check home delivery and warehouse pickup availability
Checkout — Preview and place orders (with confirmation step)
Order History — View past orders with status
Order Tracking — Track shipment status and estimated delivery
Membership — Check membership type, number, and renewal date
Warehouse Locations — Find nearby Costco warehouses by ZIP or city
Warehouse Stock — Check in-store availability at specific locations
Requirements
Node.js 18+
A Costco membership account
Playwright browsers installed
Installation
npx playwright install chromiumUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"costco": {
"command": "npx",
"args": ["@striderlabs/mcp-costco"]
}
}
}Tools
Authentication
Tool | Description |
| Check authentication status and session info |
| Authenticate with email and password |
| Clear session and stored cookies |
Shopping
Tool | Description |
| Search by name, category, or brand |
| Get full product info, price, availability |
| Add item to cart by URL or item number |
| View cart contents and totals |
| Change quantities or remove items (qty=0 removes) |
Delivery & Checkout
Tool | Description |
| Check delivery/pickup availability for a ZIP |
| Choose home delivery or warehouse pickup |
| Preview (confirm=false) or place order (confirm=true) |
Orders
Tool | Description |
| View order history |
| Track delivery status by order number |
Membership & Locations
Tool | Description |
| Check membership type, number, and renewal date |
| Find nearby warehouses by ZIP or city |
| Check in-warehouse availability |
Example Usage
# Login
login(email="you@example.com", password="yourpassword")
# Search for items
search_products(query="kirkland olive oil", limit=5)
# Get product details
get_product_details(item_number="1234567")
# Add to cart
add_to_cart(item_number="1234567", quantity=2)
# Preview checkout
checkout(confirm=false)
# Place order
checkout(confirm=true)
# Check membership
get_membership()
# Find nearby warehouses
get_warehouse_locations(zip_code="94105", limit=3)Environment Variables
Credentials can also be passed via environment variables (used as defaults if login tool is not called):
Variable | Description |
| Costco account email |
| Costco account password |
Session Persistence
Sessions are stored in ~/.striderlabs/costco/ and persist across runs. You only need to log in once per machine.
Headless Mode
By default, the browser runs headless. To debug, pass headless=false to the login tool to see the browser window.
Author
Strider Labs — Building AI agent infrastructure.
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/markswendsen-code/mcp-costco'
If you have feedback or need assistance with the MCP directory API, please join our Discord server