semantic-product-search-mcp
セマンティックプロダクト検索
セマンティックな商品検索:キーワードマッチングではなく、クエリの意図を理解し(埋め込み+類似性検索)、エージェントを使用してカタログに関する推奨を生成します。カタログはMCPサーバーとして公開され、別のエージェントによって消費されます。
🚧 活発に開発中のプロジェクト。現在 フェーズ1 · バックエンドセットアップ にあります。 アーキテクチャ、デモ、設計上の決定に関するセクションは、エンドツーエンドのフローが機能するようになった後で完成させます。
スタック
API: FastAPI
エージェント / オーケストレーション: LangChain + LangChain Anthropic (Claude)
ローカルモデル: Ollama
可観測性: LangSmith
設定 / バリデーション: Pydantic + Pydantic Settings
データベース: Postgres + pgvector(ローカル開発時:SQLite)
パッケージマネージャー: uv
Related MCP server: Product MCP Server
プロジェクト構造
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/ローカルセットアップ
必要条件:Python >= 3.12 および uv がインストールされていること。
# 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.main環境変数
変数 | デフォルト | 説明 |
|
| 実行環境 |
|
| LangChainのLangSmithでのトレーシングを有効化 |
|
| LangSmithのエンドポイント |
| (必須) | LangSmithのAPIキー |
|
| LangSmithのプロジェクト |
| (必須) | Anthropic (Claude) のAPIキー |
|
| データベースの接続文字列 |
|
| 埋め込みモデル |
|
| 類似性検索に使用するモデル |
|
| 検索ごとに返す結果の数 |
⚠️ APIキーやシークレットの値は決してログに記録しないでください (
ANTHROPIC_API_KEY、LANGSMITH_API_KEYなど)。Settingsをデバッグする必要がある場合は、失敗したフィールドの名前のみを出力し、その値は出力しないでください —app/core/config.pyは起動時の検証でそのように動作します。
ロードマップ
開発はフェーズに分けて整理されています(Notionボードを参照):
バックエンドセットアップ
カタログ + 埋め込み
セマンティック検索
レビュー + コメント
MCPサーバー
エージェント + 推奨
REST API + ストリーミング
最適化
フロントエンド + 公開
アーキテクチャと設計上の決定
未定 — プロジェクトにエンドツーエンドのフローができ、実際のコンテキストで図、デモ、決定事項(キャッシュ、検索+再ランキングなど)を説明できるようになった時点で、フェーズ9(PROD-32)で文書化します。
This server cannot be deployed
Maintenance
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.-