Skip to main content

Product Search & Ranking Agent

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

Product Search & Ranking Agent 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

  1. Create and activate a mamba environment:
mamba create -n product-ranking python=3.11
mamba activate product-ranking
  1. 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

Application example 1.0

Application example 1.1

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

product_ranking_agent-0.1.29.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

product_ranking_agent-0.1.29-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

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

Hashes for product_ranking_agent-0.1.29.tar.gz
Algorithm Hash digest
SHA256 14d260a3cc425c3a1f8113d13357229e6cc3e2d719237360f00b760179481ae9
MD5 a5df412c1b7520c8d9e24d40c96380d5
BLAKE2b-256 64c1fc3e3ca36771e8af731f75c27bac479f2383bf47044c8e70433a12e80d4a

See more details on using hashes here.

File details

Details for the file product_ranking_agent-0.1.29-py3-none-any.whl.

File metadata

File hashes

Hashes for product_ranking_agent-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 3a83d1d87763517cbaf25aae5fffd9104f3a90ab5f6c037eb84f2f659f4ea2db
MD5 b7b8f44144579a1f3be8fe055cdb800f
BLAKE2b-256 8513bfb49ad59946ee28af291d6a2ffc43dc5725c5c58caf43d5efc846958888

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.29 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page