AI Competitive Research Assistant (NitroStack MCP)
Automates competitive research for startup ideas by executing a 7-step pipeline including idea understanding, competitor discovery, profile extraction, feature comparison, market gap analysis, innovation scoring, and report generation.
README
AI Competitive Research Assistant (NitroStack MCP)
Hackathon Edition: An end-to-end AI agent & interactive widget platform built on NitroStack MCP for automated startup competitive intelligence, web discovery, feature matrix comparison, and strategic market gap analysis.
๐ Overview
The AI Competitive Research Assistant takes a raw startup or product idea and automatically executes a 7-step competitive research pipeline over the Model Context Protocol (MCP):
understand_idea: Analyzes the idea into category, core problem, target audience, value prop, and search terms.discover_competitors: Performs deterministic web search (Tavily) to discover real competitors.extract_competitor_profiles: Gathers deep company profiles (pricing, features, tech stack, funding, strengths/weaknesses, USP).compare_competitors: Builds comparative feature matrix tables and identifies market leaders.market_gap_analysis: Identifies unaddressed customer problems and whitespace opportunities.innovation_scoring: Calculates an Innovation Potential Index score across 4 key dimensions.generate_report: Synthesizes a C-level executive strategy report.
All 7 steps are orchestratable via a single master tool: run_competitive_research!
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ End User / LLM (NitroStudio / MCP) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ run_competitive_research (Orchestrator) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
โ IdeaService โ โ TavilyClient โ โ GeminiService โ
โ (NLP Parsing)โ โ (Live Search) โ โ (Structured Output) โ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ NitroStack UI Widgets (@Widget SDK) โ
โ - /idea-summary - /competitor-list โ
โ - /competitor-profile - /competitor-comparison โ
โ - /pipeline-progress โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Quick Start
1. Prerequisites
- Node.js: v18 or higher
- npm: v9 or higher
2. Environment Variables Setup
Create a .env file in the root directory:
GEMINI_API_KEY=your_gemini_api_key_here
TAVILY_API_KEY=your_tavily_api_key_here
(Note: If TAVILY_API_KEY is omitted or set to a placeholder, the system gracefully uses high-quality simulated competitor search data).
3. Installation
npm install
4. Build Workspace
npm run build
5. Run Development Server with Widgets
npm run dev
๐ ๏ธ MCP Tools Reference
| Tool Name | Input Schema | Interactive Widget | Description |
|---|---|---|---|
run_competitive_research |
{ idea, industry?, geography?, targetAudience? } |
/pipeline-progress |
Master orchestrator tool executing the entire 7-step pipeline. |
understand_idea |
{ idea, industry?, geography?, targetAudience? } |
/idea-summary |
Deconstructs startup idea into structured components. |
discover_competitors |
{ idea, category?, coreProblem?, valueProposition?, keywords? } |
/competitor-list |
Live web search (Tavily) to discover competitors. |
extract_competitor_profiles |
{ competitors, ideaAnalysis? } |
/competitor-profile |
Extracts pricing, features, tech stack, funding, strengths/weaknesses. |
compare_competitors |
{ profiles } |
/competitor-comparison |
Generates feature comparison table, winner badges, and market leader rankings. |
๐ Project Structure
c:\Nitroooo\
โโโ src/
โ โโโ api/ # External API clients (TavilyClient with retry logic)
โ โโโ modules/ # MCP Tool Controllers (@Tool & @Widget decorators)
โ โโโ services/ # Core Business Logic & AI Pipeline Services
โ โโโ types/ # Strict Zod Schemas & TypeScript interfaces
โ โโโ widgets/ # Next.js 14 Interactive Frontend Widgets
โ โ โโโ app/
โ โ โ โโโ idea-summary/
โ โ โ โโโ competitor-list/
โ โ โ โโโ competitor-profile/
โ โ โ โโโ competitor-comparison/
โ โ โ โโโ pipeline-progress/
โ โ โโโ widget-manifest.json
โ โ โโโ next.config.js
โ โโโ app.module.ts # Root AppModule
โ โโโ index.ts # Server Entry Point
โโโ dist/ # Compiled Production Server
โโโ package.json
โโโ README.md
๐งช Testing in NitroStudio
- Download & open NitroStudio (https://nitrostack.ai/studio).
- Connect to local project (
c:\Nitroooo). - Select
run_competitive_researchunder Tools. - Enter input:
{ "idea": "An AI-powered interview prep platform with live mock interviews and feedback" } - Click Execute Tool to view the live 7-step progress tracker and synthesized executive report widget!
๐ License
MIT License. Built for the NitroStack MCP Hackathon.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.