hk_resolve_symbol

Pack: hk-stocks · Endpoint: https://gateway.pipeworx.io/hk-stocks/mcp

Find the HKEX stock code for a company by name — the lookup step before hk_quote. Answers ‘what is Tencent’s Hong Kong ticker’, ‘Xiaomi HK code’, ‘Alibaba Hong Kong listing’. Returns ONLY Hong Kong-listed equities: derivative warrants, CBBCs and non-HK listings (ADRs, US/Frankfurt lines) are excluded, and each match states the code it resolved to so you can confirm it is the company you meant before quoting it. Source: Yahoo Finance search (keyless).

Parameters

NameTypeRequiredDescription
namestringyesCompany name, in English or Chinese, e.g. “Tencent”, “小米”, “HSBC”.
limitnumbernoMax matches to return, 1–10 (default 5).

Example call

Arguments

{
  "name": "Tencent"
}

curl

curl -X POST https://gateway.pipeworx.io/hk-stocks/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hk_resolve_symbol","arguments":{"name":"Tencent"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hk_resolve_symbol', {
  "name": "Tencent"
});

More examples

{
  "name": "小米",
  "limit": 3
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hk-stocks": {
      "url": "https://gateway.pipeworx.io/hk-stocks/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 30, 2026