# Commerce Evidence Toolkit

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/iamgeorgekelly/agentic-commerce-field-guide  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/commerce-evidence-toolkit

## Description
Read-only local evidence checks for product records, feed snapshots, and dimensions.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "commerce-evidence-toolkit": {
    "command": "npx",
    "args": ["-y","commerce-evidence-toolkit"]
  }
}
```

## Documentation & README

# Commerce Evidence Toolkit

Three local, read-only checks for agents working with product data. The package wraps the same versioned comparison rules published in the [Agentic Commerce Field Guide](https://www.iamgeorgekelly.com/field-guide).

**Version 0.1.0 · MIT licensed.** Download the [versioned release](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/releases/tag/v0.1.0), or run the source as described below. Registry availability is separate from a GitHub release; consult the live registry for its current state.

## What it does

| Tool | Inputs | Result |
|---|---|---|
| `review_product_record` | One product object, optional supplied evidence, `copy` or `mapped` method | Selected-field review: `clear` or `hold` |
| `compare_feed_snapshots` | Explicit source and feed snapshots, item IDs, evidence references, timestamps and age policy | `match`, `update_needed` or `hold` |
| `compare_dimensions` | Same item and measurement basis, named length/width/height, units and tolerance | `match`, `mismatch` or `hold` |

The checks do not fetch references, authenticate evidence, contact a merchant, change a feed, place orders or send telemetry. A match is not provider acceptance, live product truth, physical fit or compatibility. This is a selected local review contract, not a complete provider schema validator. Hold results are evidence decisions, not protocol failures.

## Install the versioned bundle

Download `commerce-evidence-toolkit-0.1.0.mcpb` and `SHA256SUMS` from the [v0.1.0 release](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/releases/tag/v0.1.0). Check the archive against its published SHA-256 checksum. The bundle contains the server and production dependencies; Node.js 22 or later is required.

Use your compatible client's MCPB import flow, or extract the archive to a directory and configure the absolute path to its `server/index.mjs` using the JSON example below. MCPB support varies by client. Protocol tests do not establish certification by any desktop app.

A Node package archive is also included in the release. Installing that archive requires npm to install its dependencies. It has not been published to npm.

## Run from source

Requires Node.js 22 or later and npm. Dependency installation uses the network; the three comparison operations run locally after installation.

```sh
npm ci --ignore-scripts
npm test
node server/index.mjs
```

The final command starts an MCP server over standard input/output. It waits for a compatible client; it is not a browser URL. Do not print debug messages to stdout, which carries the protocol.

For a compatible client that accepts an MCP JSON configuration, replace the path below with the absolute location of your checkout:

```json
{
  "mcpServers": {
    "commerce-evidence": {
      "command": "node",
      "args": ["/absolute/path/agentic-commerce-field-guide/server/index.mjs"]
    }
  }
}
```

Client configuration locations differ. This example declares the transport and executable; it does not claim every assistant automatically installs or invokes the server.

## Try a complete input

The files in `examples/` are complete **tool arguments**, not bare internal records. The three starter examples below are fictional and use frozen times where relevant.

| Tool | Arguments file | Expected example result |
|---|---|---|
| `compare_dimensions` | [examples/dimensions.json](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/examples/dimensions.json) | `match` |
| `compare_feed_snapshots` | [examples/feed-snapshots.json](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/examples/feed-snapshots.json) | `update_needed` |
| `review_product_record` | [examples/product-record.json](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/examples/product-record.json) | `clear` after explicit mapping |

Ask your client to call the named tool with that file's JSON object. Every successful response includes structured content with `toolVersion`, a canonical `documentation` URL and the full `result`. Each core result retains its own ruleset version and evidence limitations. Incomplete accepted inputs return holds; malformed envelopes and excessive requests return protocol tool errors. The wrapper caps serialized requests at 200,000 UTF-8 bytes and nesting at 25 levels; individual checks impose narrower limits.

Dimension values are positive decimal strings and explicit units (`in`, `cm`, `mm`, `m`); tolerance is a nonnegative decimal string in millimetres. Do not silently rename depth to length, treat diameter as two axes, or substitute package measurements. Product-record review covers selected positive USD fields; feed freshness is a selected current USD snapshot contract. References are caller assertions and are never fetched.

## One observed comparison

[examples/observed-dimensions.json](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/examples/observed-dimensions.json) contains the HOLMERUD 40541421 dimensions observed on public US and GB product pages for the September 24 study. It returns `match` at the declared 2 mm display threshold and `mismatch` at zero. Fractional inch displays are represented exactly as decimals. The tool does not fetch or authenticate the linked sources. This threshold is not a manufacturing or installation tolerance. The study retains eight complete comparisons and 22 unresolved listings; it is not an industry error-rate estimate.

## Verify and package

```sh
npm run verify:artifacts
npm test
node scripts/test-clean-install.mjs
npm run bundle
```

`npm run bundle` creates a local `.mcpb` archive with the production dependencies and a SHA-256 file under `dist/`. The Node package can be built with `npm pack`. A local package build is not an npm or MCP Registry publication.

The test suite compares all 40 fixture/method cases against their source rules (10 dimensions, 6 freshness, and 12 product records under 2 methods), checks error bounds and input immutability, and invokes all 40 over stdio with the TypeScript SDK client. The clean-install test installs the archive into a temporary directory and calls all three tools. A separate [Python SDK client test](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/scripts/test-python-client.py) calls all three examples and an incomplete-input hold. These are protocol tests with synthetic inputs, not independent users or desktop-app certification.

## Evidence and scope

`provenance.json` records the source site commit, actual production download verification time, and SHA-256 for every file in `artifacts/`. The September 24 snapshot adds dimensions to the existing product-feed and measurement artifacts. Verification recomputes hashes and the earlier portability/freshness cases. Synthetic cases show rule behavior, not merchant error rates or model accuracy.

Primary tool documentation:

- [Product record review](https://www.iamgeorgekelly.com/field-guide/product-feed-portability-experiment)
- [Feed freshness](https://www.iamgeorgekelly.com/field-guide/product-feed-freshness)
- [Dimension comparison](https://www.iamgeorgekelly.com/field-guide/product-dimensions-unit-conversion)
- [Agent access and editorial policy](https://www.iamgeorgekelly.com/for-agents)

Please cite the relevant guide and this version or commit. `CITATION.cff` provides author metadata. To report a correction, open an issue with the tool version, a minimal non-sensitive input, expected result, actual result and supporting reference. Never post customer data or credentials.

## Licensing

Original software, documentation, tests and fictional fixtures are available under the [MIT License](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/LICENSE); see [license scope](https://github.com/iamgeorgekelly/agentic-commerce-field-guide/blob/HEAD/LICENSE-SCOPE.md). Third-party dependencies retain their own license notices in the packaged dependency directories. Linked specifications, source pages, images and trademarks are not relicensed by this repository.

