</>MCP Agents Market
MCP Server

longbridge-terminal

by longbridge995RustUpdated 2026-09-08

AI-native CLI for the Longbridge trading platform with real-time market data, portfolio, and trading...

Claude DesktopClaude CodeZed

Longbridge Terminal is an AI-native command-line interface for the Longbridge trading platform that provides real-time market data, portfolio management, and trading capabilities. It exposes comprehensive financial data through a CLI, TUI, and JSON-RPC server designed specifically for AI agent integration and scripting workflows. The tool covers all Longbridge OpenAPI endpoints including quotes, options, fundamentals, news, IPOs, and order execution. It ships with an agent skill installation for Claude and other AI assistants, enabling natural language trading and market analysis.

Key Features

Real-time market data for stocks, options, and warrants across HK, US, CN, and SG markets with WebSocket subscriptions
Portfolio management with positions, cash flow, P&L analysis, and margin calculations
Trading operations with dry-run previews requiring explicit confirmation codes before execution
JSON-RPC 2.0 server mode (longbridge serve) for embedding in AI agents and third-party applications
Comprehensive fundamentals including financial statements, analyst ratings, institutional holdings, and SEC filings
AI agent skill installation for Claude with full command knowledge and tool-calling support
Full-screen TUI with live watchlists, charts, news, and Vim-like keybindings
ACP agent server exposing LongbridgeAI chatbot to compatible AI clients

Use Cases

  • 01AI-powered trading assistants that execute market research and place orders via natural language
  • 02Automated portfolio monitoring and rebalancing scripts with real-time quote feeds
  • 03Financial analysis workflows combining fundamentals, technicals, and news for stock screening
  • 04Desktop widgets and dashboards embedding live market data via JSON-RPC protocol
  • 05Recurring investment automation with DCA plans and grid trading strategies
  • 06Institutional investor tracking and 13F holdings analysis for portfolio insights

Related MCP Servers

View more

longbridge-terminal — FAQ

What is longbridge-terminal?+

Longbridge Terminal is an AI-native CLI and TUI for the Longbridge trading platform that provides real-time market data, portfolio management, and trading capabilities. It includes a JSON-RPC server mode and agent skill for integrating with AI assistants like Claude.

How do I install longbridge-terminal?+

Install via Homebrew on macOS/Linux with 'brew install --cask longbridge/tap/longbridge-terminal', via Scoop on Windows, or use the install script: 'curl -sSL https://github.com/longbridge/longbridge-terminal/raw/main/install | sh'. After installation, run 'longbridge auth login' to authenticate via OAuth.

Do I need a Longbridge account and API keys?+

Yes, you need a Longbridge account. Authentication uses OAuth 2.0 through the browser with no manual token management required. Simply run 'longbridge auth login' and the SDK handles token storage and refresh automatically.

Which AI clients and assistants work with longbridge-terminal?+

It works with Claude via the agent skill installation ('npx skills add longbridge/developers'), any ACP-compatible client via 'longbridge acp', and custom applications via the JSON-RPC server mode ('longbridge serve'). Zed can register it as a custom external agent.

Is longbridge-terminal free to use?+

The terminal software is open source under Apache 2.0 license. However, you need a Longbridge trading account to access market data and trading features, which may have associated costs from Longbridge.

How do I give my AI assistant access to Longbridge commands?+

Install the skill with 'npx skills add longbridge/developers' to give Claude and compatible assistants full knowledge of all CLI commands. Alternatively, run 'longbridge serve' for JSON-RPC integration or 'longbridge acp' for ACP protocol support.

How do I install longbridge-terminal?+

Open the source repository on GitHub and follow its README. longbridge-terminal is a mcp server — MCP Agents Market links you directly to the official repo.

Is longbridge-terminal free?+

longbridge-terminal is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches