Skip to content
MCP server

longbridge.com

Quotes, options, orders and portfolio tools for Longbridge US and HK markets

longbridge.com is an MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
API, Self-hosted
Runs
Remotely
Version
0.9.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http mcp https://mcp.longbridge.com

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.longbridge.com

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.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}

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

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.longbridge.com

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

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --url https://mcp.longbridge.com

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
url = "https://mcp.longbridge.com"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.longbridge.com

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

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "httpUrl": "https://mcp.longbridge.com"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http mcp https://mcp.longbridge.com

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "serverUrl": "https://mcp.longbridge.com"
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.longbridge.com",
          "transport": "http"
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "type": "streamableHttp",
          "url": "https://mcp.longbridge.com"
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "url": "https://mcp.longbridge.com"
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.longbridge.com"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.longbridge.com"
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.longbridge.com"
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • LONGBRIDGE_HTTP_URLLongbridge OpenAPI base URL. Used for OAuth metadata discovery.
  • LONGBRIDGE_QUOTE_WS_URLQuote WebSocket endpoint used by the embedded Longbridge SDK.
  • LONGBRIDGE_TRADE_WS_URLTrade WebSocket endpoint used by the embedded Longbridge SDK.

About longbridge.com

The Longbridge MCP server is the official connector for the Longbridge brokerage. It exposes more than 160 tools across real-time quotes, options, order routing, fundamentals, analyst ratings, calendars, IPOs, price alerts, DCA plans, grid trading, portfolio analytics and community sharelists, covering US and Hong Kong markets.

Sign-in uses OAuth 2.1 with automatic discovery, so ChatGPT and Claude users add Longbridge from their connector settings and log in with their own account. The server is stateless, forwarding each request's token to the Longbridge SDK without storing sessions or data.

Every tool accepts an optional _jq argument that filters the returned JSON with a jq-compatible expression, which keeps responses small. The server is written in Rust and is published as a container image as well as a hosted endpoint at mcp.longbridge.com. Tools include trading actions, so they act on a real account.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

quote
Fetch quotes for one or more symbols, e.g. AAPL.US.

What it does

Quotes and options
Real-time quotes and options data for US and HK markets.
Order routing
Account, portfolio and trading tools gated by your own credentials.
Research data
Fundamentals, analyst ratings, screeners, calendars and IPO information.
Automation tools
Price alerts, DCA plans and grid trading.
OAuth 2.1 sign-in
Auto-discovered OAuth flow with no token to paste in supported clients.
jq response filtering
Optional _jq argument trims any tool response to the fields you need.
Stateless server
Tokens go straight to the SDK; no sessions or database are kept.

Good for

  • Ask for a quote on a US stock
  • Compare two companies' valuations
  • See your Hong Kong positions
  • Check which IPOs are coming this week
  • Set up a price alert from chat

longbridge.com FAQ

How many tools does longbridge.com have?

The registry lists 163 and the README 164, covering quotes, options, orders, fundamentals, screener, IPO, alerts, DCA and grid trading.

Which markets does longbridge.com cover?

US and Hong Kong markets.

How does sign-in work?

OAuth 2.1 with a Longbridge account; the server forwards the bearer token and stores nothing.

Where is longbridge.com hosted?

At https://mcp.longbridge.com over streamable HTTP; a container image is also published.

How do I add longbridge.com to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.longbridge.com

What are the best alternatives to longbridge.com?

The closest alternatives to longbridge.com are AkTools Pro MCP Server, Stock Short Selling & Short Interest Data, Stocks Crypto Ohlcv Quote Market Data Api MCP, Light Horse Securities and Stock Market Data MCP.

Where this comes from

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

How AIPoweredBot checks servers