← Back to MCP list
🌉

Longbridge OpenAPI MCP

v1.0.0
Data AcquisitionRemote

Official Longbridge MCP via OAuth 2.1 — no manual API key. OpenAPI access is free; premium quotes and trading fees follow Longbridge account rules. Requires an MCP client with OAuth support (Cursor, Claude Code, etc.).

§ Connection Config

Transport Type: remote
https://openapi.longbridge.com/mcp
Authorization: Bearer {env:LONGBRIDGE_ACCESS_TOKEN}
Longbridge OAuth Access TokenRequired

Platform proxy calls require a Bearer token. Cursor handles OAuth automatically; for headless use, generate an Agent Auth Code at open.longbridge.com/connect.

Type: headerApply →

§ Quickstart

Add the following to your MCP client configuration (Cursor, Claude Desktop, etc.):

Settings → Tools & MCP → Add Remote MCP Server. OAuth browser flow starts on first tool call.

⚠️

Client must fully support MCP OAuth 2.1. Mainland China users may use https://mcp.longbridge.cn for faster access.

MCP Client Configuration

{
  "mcpServers": {
    "longbridge": {
      "url": "https://openapi.longbridge.com/mcp"
    }
  }
}
View full setup guide →

§ Tools Reference

5 tools

quote_realtime

Get real-time quote

ParameterTypeRequiredDescription
symbolstringe.g. AAPL.US

quote_candlesticks

Get historical candlesticks

ParameterTypeRequiredDescription
symbolstringSymbol

fundamental_financial_reports

Get financial reports and fundamentals

ParameterTypeRequiredDescription
symbolstringSymbol

market_calendar

Get earnings, dividends, IPO calendar events

portfolio_analysis

Portfolio P/L and analysis

§ Examples

Once configured, you can ask the AI directly:

HK vs US

Get latest quotes and valuation for 00700.HK and BABA.US

Cross-market quote lookup

Option chain

List AAPL near-term option chain and find highest volume calls

Derivatives data example