Longbridge MCP Server
Official MCP server for the Longbridge brokerage. 145 tools across real-time quotes, options, order routing, fundamentals, analyst ratings, calendars, IPO, price alerts, DCA plans, portfolio analytics and community sharelists — covering US and HK markets. Built with Rust using rmcp and axum.
Features
- 145 MCP tools across 13 categories: quotes, trading, fundamentals, screener, market data, calendars, IPO, portfolio, alerts, content, account statements, DCA, and community sharelists
- Stateless architecture -- each request carries a Bearer token forwarded directly to the Longbridge SDK; no server-side sessions or database
- OAuth 2.1 resource metadata compliant with RFC 9728, pointing clients to Longbridge OAuth for authorization
- JSON response transformation -- field names normalized to snake_case, timestamps converted to RFC 3339, internal counter_id values mapped to human-readable symbols
- Compact tool metadata -- typed
outputSchemadescriptors stay intools/listfor compatible clients, redundant return-field prose is trimmed, and full verbose schemas are available as MCP resources underlb://tools/{tool}/output-schema - Prometheus metrics for monitoring tool calls, latency, and errors
- Configurable via CLI arguments or a JSON config file (CLI takes precedence)






