FastMCP_RecSys
This is a CLIP-Based Fashion Recommender with MCP.
Mockup
A user uploads a clothing image β YOLO detects clothing β CLIP encodes β Recommend similar
Folder Structure
/project-root
β
βββ /backend
β βββ Dockerfile
β βββ /app
β β βββ server.py # FastAPI app code
β β βββ /routes
β β β βββ clothing_routes.py
β β βββ /controllers
β β β βββ clothing_controller.py
β β β βββclothing_tagging.py
β β β βββ tag_extractor.py # Pending: define core CLIP functionality
β β βββ schemas/
β β β βββ clothing_schemas.py
β β βββ config/
β β β βββ tag_list_en.py $ Tool for mapping: https://jsoncrack.com/editor
β β β βββ database.py
β β β βββ settings.py
β β β βββ api_keys.py
β β βββ requirements.txt
β βββ .env
β
βββ /fastmcp
β βββ app
β βββ server.py
β
βββ /frontend
β βββ Dockerfile
β βββ package.json
β βββ package-lock.json
β βββ /public
β β βββ index.html
β βββ /src
β β βββ /components
β β β βββ ImageUpload.jsx
β β β βββ DetectedTags.jsx
β β β βββ Recommendations.jsx
β β βββ /utils
β β β βββ api.js
β β βββ App.js # Main React component
β β βββ index.js
β β βββ index.css
β β βββ tailwind.config.js
β β βββ postcss.config.js
β β βββ .env
β βββ .gitignore
β βββ docker-compose.yml
β βββ README.md
βββββββ requirements.txt
Quick Start Guide
Step 1: Clone the GitHub Project
Step 2: Set Up the Python Environment
python -m venv venv
source venv/bin/activate # On macOS or Linux
venvScriptsactivate # On Windows
Step 3: Install Dependencies
pip install -r requirements.txt
Step 4: Start the FastAPI Server (Backend)
uvicorn backend.app.server:app --reload
Once the server is running and the database is connected, you should see the following message in the console:
Database connected
INFO: Application startup complete.
Step 5: Install Dependencies
Database connected INFO: Application startup complete.
npm install
Step 6: Start the Development Server (Frontend)
npm start
Once running, the server logs a confirmation and opens the app in your browser: http://localhost:3000/
π Sample Components for UI
- Image upload
- Submit button
- Display clothing tags + recommendations
Whatβs completed so far:
- FastAPI server is up and running (24 Apr)
- Database connection is set up (24 Apr)
- Backend architecture is functional (24 Apr)
- Basic front-end UI for uploading picture (25 Apr)
Next Step:
- Evaluate CLIPβs tagging accuracy on sample clothing images
- Fine-tune the tagging system for better recommendations
- Test the backend integration with real-time user data
- Set up monitoring for model performance
- Front-end demo
FastMCP_RecSys
Project Details
- attarmau/StyleCLIP
- Apache License 2.0
- Last Updated: 5/1/2025
Recomended MCP Servers
MCP server for browser automation using puppeteer-extra and puppeteer-extra-plugin-stealth
Use mcp to manage containerd(developing)
Awesome MCP template for awesome FastAPI builders
The web3 function plugin server base on MCP of Anthropic.
SearchAPI MCP for Google searches
A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server...
A Model Context Protocol (MCP) server providing access to Google Search Console
Web3 MCP server for EVM chains (at moment)





