An MCP (Model Context Protocol) server that provides AI assistants with access to deals, discounts, and offers from the Hi Mami platform — Israel's popular deals and benefits site.
- 9 MCP Tools — search deals, browse brands/campaigns/products/categories, view home page
- Rich HTML Cards — visual MCP UI cards with RTL Hebrew support, discount badges, CTA buttons
- ChatGPT Connectors — SSE transport compatibility for ChatGPT integration
- Vercel Deployment — serverless deployment with zero cold-start overhead
| Tool | Description |
|---|---|
search_deals |
Search for deals across brands, campaigns, products, categories |
get_suggestions |
Autocomplete suggestions for search queries |
get_brand |
Get a brand page with logo, description, and active deals |
get_campaign |
Get full campaign details with discount codes, links, expiration |
get_product |
Get product details with pricing breakdown |
browse_categories |
Browse deal categories (nested paths supported) |
get_home_page |
Get featured deals, hot offers, and highlights |
search |
ChatGPT-compatible search tool |
fetch |
ChatGPT-compatible entity fetch tool |
- Node.js 20+
- npm
npm installCopy .env.example to .env:
cp .env.example .env| Variable | Default | Description |
|---|---|---|
HIMAMI_API_BASE_URL |
https://hi-mami.com/api |
Hi Mami API base URL |
HIMAMI_USER_AGENT |
HiMamiMCP/1.0 |
User-Agent header for API requests |
PORT |
3000 |
Local dev server port |
NODE_ENV |
development |
Environment |
LOG_LEVEL |
info |
Pino log level |
npm run devServer starts at http://localhost:3000. Health check: GET /health.
npm run buildAdd to claude_desktop_config.json:
{
"mcpServers": {
"himami": {
"url": "https://himami-mcp-production.up.railway.app/mcp"
}
}
}Add to .cursor/mcp.json or equivalent:
{
"mcpServers": {
"himami": {
"url": "https://himami-mcp-production.up.railway.app/mcp",
"transport": "streamable-http"
}
}
}npm i -g vercel
vercel --prodSet environment variables in Vercel dashboard:
HIMAMI_API_BASE_URLHIMAMI_USER_AGENTNODE_ENV=production
| Method | Path | Description |
|---|---|---|
GET |
/health |
Health check |
POST |
/mcp |
MCP Streamable HTTP (primary) |
GET |
/mcp |
SSE session initiation |
GET |
/mcp/sse |
ChatGPT SSE stream |
POST |
/mcp/sse |
ChatGPT message endpoint |
src/
├── index.ts # Express app entry point
├── server/
│ ├── routes.ts # Express routes (health, MCP, SSE)
│ └── mcp.ts # MCP tool registration
├── services/
│ └── himami-api.ts # Hi Mami API client
├── ui/
│ ├── theme.ts # CSS variables & base styles
│ ├── templates.ts # Re-exports all card renderers
│ ├── search-card.ts # Search results card
│ ├── campaign-card.ts # Campaign detail card
│ ├── product-card.ts # Product detail card
│ ├── brand-card.ts # Brand page card
│ ├── category-card.ts # Category listing card
│ └── home-card.ts # Home page card
├── types/
│ └── index.ts # TypeScript interfaces
└── utils/
├── config.ts # Zod-validated env config
└── logger.ts # Pino logger
MIT