Skip to main content
Glama
MCP Merchant Scout

MCP Merchant Scout

by davillafer

Tools

Tool

Description

discover_merchant

Fetch a merchant's /.well-known/ucp profile and register it

search_products

Search for products across all discovered merchants (query is optional, supports price filters)

get_product

Get full details for a specific product

compare_products

Compare 2-5 products side-by-side

Related MCP server: agentic-commerce

Setup

git clone https://github.com/davillafer/mcp-merchant-scout.git
cd mcp-merchant-scout
npm install
npm run build

Claude Code

Create a .mcp.json file in your project directory:

{
  "mcpServers": {
    "ucp-merchant-scout": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-merchant-scout/dist/index.js"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ucp-merchant-scout": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-merchant-scout/dist/index.js"]
    }
  }
}

Usage

Once configured, use natural language in Claude:

  1. Discover a merchant: "Discover the merchant at https://puddingheroes.com"

  2. Search products: "Search for products under $20"

  3. Search with keywords: "Find me a sci-fi book"

  4. Get details: "Get details on pudding-heroes-paperback"

  5. Compare: "Compare these two products side by side"

UCP Spec Compatibility

Supports both the official UCP spec (2026-01-23) and legacy implementations:

Feature

Spec support

Legacy fallback

Discovery

/.well-known/ucp

/api/ucp/discovery

Services

Reverse-domain keyed with transport bindings

Flat string paths

Capabilities

Reverse-domain keyed objects

Flat string arrays

Payment handlers

ucp.payment_handlers (keyed object)

payment.handlers (array)

Catalog search

POST /catalog/search

GET /products

Product lookup

POST /catalog/lookup

GET /products/:id

UCP-Agent header

profile="<discovery-url>" (spec format)

The client tries spec-compliant endpoints first and falls back to legacy formats automatically.

Live UCP Merchants

Endpoint

Format

Description

https://puddingheroes.com

Legacy

Public sandbox with 10 products (books, rentals, memberships)

https://ucp-demo-api.hemanthhm.workers.dev

Spec

Community demo with 5 AI gadget products

Development

npm run dev    # Run with tsx (auto-reload)
npm run build  # Compile TypeScript
npm start      # Run compiled output

Architecture

Claude <--stdio--> MCP Server <--HTTP--> Merchant A (/.well-known/ucp -> /catalog/search)
                               <--HTTP--> Merchant B (/.well-known/ucp -> /products)

The server maintains an in-memory registry of discovered merchants. Product searches fan out to all registered merchants in parallel using Promise.allSettled().

Tech Stack

Available Tools

4 tools
compare_productsA

Compare multiple products side-by-side across merchants. Shows pricing, availability, variants, and options for each product. Results are sorted by lowest price.

Inputs: products (required).

discover_merchantA

Discover a UCP-enabled merchant by fetching their /.well-known/ucp profile. Returns supported capabilities, services, and payment handlers. The merchant is registered for subsequent search and lookup operations.

Inputs: url (required).

get_productA

Get full details for a specific product from a UCP merchant, including all variants, pricing, media, and availability.

Inputs: productId (required), merchantUrl (required).

search_productsA

Search for products across all discovered UCP merchants (or a specific one). Returns matching products with prices, availability, and merchant info. Requires at least one merchant to be discovered first.

Inputs: query, currency, maxPrice, merchant, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool has a distinct primary purpose: discovery, search, detailed lookup, and comparison. There is minor overlap between search_products and compare_products since both return pricing/availability across merchants, but their intents are clear enough to avoid serious misselection.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: discover_merchant, search_products, get_product, compare_products. The naming is predictable and clearly indicates the action and target resource.

    Tool Count5/5

    Four tools is a well-scoped size for a merchant discovery and product research server. Each tool supports a distinct stage of the workflow without unnecessary bloat or redundancy.

    Completeness4/5

    The core workflow of discovering merchants, searching products, retrieving details, and comparing across merchants is fully covered. Minor gaps exist, such as no way to list or remove already-discovered merchants, but these do not break the primary use case.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A custom MCP server that turns Claude into an agentic shopping assistant for searching products, comparing options, managing a cart, and checking out with built-in guardrails for safe autonomous commerce.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A UCP-compliant MCP storefront server that exposes product catalog operations (search, cart, checkout) as MCP tools, following UCP schema version 2026-04-08.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the BuyWhere product catalog. Lets Claude Desktop, Cursor, Windsurf, and other MCP-compatible agents search and retrieve products without writing any HTTP code.
      59 npm
      1
      MIT