longbridge-terminal
AI-native CLI for the Longbridge trading platform with real-time market data, portfolio, and trading...
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
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 moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
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.