mcp · longbridge — Claude Code MCP server: what it does, how to install
Connects Claude Code and other MCP clients to Longbridge for quotes, options, portfolio data, and US and HK market tools.
claude mcp add --transport http longbridge-mcp https://mcp.longbridge.comWhat mcp does
This server connects an MCP client to Longbridge through a hosted HTTP endpoint. An agent can work with quotes, options, orders, fundamentals, screeners, IPO data, alerts, DCA plans, grid trading, and portfolio analytics for US and HK markets.
OAuth 2.1 handles access, while requests pass the bearer token to the Longbridge SDK without server-side sessions or a database. Responses use typed fields, and the optional _jq argument filters returned JSON with an embedded jq-compatible engine. A Longbridge account sign-in is required before OAuth access to the data and account tools works.
What it helps with
- fetch US and HK stock quotes
- compare company fundamentals
- screen stocks by conditions
- check IPO listings and price alerts
- inspect Longbridge portfolio positions
Example prompts for the agent
- Compare the latest quotes for
AAPL.USandMSFT.US. - Find IPOs listed for the HK market this week.
- Show my Longbridge positions and group them by market.
How to install mcp
Platform CLI: remote server
claude mcp add --transport http longbridge-mcp https://mcp.longbridge.comPlatform CLI: remote server
codex mcp add longbridge-mcp --url https://mcp.longbridge.comConfig file
{
"mcpServers": {
"longbridge-mcp": {
"url": "https://mcp.longbridge.com"
}
}
}Config file
{
"servers": {
"longbridge-mcp": {
"type": "http",
"url": "https://mcp.longbridge.com"
}
}
}Platform CLI: remote server
gemini mcp add -t http longbridge-mcp https://mcp.longbridge.comStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp
How do I install mcp in Claude Code?
Run claude mcp add --transport http longbridge-mcp https://mcp.longbridge.com, then complete Longbridge OAuth when the client makes its first request.
What does mcp do?
It connects an agent to Longbridge tools for quotes, options, orders, IPO data, alerts, and portfolio analysis across US and HK markets.
Do I need to paste an API token?
No. The hosted endpoint https://mcp.longbridge.com uses OAuth 2.1, so you sign in with your Longbridge account instead.
Similar MCP servers
All MCP servers for Finance and business →mcp by other authors comes first.