MCP server for Costco warehouse receipts and online orders
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-thehesiod-costco": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Costco warehouse receipts and online orders
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ecommerce
MCP server wrapping the Shopline Open API into 19 AI Agent-callable tools for e-commerce data analysis
EU trade analytics, product catalog, orders, and heating fuel calculator for AI agents.
Search ~8.5M products from 2,500+ Central European e-shops. Semantic, keyword, GTIN lookup.
MCP server for Trino data warehouses. Query, analyze plans, and explore schemas.
MCP Security Weekly
Get CVE alerts and security updates for io.github.thehesiod/costco and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server that gives Claude access to Costco warehouse receipts and online orders. Talks directly to Costco's internal GraphQL API using OAuth2 refresh tokens extracted from a browser session — no scraping, no runtime headless browser. Multi-account (e.g. personal, spouse) with per-account token storage.
Available on the MCP Registry as io.github.thehesiod/costco.
This project is not affiliated with, endorsed by, or sponsored by Costco Wholesale Corporation. "Costco" and all related names, logos, and trademarks are the property of their respective owners.
This server communicates with Costco's undocumented internal APIs — endpoints that are not published, not guaranteed to be stable, and may change or be blocked at any time without notice. Use of those APIs may violate Costco's Terms of Service; you are responsible for reviewing the ToS and deciding whether your use is acceptable.
Use at your own risk. The authors and contributors accept no responsibility for any consequences of using this software, including but not limited to: account suspension or termination, data loss or corruption, incorrect receipt/order information, failed purchases, financial discrepancies, API rate-limit strikes, IP blocks, or any other direct or indirect damages. No warranty is provided — see LICENSE for the full MIT no-warranty clause.
If Costco publishes an official API, this project should be considered deprecated in favor of that.
list_warehouse_receipts — In-store receipts for a date range (barcode, warehouse, total)get_receipt_detail — Full itemized receipt by barcode (products, quantities, prices, coupons, department codes)get_all_receipt_details — Bulk fetch every receipt's full detail for a date rangelist_online_orders — Costco.com orders for a date range (order number, status, items, totals)lookup_products — Resolve item numbers to full product names + departments. Uses a local SQLite cache (~/.costco-mcp/products.db) so repeated lookups are free.check_auth_status — Report token freshness and list configured accountssave_refresh_token — Register or update an account's refresh tokenclaude mcp add --transport stdio costco -- \
uvx --from "costco-mcp-server @ git+https://github.com/thehesiod/costco-mcp" costco-mcp-server
Once published to PyPI, the above simplifies to:
claude mcp add --transport stdio costco -- uvx costco-mcp-server
Costco doesn't expose a public OAuth app, so refresh tokens are extracted from your browser's Azure AD B2C session storage. Refresh tokens are valid for ~90 days; bearer tokens are minted transparently on each API call.
Semi-automated flow (recommended). Uses a dedicated Chrome profile + chrome-devtools-mcp so Claude extracts and registers the token for you. After first setup, each re-auth is "launch the browser, ask Claude to refresh."
Launch the auth browser (cross-platform console script):
uvx --from "costco-mcp-server @ git+https://github.com/thehesiod/costco-mcp" costco-auth-browser
Chrome starts on port 9223 with a persistent profile at ~/.costco-mcp/chrome-profile/.
Register a chrome-devtools-mcp instance pointed at that port (one time):
claude mcp add costco-browser -- npx -y chrome-de