LABSCO SUMMARY
A brokerage account an agent can act on, not just read.
Quotes and fundamentals are the easy half; the account, portfolio and order-routing tools are the half most market servers stop short of. What an agent can do is bounded entirely by your own credentials, because the server holds none of its own.
What it is
Longbridge's own server for its brokerage, hosted at https://mcp.longbridge.com over Streamable HTTP. It is stateless: every request forwards your bearer token straight to the Longbridge SDK, with nothing stored server-side.
What you get
- 163 tools in twenty categories, covering US and HK markets
- Quote (32) — real-time and historical quotes, candlesticks, depth, brokers, options, warrants, watchlists, capital flow, short positions
- Fundamental (33) — statements and reports, business segments, institutional views, industry peers, dividends, EPS forecasts, valuations, shareholders, corporate actions
- Trade (14) — order submission, cancellation and replacement, positions, balance, executions, cash flow, margin
- DCA (9) and Grid (11) — dollar-cost-averaging plans and grid-trading orders, each with their own lifecycle and history reads
- Market (15), IPO (7), Screener (5), Alert (5) and Portfolio (4) — market status and rankings, IPO calendar and subscriptions, screener strategies, price alerts, profit-and-loss analysis
Requirements
A Longbridge account. Point a Streamable HTTP client at https://mcp.longbridge.com and complete OAuth 2.1 — authorization is discovered from the endpoint, so there is no token to paste. Self-hosting runs the ghcr.io/longbridge/longbridge-mcp image; set --base-url to the externally reachable URL, since the default localhost value is not reachable by remote clients.
Setup effort
One command, then sign in — claude mcp add --transport http longbridge https://mcp.longbridge.com, then approve the OAuth sign-in
USE CASES
Asking how a holding is doing today
Real-time quotes and your own positions answer from the same endpoint, so the question does not need two tools in two windows.
Comparing two companies before you buy
Financial statements, valuation comparison, analyst views and industry peers sit in the fundamental group, across both US and HK listings.
Running a plan rather than a one-off order
Dollar-cost-averaging and grid strategies have their own create, pause, resume and stop tools plus execution history, so the whole lifecycle is callable.
Watching for something without sitting there
Price alerts are created, enabled, disabled and listed as tools, and the finance calendar covers earnings, dividends, IPOs and closures.
BEFORE YOU INSTALL
What to know first
Requires
A client that can reach a remote MCP server over HTTP
INSTALLATION
Connect your client
Server setup
claude mcp add
Claude Code
claude mcp add --transport http longbridge https://mcp.longbridge.comHosted endpoint
https://mcp.longbridge.comAdd this hosted endpoint to your MCP client, then sign in.
MCP Clients
ChatGPT
Settings → Apps & Connectors → add Longbridge
Claude.ai, Claude mobile app
Settings → Connectors → add Longbridge
Cursor, Cline, Windsurf
Point Cursor, Cline, Windsurf, Zed or another client at https://mcp.longbridge.com with transport streamable-http
Other routes
Self-hosted Docker
docker run -p 8443:8443 -v <YOUR_PATH_TO_CERTS>:/certs:ro ghcr.io/longbridge/longbridge-mcp --bind 0.0.0.0:8443 --base-url <YOUR_SERVER_URL> --tls-cert /certs/cert.pem --tls-key /certs/key.pem