marketlens-llm-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@marketlens-llm-mcpshow me the top 5 products"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
marketlens-llm-mcp
DeepSeek LLM semantic enrichment pipeline exposed via a FastMCP Model Context Protocol server. Performs sentiment analysis, category mapping, and attribute extraction on raw product data.
Architecture
This microservice is part of the MarketLens AI Platform. It is designed to be decoupled from the scraping layer, communicating via standardized schemas and file-based or artifact-based storage.
Enricher Agent: Uses LangChain and DeepSeek to process raw product data into enriched metadata.
MCP Server: Provides a Model Context Protocol interface to expose product intelligence tools.
Related MCP server: Agentic Product Protocol MCP Server
MCP Tools Exposed
get_top_products(limit: int): Returns the top ranked products.get_cluster_summary(cluster_id: int): Provides aggregate metrics for specific product clusters.
Quick Start
Clone the repository.
Install dependencies:
pip install -r requirements.txtSet your environment variables (see
.env.example).Run the enrichment pipeline:
PYTHONPATH=. python llm_agents/main.pyStart the MCP server:
PYTHONPATH=. python llm_agents/mcp_server.py
Environment Variables
DEEPSEEK_API_KEY: Required for LLM enrichment.TOP_PRODUCTS_PATH: (Optional) Override path for the ranked products dataset.MCP_TRANSPORT: (Optional)stdio(default) orsse.
Docker Usage
Build the image:
docker build -t marketlens-llm-mcp .Run the container:
docker run -e DEEPSEEK_API_KEY=your_key marketlens-llm-mcpPart of the MarketLens AI Platform
This service integrates with the wider MarketLens ecosystem:
Scraping (Source)
Enrichment (This service)
ML Pipeline (Training & Ranking)
Dashboard (UI)
Author: Yassine Kamouss — FST Tanger, LSI 2, 2025/2026
This server cannot be deployed
Maintenance
Related MCP Connectors
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
Public K-beauty catalog, product search, and latest-offers tools with canonical product facts.
Clean product data from any URL. Schema.org + AI extraction. 200 free calls/month.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables semantic search and natural language product recommendations using ChromaDB vector store and Azure OpenAI embeddings. Supports multi-filter search by category, brand, and price with 8 specialized MCP methods for intelligent product discovery.-
- AlicenseAqualityDmaintenanceKlarna-style product discovery for AI shopping agents. Makes product catalogs machine-readable so AI agents can search, compare, and purchase products programmatically.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural language product management (CRUD) with multiple classification methods, including LLM-based and fast ML classifiers, for product creation, listing, updating, and deletion via a chat interface.1-
- FlicenseNot gradedqualityCmaintenanceEnables product comparison and analysis for any MCP-compatible AI assistant, with tools like compare_products and list_products.-