Skip to main content
ClaudeWave
ihint avatar
ihint

merchant-context

View on GitHub

Open merchant discovery schema and x402 MCP inspector for buyer agents

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
Install in Claude Code / Claude Desktop
Method: NPX · wrangler
Claude Code CLI
claude mcp add merchant-context -- npx -y wrangler
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "merchant-context": {
      "command": "npx",
      "args": ["-y", "wrangler"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# Merchant Context

Merchant Context is an open project for making offers easier for buyer agents to find, compare, and act on.

It starts with a practical question:

> Can an agent tell what you sell, who it is for, what it costs, which rules apply, and what action comes next without guessing?

This repo contains:

- an [agentic commerce readiness checklist](CHECKLIST.md);
- a [draft merchant-context schema](schema/merchant-context.schema.json);
- a [worked SaaS example](examples/saas.json); and
- a [map of the main commerce and discovery standards](docs/protocol-map.md).

## Canonical sources

- Product and machine brief: https://merchant.atomandbits.com/llms.txt
- Version 0.1 schema: https://merchant.atomandbits.com/schema/merchant-context-v0.1.json
- UCP discovery: https://merchant.atomandbits.com/.well-known/ucp
- Open source and history: https://github.com/ihint/merchant-context

The domain schema and [`schema/merchant-context.schema.json`](schema/merchant-context.schema.json)
must stay semantically equal. Versioned releases preserve old contracts.

## Status

This is an early public draft from [Atom & Bits](https://atomandbits.com). It is not a new payment or checkout protocol. It does not certify ACP, UCP, MCP, A2A, x402, or Web Bot Auth support.

The UCP profile declares no services, checkout capabilities, or payment handlers. It gives agents an explicit discovery response without claiming operations that do not exist.

The goal is to give merchants one testable context layer that can map to those systems as they mature.

Agent and framework builders can follow the
[first 100 paid integrations](https://github.com/ihint/merchant-context/issues/6). The issue states
the launch gates and tracks verified integrations.

## Paid beta endpoint

- MCP: `https://api.merchant.atomandbits.com/mcp`
- Free MCP tool: `check_merchant`
- HTTP x402: `POST https://api.merchant.atomandbits.com/v1/inspect`
- Price: $0.01 USDC on Base
- First verified settlement: [Base transaction `0x2f0f…57af`](https://basescan.org/tx/0x2f0fcf185021b68c827d5668f5d55481ca9d1f768b5e77b9d300e12b604f57af)

The first paid call settled on 2026-08-04 and returned a live inspection of
`https://merchant.atomandbits.com`.

## Quick start

1. Work through [CHECKLIST.md](CHECKLIST.md).
2. Copy [examples/saas.json](examples/saas.json).
3. Replace every sample value with a fact from your own site or system.
4. Keep prices, stock, policies, and action URLs current.
5. Run `python3 scripts/validate.py` before publishing.

## Design rules

- Facts beat slogans.
- A URL is not an API.
- Agents must not infer price, stock, policy, or authority.
- Each claim should name its source and update time.
- A purchase or other high-impact action should state when human approval is required.
- Existing standards win. Map to them instead of inventing a private dialect.

## Agent service

The [`worker`](worker) directory contains the hosted MCP service under test. It exposes:

- `get_service_info`, a free tool that states the checks, price, payment network, and source;
- `check_merchant`, a free tool that returns the score and pass/fail checks without detailed evidence;
- `inspect_merchant`, a $0.01 x402 tool that checks six fixed public discovery paths;
- `POST /v1/inspect`, the same $0.01 inspection through standard HTTP x402 clients; and
- `/.well-known/merchant-context`, a public service record for agents and registries.

The inspector accepts public HTTPS origins only. It blocks local and IP targets, checks each
redirect, caps response size and time, and returns no page body. The payment path records hashes,
not wallet addresses or signed payment tokens.

Run its local checks:

```sh
cd worker
npm install
npm test
npm run typecheck
npx wrangler deploy --dry-run
```

## Contributing

Issues, examples, and corrections are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.

## License

MIT. See [LICENSE](LICENSE).
agentic-commerceai-agentsjson-schemamcp-servermerchantmerchant-discoveryx402

What people ask about merchant-context

What is ihint/merchant-context?

+

ihint/merchant-context is mcp servers for the Claude AI ecosystem. Open merchant discovery schema and x402 MCP inspector for buyer agents It has 0 GitHub stars and was last updated today.

How do I install merchant-context?

+

You can install merchant-context by cloning the repository (https://github.com/ihint/merchant-context) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is ihint/merchant-context safe to use?

+

ihint/merchant-context has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains ihint/merchant-context?

+

ihint/merchant-context is maintained by ihint. The last recorded GitHub activity is from today, with 6 open issues.

Are there alternatives to merchant-context?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy merchant-context to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: ihint/merchant-context
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ihint-merchant-context)](https://claudewave.com/repo/ihint-merchant-context)
<a href="https://claudewave.com/repo/ihint-merchant-context"><img src="https://claudewave.com/api/badge/ihint-merchant-context" alt="Featured on ClaudeWave: ihint/merchant-context" width="320" height="64" /></a>

More MCP Servers

merchant-context alternatives