semantic-product-search-mcp
Semantic Product Search
Semantische Produktsuche: Statt Keywords zu matchen, versteht sie die Intention der Query (Embeddings + Similarity Search) und nutzt einen Agenten, um eine Empfehlung über den Katalog zu generieren. Der Katalog wird als MCP-Server bereitgestellt und von einem separaten Agenten konsumiert.
🚧 Projekt in aktiver Entwicklung. Derzeit in Phase 1 · Backend-Setup. Die Abschnitte zu Architektur, Demo und Designentscheidungen werden später vervollständigt, sobald ein funktionsfähiger End-to-End-Fluss existiert.
Stack
API: FastAPI
Agent / Orchestrierung: LangChain + LangChain Anthropic (Claude)
Lokale Modelle: Ollama
Observability: LangSmith
Konfiguration / Validierung: Pydantic + Pydantic Settings
Datenbank: Postgres + pgvector (bei lokaler Entwicklung: SQLite)
Paketmanager: uv
Related MCP server: Product MCP Server
Projektstruktur
app/
main.py # entrypoint de la API
api/routes.py # rutas HTTP
catalog/ # ingesta + modelos de datos del catálogo
search/ # embeddings + similarity search
reviews/
mcp_server/ # servidor MCP (expone el catálogo/búsqueda como tools)
agent/ # agente que consume el MCP y arma la recomendación
core/
config.py # settings (variables de entorno)
db.py # conexión a Postgres/pgvector
models/
schemas.py # modelos Pydantic compartidos
tests/Lokales Setup
Voraussetzungen: Python >= 3.12 und uv installiert.
# Instalar dependencias
uv sync
# Configurar variables de entorno
cp .env.example .env
# completar ANTHROPIC_API_KEY y LANGSMITH_API_KEY en .env
# Correr el entrypoint
uv run python -m app.mainUmgebungsvariablen
Variable | Standard | Beschreibung |
|
| Ausführungsumgebung |
|
| Aktiviert LangChain-Tracing in LangSmith |
|
| LangSmith-Endpunkt |
| (erforderlich) | LangSmith-API-Key |
|
| Projekt in LangSmith |
| (erforderlich) | Anthropic-API-Key (Claude) |
|
| Datenbank-Verbindungsstring |
|
| Embedding-Modell |
|
| Für Similarity Search verwendetes Modell |
|
| Anzahl der pro Suche zurückzugebenden Ergebnisse |
⚠️ Protokolliere niemals die Werte von API-Keys oder anderen Geheimnissen (
ANTHROPIC_API_KEY,LANGSMITH_API_KEY, usw.). Wenn duSettingsdebuggen musst, gib nur die Namen der fehlgeschlagenen Felder aus, nicht ihre Werte — so macht esapp/core/config.pybei der Validierung beim Start.
Roadmap
Die Entwicklung ist in Phasen organisiert (siehe Notion-Board):
Backend-Setup
Katalog + Embeddings
Semantische Suche
Bewertungen + Kommentare
MCP-Server
Agent + Empfehlung
REST-API + Streaming
Optimierung
Frontend + Veröffentlichung
Architektur und Designentscheidungen
Ausstehend — wird in Phase 9 (PROD-32) dokumentiert, sobald das Projekt einen
End-to-End-Fluss hat, um das Diagramm, die Demo und die Entscheidungen
(Caching, Retrieval + Re-Ranking, usw.) mit echtem Kontext beschreiben zu können.
Related MCP Connectors
Live product search for AI agents across Shopify merchants and major retailers.
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
Live product discovery for AI shopping agents, with shopper-approved retailer handoff.
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products, Plus Four Agent Ready Capabilities Search, Price Comparison, Product-Vs-Product, And Detailed Q&A.
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.-
- 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 gradedqualityDmaintenanceEnables conversational product search and validation for e-commerce catalogs, with hybrid retrieval and live price/stock checks from a database.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to browse product catalogs, search products with filters, and initiate checkouts, generating order summaries and checkout URLs.-