Skip to content

AI Agents Next.js Python Docker MCP

AI Agents Hackathon Project Recommender

Discover your perfect hackathon project with AI-powered GitHub profile analysis

An intelligent system that analyzes GitHub profiles and generates personalized hackathon project recommendations using AI agents, Model Context Protocol (MCP), and real-time data integration.

image

Features

  • AI-Powered Analysis: Intelligent GitHub profile analysis using AI agents
  • Real-Time Data: Live integration with GitHub API through MCP servers
  • Personalized Recommendations: Tailored hackathon projects based on skills and interests
  • Secure Architecture: Containerized microservices with proper secrets management
  • Modern Stack: Next.js + Python + Docker + MCP integration
  • Production Ready: Scalable architecture with comprehensive tooling

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Next.js UI    │───▢│  Python Agents  │───▢│   MCP Gateway   β”‚
β”‚   (Port 3003)   β”‚    β”‚   (Port 7777)   β”‚    β”‚   (Port 8811)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚                       β”‚
         β”‚                       β”‚                       β–Ό
         β”‚                       β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚                       β”‚              β”‚  GitHub Tools   β”‚
         β”‚                       β”‚              β”‚  DuckDuckGo     β”‚
         β”‚                       β”‚              β”‚  Fetch Tools    β”‚
         β”‚                       β”‚              β”‚  (76 tools)     β”‚
         β”‚                       β”‚              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β–Ό
         β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚              β”‚   AI Models     β”‚
         β”‚              β”‚   Qwen3 Small   β”‚
         β”‚              β”‚   (Local/API)   β”‚
         β”‚              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     User        β”‚
β”‚   Browser       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Quick Start

Prerequisites

  • Docker & Docker Compose
  • GitHub Personal Access Token
  • 8GB+ RAM (for local AI models)

1. Clone & Setup

git clone https://github.com/ajeetraina/ai-agents-hackathon-recommender
cd ai-agents-hackathon-recommender

2. Configure Secrets

Create a file .mcp.env and add your GitHub PAT

nano .mcp.env
github.personal_access_token=XXX

3. Launch the Application

# Build and start all services
docker compose up -d --build

# Monitor the logs
docker compose logs -f

4. Access the Application

  • Web Interface: http://localhost:3003
  • Agents API: http://localhost:7777
  • Health Check: http://localhost:7777/health

🎯 Usage

  1. Open the web interface at http://localhost:3003
  2. Enter any GitHub username (e.g., "microsoft", "torvalds", "ajeetraina")
  3. Click "Get Recommendations"
  4. Receive personalized hackathon project suggestions!

πŸ”§ Development

Local Development Setup

# Start in development mode
docker compose up --build

# Watch logs
docker compose logs -f agents-ui
docker compose logs -f agents

API Endpoints

Agents Service (Port 7777)

  • GET /health - Health check
  • POST /analyze - Analyze GitHub profile
  • GET /agents - List available agents
# Example API usage
curl -X POST http://localhost:7777/analyze \
  -H "Content-Type: application/json" \
  -d '{"username": "microsoft", "agent": "hackathon_recommender"}'