Skip to main content

Product Search & Ranking Agent

Agent name: Product Search & Ranking Agent (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 ranking-agent

Quick start

Start the server:

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

ranking_agent-0.1.30.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.

ranking_agent-0.1.30-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file ranking_agent-0.1.30.tar.gz.

File metadata

  • Download URL: ranking_agent-0.1.30.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for ranking_agent-0.1.30.tar.gz
Algorithm Hash digest
SHA256 36c058bf372eae05ac9a1cd07e3c681734b22448e024bd10f2d143b8881832c3
MD5 98ffb29c4e444bbdc32d6a2be2c1185c
BLAKE2b-256 9f39b8e3f396a384d39bab3f3c5c6161e0359e96c9899e21ef0febc755ac17ce

See more details on using hashes here.

File details

Details for the file ranking_agent-0.1.30-py3-none-any.whl.

File metadata

  • Download URL: ranking_agent-0.1.30-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.11.16

File hashes

Hashes for ranking_agent-0.1.30-py3-none-any.whl
Algorithm Hash digest
SHA256 7507647ba662c2ba42984a23d23c207f02764eb3c6ffe2af38da6f45757417d4
MD5 5e7bef576e6381825323e6e0673b2baf
BLAKE2b-256 ffca80b14ffd763317955526951c4cf19e4df3dabc5fd34a8cbc2ba85067248c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.30 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