# himarket.hk

> himarket.hk is an MCP server for trading card market. MCP server for a Hong Kong MTG and Riftbound card marketplace: search cards, read prices. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web
- **Website:** https://www.himarket.hk/docs/agent-mcp
- **MCP Registry name:** hk.himarket/mcp
- **Categories:** [trading card market](https://ai-powered.com/categories/trading-card-market)
- **Listing updated:** 2026-11-27

## About

HiMarket's MCP endpoint lets an AI client work with a Hong Kong trading card marketplace covering Magic: The Gathering and Riftbound on one shared account. An agent can search the card catalog, pull reference prices, live sell counts and per-printing market data, and review what the account is selling or buying.

Write access is split by scope. Tokens carry read, sellist:write or buylist:write permissions, and each token runs in either direct mode, where changes go live immediately, or propose mode, where the agent submits drafts that the account owner approves in a signed-in browser session. Optional budget caps stop bulk buylist or proposal calls that would exceed a set HK$ amount.

The server suits collectors and traders who already use an MCP-capable assistant such as Cursor or Claude and want to price stock, check market depth or manage listings through conversation. Buylist fulfilment uses real store credit, so the propose-mode review step is the default for third-party agents.

## Features

- **Card catalog search:** Finds cards by name with fuzzy fallback and structured MTG filters such as type, colour, format and price range.
- **Live price and supply data:** Returns reference prices, copy-accurate live sell counts and the cheapest current sell price for batches of card names.
- **Two-game scope:** Covers Magic: The Gathering and Riftbound through one account, with a game parameter to choose the catalog.
- **Listing management:** Creates, prices and cancels sell listings and buy offers, with ratio pricing against USD references.
- **Propose-mode review:** Agents can submit draft edits that stay inert until the account owner approves them.
- **Budget and rate controls:** Optional maxTotalHKD caps abort bulk writes that would exceed the budget, and per-token rate limits apply.

## Good for

- Check current Hong Kong sell prices and supply for a list of MTG or Riftbound cards
- Find every printing of a card name with set, collector number and reference prices
- Bulk-price your sell listings at a set ratio to the USD reference
- Review your active buylist and capacity before adding new buy offers
- Draft mass listing changes for review rather than applying them live

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://www.himarket.hk/api/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://www.himarket.hk/api/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://www.himarket.hk/api/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://www.himarket.hk/api/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://www.himarket.hk/api/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://www.himarket.hk/api/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://www.himarket.hk/api/mcp
```

Enter a Name (for example "himarket.hk"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://www.himarket.hk/api/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 12 of 35 tools change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `search_cards` (name suggests: reads): Name search over the HiMarket catalog with prefix preference and fuzzy fallback.
- `search_catalog` (name suggests: reads): Structured MTG catalog search by type, colour, format legality, set and price range.
- `get_card_printings` (name suggests: reads): Lists every paper printing of a card name with reference prices.
- `get_printings` (name suggests: reads): Looks up up to 25 printings by printing id.
- `list_set_printings` (name suggests: reads): Lists a game's sets or every printing in one set with reference prices.
- `get_reference_prices` (name suggests: reads): Batch reference prices and live supply snapshot for up to 25 names.
- `get_supply_counts` (name suggests: reads): Batch live sell counts and cheapest live sell for up to 25 names.
- `get_for_sale` (name suggests: reads): Active for-sale rows for one exact card name.
- `get_market_overview` (name suggests: reads): Aggregated lowest sell and highest buy per printing.
- `get_demand_overview` (name suggests: reads): Card names ranked by page views, joined with supply and staple signals.
- `get_format_staples` (name suggests: reads): Top tournament staples of one MTG constructed format.
- `get_pricing_guidance` (name suggests: reads): Preset ratios, price floors, condition factors and language factor.
- `whoami`: The account a token acts as, with its scopes and mode.
- `get_capacity` (name suggests: reads): Active sell and buy counts, account caps and slots remaining.
- `list_my_sellist` (name suggests: reads): Compact rows of everything the account is selling or could sell.
- `list_my_buylist` (name suggests: reads): Active buylist items for the account.
- `list_my_cards` (name suggests: reads): The account's full collection including cards not yet sellable.
- `create_sellist` (name suggests: changes): Creates 1 to 20 sell listings of one printing.
- `bulk_create_sellist` (name suggests: changes): Creates sell listings for many printings.
- `set_sellist_price` (name suggests: changes): Sets absolute HK$ sell prices or pauses listings.
- `bulk_set_sellist_price` (name suggests: changes): Sets absolute HK$ sell prices across many listings.
- `bulk_price_sellist_by_ratio`: Prices sell listings at a ratio of the reference price.
- `cancel_sellist` (name suggests: changes): Deletes pre-sale listings.
- `bulk_cancel_sellist` (name suggests: changes): Deletes many pre-sale listings.
- `bulk_delist`: Takes owned inventory cards off sale.
- `create_buylist` (name suggests: changes): Creates 1 to 20 buy offers of one printing.
- `bulk_create_buylist` (name suggests: changes): Creates buy offers for many printings with an optional budget cap.
- `set_buylist_price` (name suggests: changes): Prices a buy offer in absolute HK$.
- `bulk_price_buylist_by_ratio`: Prices buy offers by ratio.
- `cancel_buylist` (name suggests: changes): Cancels a buy offer.
- `bulk_cancel_buylist` (name suggests: changes): Cancels many buy offers.
- `propose_changes`: Submits a draft mass edit for owner approval.
- `list_my_proposals` (name suggests: reads): Lists the account's proposals and their status.
- `get_proposal` (name suggests: reads): Fetches one proposal in full.
- `cancel_proposal` (name suggests: changes): Withdraws a still-pending draft.

## FAQ

### How do I connect an AI client to HiMarket?

Create a Personal Access Token under API tokens on your Profile page, then configure your MCP client with the endpoint https://www.himarket.hk/api/mcp and the token as a bearer header. Clients that support MCP OAuth discovery can connect without pasting a token.

### What is the difference between direct and propose mode?

In direct mode, write tools apply immediately to the live marketplace. In propose mode, live writes are denied and the agent submits drafts with propose_changes, which the account owner reviews and approves on My Listings. Propose mode is the default for third-party agents.

### Can the agent see who is selling a card?

No. For-sale rows are anonymous and sellers are never identified.

### Does the server cover games other than MTG?

Yes, it covers Riftbound alongside Magic: The Gathering. Catalog tools default to MTG and accept a game parameter to query Riftbound instead.

### How do I add himarket.hk to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://www.himarket.hk/api/mcp

### What are the best alternatives to himarket.hk?

The closest alternatives to himarket.hk are alltcgapi, CardNexus, Zardix: Pokémon TCG sealed prices, EdgeVault and SuperCatch.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [alltcgapi](https://ai-powered.com/mcp/alltcgapi): alltcgapi is a freemium MCP server for trading data.
- [CardNexus](https://ai-powered.com/mcp/cardnexus-2): CardNexus is a free MCP server for trading card market.
- [Zardix: Pokémon TCG sealed prices](https://ai-powered.com/mcp/zardix-pokemon-tcg-sealed-prices): Zardix: Pokémon TCG sealed prices is a free MCP server for trading card market.
- [EdgeVault](https://ai-powered.com/mcp/edgevault): EdgeVault is an MCP server for trading tools.
- [SuperCatch](https://ai-powered.com/mcp/supercatch): SuperCatch is an MCP server for trading card market.

---
Source: https://ai-powered.com/mcp/himarket-hk
