Agent name: Product Search & Ranking Agent (product-ranking-agent)
An MCP server that searches a synthetic product catalog and returns transparent, image-first product recommendations.
Key features
- Searches catalog products and ranks in-stock matches.
- Scores relevance using rating and historical campaign signals.
- Returns Product Insight cards with product images in compatible MCP clients.
- Explains ranking decisions and exposes inventory and campaign metrics.
- Includes a Codex skill for routing product-search requests to the right MCP tool.
Flow Chart
Prerequisites
- Python 3.11+
pip— Python's package installer- An MCP-compatible client, such as ChatGPT, to use the tools and visual result cards
Installation
- Create and activate a mamba environment:
mamba create -n product-ranking python=3.11
mamba activate product-ranking
- Install the published package from PyPI into the activated environment:
python3 -m pip install product-ranking-agent
Quick start
Start the server:
product-ranking-agent
Connect your MCP client to http://127.0.0.1:8000/mcp, then begin a new chat so it loads the current tools.
Skill Installation
Install the bundled Product Search Results skill into the current project:
product-search-install-skill
The command copies the skill to .codex/skills/product-search-results in that project.
To install it into a different project, provide that project's path:
product-search-install-skill --project /path/to/project
If that project already has this skill and you want to replace it, add --force.
Application example
Documentation
For setup, client configuration, tool details, deployment, packaging, and development, see the getting-started guide and the rest of the docs folder.
License and citation
This project is licensed under the MIT License. If you use this work in research or other published work, see CITATION.cff for the preferred citation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file product_ranking_agent-0.1.29.tar.gz.
File metadata
- Download URL: product_ranking_agent-0.1.29.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14d260a3cc425c3a1f8113d13357229e6cc3e2d719237360f00b760179481ae9
|
|
| MD5 |
a5df412c1b7520c8d9e24d40c96380d5
|
|
| BLAKE2b-256 |
64c1fc3e3ca36771e8af731f75c27bac479f2383bf47044c8e70433a12e80d4a
|
File details
Details for the file product_ranking_agent-0.1.29-py3-none-any.whl.
File metadata
- Download URL: product_ranking_agent-0.1.29-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a83d1d87763517cbaf25aae5fffd9104f3a90ab5f6c037eb84f2f659f4ea2db
|
|
| MD5 |
b7b8f44144579a1f3be8fe055cdb800f
|
|
| BLAKE2b-256 |
8513bfb49ad59946ee28af291d6a2ffc43dc5725c5c58caf43d5efc846958888
|