AI Competitive Research Assistant (NitroStack MCP)

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.

Category
Visit Server

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):

  1. understand_idea: Analyzes the idea into category, core problem, target audience, value prop, and search terms.
  2. discover_competitors: Performs deterministic web search (Tavily) to discover real competitors.
  3. extract_competitor_profiles: Gathers deep company profiles (pricing, features, tech stack, funding, strengths/weaknesses, USP).
  4. compare_competitors: Builds comparative feature matrix tables and identifies market leaders.
  5. market_gap_analysis: Identifies unaddressed customer problems and whitespace opportunities.
  6. innovation_scoring: Calculates an Innovation Potential Index score across 4 key dimensions.
  7. 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

  1. Download & open NitroStudio (https://nitrostack.ai/studio).
  2. Connect to local project (c:\Nitroooo).
  3. Select run_competitive_research under Tools.
  4. Enter input:
    {
      "idea": "An AI-powered interview prep platform with live mock interviews and feedback"
    }
    
  5. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured