Inspiration
We grew up watching kirana uncles track everything in their heads. Research puts 25-30% revenue loss on those stores from stockouts alone, yet every startup ships another dashboard nobody has time to open. We built Dukaan Mitra so the owner can talk while serving customers and still get a real inventory system underneath.
What it does
Dukaan Mitra AI is a voice-first agent for India's kirana shops. Owners speak Hindi or Hinglish about what sold and what ran out. The agent resolves fuzzy names like dahi to real SKUs with MongoDB Atlas Vector Search via the MCP server, writes stock and sales, forecasts festival spikes like Navratri dairy demand, and drafts supplier reorders that only send after a one-tap confirm.
How we built it
We used Next.js 14 and Tailwind with a live mirror dashboard, Gemini 2.0 Flash for multilingual parsing, and a MongoDB MCP-shaped tool layer (find, aggregate vector search, updateOne, insertMany) that runs against Atlas when judges paste a URI or falls back to an in-memory demo with identical traces. Festival forecasting uses calendar rules tuned for Navratri and Diwali. Docker ships a standalone build on port 3000.
Challenges we ran into
Hinglish ASR is flaky in the browser, so we added a typed fallback that hits the same MCP tools. Atlas M0 clusters may lack vector indexes, so we layered semantic alias scoring that mirrors vector search behavior without breaking the demo.
Accomplishments that we're proud of
We shipped a 60-second story that is obvious on screen: speak, watch MCP logs, see stock move, read the Navratri forecast, confirm a reorder. Every MVP feature works in demo mode with zero keys.
What we learned
The MongoDB MCP server's auto-embed path means hackathon teams can skip a custom embedding pipeline. Shopkeepers do not want agents that only chat - they want confirm gates before money moves.
What's next
Wire Gemini 3.1 Flash Live for full duplex Hindi voice, connect the official MongoDB MCP stdio process on Cloud Run ADK, add expiry-based spoilage alerts, and pilot with two real kirana stores in Delhi.
Built With
- docker
- gemini-api
- mongodb-atlas
- mongodb-mcp
- next.js-14
- sonner
- tailwindcss
- typescript
Log in or sign up for Devpost to join the conversation.