Open-source harness measures how well AI shopping assistants find bicycle parts via MCP
A developer released mcp-commerce-evals, an open-source Rust tool that tests how well an AI assistant shops through an MCP-connected store, scoring both search retrieval and the assistant's final choice. The tool was validated against a reference store of 500 invented bicycle parts with 44 buyer queries spanning exact part numbers, typos, synonyms, filters, adversarial inputs, and no-match cases. Tool-level search scored 0.90 hit@1 and 0.93 hit@5, while an assistant built on Claude Haiku reached a 0.94 pass@1 across 132 runs. The misses exposed practical weaknesses, such as the letter O not being read as a zero in part numbers and lubes outranking chains in unfiltered searches. The author cautions that the sample is small, the catalog and queries were written by the author, and latency figures reflect a local loopback rather than production conditions. The CLI can return exit codes based on score thresholds, allowing ranking regressions to fail CI builds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in