semantic-product-search-mcp
セマンティックプロダクト検索
セマンティックな商品検索:キーワードマッチングではなく、クエリの意図を理解し(埋め込み+類似性検索)、エージェントを使用してカタログに関する推奨を生成します。カタログはMCPサーバーとして公開され、別のエージェントによって消費されます。
🚧 活発に開発中のプロジェクト。現在 フェーズ1 · バックエンドセットアップ にあります。 アーキテクチャ、デモ、設計上の決定に関するセクションは、エンドツーエンドのフローが機能するようになった後で完成させます。
スタック
API: FastAPI
エージェント / オーケストレーション: LangChain + LangChain Anthropic (Claude)
ローカルモデル: Ollama
可観測性: LangSmith
設定 / バリデーション: Pydantic + Pydantic Settings
データベース: Postgres + pgvector(ローカル開発時:SQLite)
パッケージマネージャー: uv
Related MCP server: Vertex AI Search for Commerce 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables 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.
- Flicense-qualityDmaintenanceProvides Vertex AI Search for Commerce product search as a tool, enabling AI agents to search product catalogs using natural language queries.
- AlicenseAqualityDmaintenanceKlarna-style product discovery for AI shopping agents. Makes product catalogs machine-readable so AI agents can search, compare, and purchase products programmatically.6MIT
- Flicense-qualityDmaintenanceEnables 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
Related MCP Connectors
Agent-native product catalog for AI shopping agents. 296M+ products, 28 countries.
Product discovery for AI agents: ranked products and bundles from the open merchant web.
Policy review and purchase discovery for AI-agent commerce actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sebastian946/SemanticProductSearch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server