Hyperpure MCP
Allows searching products, managing cart quantities, reviewing order history, and downloading invoices and credit notes for a Hyperpure account.
Click on "Deploy 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., "@Hyperpure MCPSearch for organic eggs and add 2 to 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.
Hyperpure MCP
A self-hosted Model Context Protocol server for your Hyperpure account. Search products, prepare a cart, read structured purchase history and retrieve invoices using a persistent headless Chromium browser.
Independent community project; not affiliated with or endorsed by Hyperpure or Zomato. Use an account you own or are authorized to operate, and follow the service's applicable terms and access limits. This project does not bypass OTP, CAPTCHA or access controls.
Features
Persistent login with a private page for mobile OTP renewal and an expected-outlet check.
Product search, prices, stock, minimum quantities and verified cart updates.
Date-filtered, paginated order history and structured quantities, discounts, taxes, fees and reconciliation.
Credit notes, refunds, returns and reported shortages, plus original invoice and credit-note PDFs.
Consistent history/detail delivery timestamps and account/outlet identity on every tool result.
Authenticated Streamable HTTP for MCP and separate owner credentials for login and review.
It never clicks Pay or submits an order. Cart preparation and owner review are supported; final payment happens manually on Hyperpure. Refunds, returns and support tickets are read-only. One installation serves one account/outlet; this is not a multi-tenant service.
Related MCP server: grocery-mcp
Quick start
You need Node.js 22.9+ (22 and 24 are covered by CI), a Hyperpure account with access to its OTP phone, and an HTTPS domain reverse-proxied to the service. Linux is the documented production target. Run the browser as a non-root user with Chromium sandbox support.
git clone https://github.com/karthikbala/hyperpure-mcp.git
cd hyperpure-mcp
npm ci
npx playwright install chromium
# Linux only, if browser system dependencies are missing:
sudo npx playwright install-deps chromium
npm run configure
npm startSetup asks for your HTTPS origin, mobile number, and the exact outlet name and full delivery address shown by Hyperpure. It generates separate random keys and writes owner-only files:
File | Purpose |
| Runtime configuration; never commit it. |
| Expected outlet identity (or your selected data directory). |
| Owner page URL and unlock key. |
| MCP client configuration with its bearer token. |
Setup refuses to overwrite existing configuration. See .env.example for configuration reference. Browser profiles and operational data must stay outside version control.
The app listens on 127.0.0.1:9310. HTTPS is required, including for the secure owner cookie. Finish the Linux deployment guide before opening the owner page; there is no insecure HTTP development bypass. /healthz reports process availability, not account login validity.
Log in and connect
Open
https://YOUR_DOMAIN/ownerand unlock it with your owner key.Choose Send login OTP, then enter the code sent by Hyperpure.
The service verifies the configured outlet and reports Connected. An address mismatch stops account operations.
Import
.secrets/connection.jsoninto an MCP client that supports Streamable HTTP with custom headers. Its shape is:
{
"mcpServers": {
"hyperpure": {
"url": "https://hyperpure.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_GENERATED_MCP_TOKEN" }
}
}
}Clients vary in configuration format. This server uses bearer authentication, not OAuth, so clients that require OAuth need another auth integration. Your own deployment URL and generated token are required; there is no shared hosted endpoint.
Tools
Tool | Purpose |
| Check the live session and expected outlet. |
| Search currently loaded account catalogue results. |
| Read current cart quantities, prices and total. |
| Set a searched product's absolute quantity; zero removes it. |
| Filter by creation date and continue through history using cursors. |
| Read structured items, costs, credits, refunds, returns and shortages. |
| Retrieve an account-owned order's invoice PDF. |
| Retrieve its combined credit-note PDF when available. |
| Prepare a ten-minute owner review; does not purchase. |
JSON tools return structuredContent plus a compatible JSON text block. Documents are embedded PDF resources. Example history request:
{ "dateFrom": "2026-01-01", "dateTo": "2026-01-31", "pageSize": 20 }Continue with {"cursor":"RETURNED_NEXT_CURSOR"} until pagination.nextCursor is null, including after an empty page. Dates are inclusive in Asia/Kolkata and refer to order creation, not updates or refunds. For recurring checks, start a fresh scan each run and revisit older orders for late adjustments.
See the data contract and limits and operations and troubleshooting.
Reliability and limits
The implementation has been exercised against a live account for login persistence, search, cart changes, paginated orders, historical adjustments and PDF retrieval. CI uses synthetic, offline tests and does not log into Hyperpure. Live-account results are not a guarantee for every account or future website version.
Hyperpure controls session expiry. Checks run every 15 minutes when idle and before operations; they do not guarantee session extension.
OTPs are never saved or logged by this app. Requests are manual, rate-limited and isolated from background navigation.
Uncertain cart changes are never automatically replayed. Read the cart before retrying.
Missing fields stay
null. Credit notes and refunds can describe the same adjustment; do not double-count them.Website selectors and internal read APIs can change. Errors stop the operation instead of claiming complete data.
No built-in scheduler, outbound alert channel, off-server backup, automatic outlet switching or automatic payment is included.
Development
npm ci
npm run check
npm run format:check
npm testOffline tests cover approval expiry/replay, queue serialization, setup, pricing and units, shortages and returns, timezone boundaries and pagination integrity. No credentials or browser download are required for them.
For an optional read-only smoke test of your configured, logged-in deployment:
npm run test:liveIt reads your account and may download an invoice. It does not change the cart or submit anything. Never put real account fixtures, cookies, invoices or tokens in a pull request.
Contributing and maintenance
See CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, the maintenance guide and the changelog. CI checks Node 22/24, syntax, tests, dependency advisories and tracked-file hygiene. Dependabot proposes dependency and GitHub Actions updates; they require review. Versioned releases document changes without promising unattended maintenance or a support SLA.
License
MIT. Third-party names and marks belong to their respective owners; the software license does not grant rights to those marks or to account data.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI assistants to browse, analyze, and automate interactions with wholesale websites using Playwright and recipe-based HTTP execution. It supports tasks like automated login, product searching, and cart management through browser snapshots and network log analysis.MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for grocery-related web automation using Playwright, enabling AI assistants to interact with grocery websites.-
- AlicenseAqualityCmaintenanceAn API-only MCP server for Blinkit that enables automated shopping on the Indian quick-commerce platform, supporting login, search, cart, checkout, and payment via UPI.251MIT
- FlicenseAqualityBmaintenanceUnified MCP server providing business data APIs for Indian users, orders, and business metrics, deployable via Vercel.5-