Inspiration
Many people want to start a business but don't know which idea is worth it. Market research is slow, expensive and full of guesswork. We wanted an AI that answers "what should I build?" with real proof, not made-up claims.
What it does
MarketMind takes a question, a place or an industry, such as "Coffee shop ideas in Lahore". It searches public sources like news, reports, forums and reviews, then returns clear business opportunities.
- Each opportunity has a score out of 100, the case for it, the risks and what you could build.
- Every point links to the page it came from.
- You can ask the AI follow-up questions. It searches for more evidence and changes the score when it should.
- You can save opportunities, watch them, share them or export them to PDF.
How we built it
- Frontend: Next.js and TypeScript with Tailwind CSS.
- Backend: Python FastAPI with PostgreSQL (SQLAlchemy).
- Research pipeline: plan → search → read pages → remove repeats → pull out facts → group them into patterns → score.
- AI providers: Claude, OpenAI, Gemini, Groq, OpenRouter or any OpenAI-compatible server. Users add their own encrypted keys and pick a model from a list loaded live from their provider.
- Web search: Claude's or Gemini's built-in search, or Tavily/Brave, with the user's own search key as a backup.
Challenges we ran into
- Stopping the AI from making things up. Every quote is checked against the real page, and scores stay low when there are few sources.
- Making many AI providers behave the same way: different response formats, rate limits and errors.
- Explaining complex research in plain words without overwhelming the user.
Accomplishments that we're proud of
- No fake sources, quotes or dates. Every claim can be checked.
- Scores you can trust, because they are limited by how many independent sources agree.
- A simple, friendly interface that shows the answer first and the details on demand.
- Works with almost any AI provider.
What we learned
- Trust matters more than polish. Users want to see where an answer came from.
- Simple wording makes AI output far more useful.
- Real-world AI apps need retries, fallbacks and clear error messages.
What's next for MarketMind
- User accounts and team workspaces.
- Alerts when new evidence appears for opportunities you're watching.
- Richer market data, such as search trends and government statistics.
- Comparing opportunities side by side, and a mobile app.
Built With
- fastapi
- mcp
- next
- postgresql
- python
