Skip to content

Quick Start

This guide helps you connect moomoo MCP to your AI client in minutes.

Prerequisites

Ensure your AI client supports the MCP protocol

Endpoint

https://mcp.moomoo.com/mcp

Client Setup

Claude Code

Run the following command in your terminal:

bash
claude mcp add moomoo-mcp \
  --transport http \
  https://mcp.moomoo.com/mcp

Claude Desktop

Add the following to your Claude Desktop configuration file (claude_desktop_config.json):

json
{
  "mcpServers": {
    "moomoo-mcp": {
        "url": "https://mcp.moomoo.com/mcp"
    }
  }
}

Cursor

Add the following to your Cursor MCP configuration file (.cursor/mcp.json):

json
{
  "mcpServers": {
     "moomoo-mcp": {
        "url": "https://mcp.moomoo.com/mcp"
    }
  }
}

Other MCP Clients

Any MCP client that supports the http transport can connect — just configure it with the endpoint URL https://mcp.moomoo.com/mcp.

First Connection

After setup, when you first make a moomoo-related query:

  1. Your AI client will automatically open a browser to the moomoo OAuth consent page
  2. Log in and authorize the requested permission scopes
  3. The client stores the token and begins making API calls
  4. Subsequent sessions re-use the stored token — no need to re-authorize

Tip: After setup, try asking "What is the current stock price of Tencent?" to verify the connection works.