Longbridge MCP
Lets your AI agent get US and HK market quotes, research data, and manage orders and portfolio at Longbridge.
0 stars on GitHubby LongbridgeUpdated β
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://mcp.longbridge.com
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http longbridge https://mcp.longbridge.com --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Longbridge OAuth 2.1 bearer token in the form Bearer <access_token>. Clients should follow the authorization server URL returned by GET /.well-known/oauth-protected-resource (RFC 9728). | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
How is NVDA trading today?
Compare AAPL and MSFT valuations.
What it is
This is the official server of the Longbridge brokerage with 164 tools for US and Hong Kong markets. The agent can read real-time quotes, options and fundamentals, use screeners and calendars, and also work with your account, orders and plans. You sign in once with your Longbridge account over OAuth.
What it can do
- Quote tools: real-time and historical quotes, candlesticks, options
- Fundamental tools: financial statements, dividends, valuations
- Trade tools: submit, cancel and replace orders, positions, balance
- DCA plan and grid trading tools
- Screener, IPO and price alert tools
- Portfolio profit and loss analysis
When to use
- βΊWhen you want a quick view of how a stock is trading and its fundamentals
- βΊWhen you want to check IPOs or earnings on a given week
- βΊWhen you want to review your positions and profit and loss
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
yfinancePulls free stock, ETF, and index data from Yahoo Finance for US, Hong Kong, and Canadian markets, with no API key needed.longbridge-market-dataProvides real-time market data, like quotes and charts. It helps understand capital flow and market sentiment.adr-hshareShows your agent how to compare the price of a Chinese company listed in several markets, such as a US ADR and a Hong Kong share.Frequently asked questions
Is it made by Longbridge?
Yes. The registry verified that the server is published by the owner of longbridge.com.
How many tools does it have?
164 tools, according to the README (the registry says 163).
Which markets does it cover?
US and Hong Kong.
Can it place trades?
Yes. It has order tools and account tools, all gated by your own credentials, so approve actions carefully.
Can I filter long answers?
Yes. Every tool accepts an optional _jq setting that filters the returned data.
Can I run it myself?
Yes. A Docker image and a Rust build from source are described in the README.
If it does not work
- βΊA 401 response before signing in is expected. Reconnect and finish the browser sign-in.
- βΊIf sign-in tokens expire, remove and add the server again to restart the OAuth flow.
- βΊWhen self-hosting, set the base URL to your public address, or clients cannot find the sign-in server.
5 new skills a week. 1 minute to read.