# longbridge.com

> longbridge.com is an MCP server for finance and payments. Quotes, options, orders and portfolio tools for Longbridge US and HK markets. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Self-hosted
- **Website:** https://longbridge.com
- **Repository:** https://github.com/longbridge/longbridge-mcp
- **MCP Registry name:** com.longbridge/mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [trading analysis](https://ai-powered.com/categories/trading-analysis), [stock market data](https://ai-powered.com/categories/stock-market-data)
- **Listing updated:** 2026-11-23

## About

The Longbridge MCP server is the official connector for the Longbridge brokerage. It exposes more than 160 tools across real-time quotes, options, order routing, fundamentals, analyst ratings, calendars, IPOs, price alerts, DCA plans, grid trading, portfolio analytics and community sharelists, covering US and Hong Kong markets.

Sign-in uses OAuth 2.1 with automatic discovery, so ChatGPT and Claude users add Longbridge from their connector settings and log in with their own account. The server is stateless, forwarding each request's token to the Longbridge SDK without storing sessions or data.

Every tool accepts an optional _jq argument that filters the returned JSON with a jq-compatible expression, which keeps responses small. The server is written in Rust and is published as a container image as well as a hosted endpoint at mcp.longbridge.com. Tools include trading actions, so they act on a real account.

## Features

- **Quotes and options:** Real-time quotes and options data for US and HK markets.
- **Order routing:** Account, portfolio and trading tools gated by your own credentials.
- **Research data:** Fundamentals, analyst ratings, screeners, calendars and IPO information.
- **Automation tools:** Price alerts, DCA plans and grid trading.
- **OAuth 2.1 sign-in:** Auto-discovered OAuth flow with no token to paste in supported clients.
- **jq response filtering:** Optional _jq argument trims any tool response to the fields you need.
- **Stateless server:** Tokens go straight to the SDK; no sessions or database are kept.

## Good for

- Ask for a quote on a US stock
- Compare two companies' valuations
- See your Hong Kong positions
- Check which IPOs are coming this week
- Set up a price alert from chat

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.longbridge.com
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.longbridge.com
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.longbridge.com
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.longbridge.com
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.longbridge.com"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.longbridge.com"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.longbridge.com

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.longbridge.com"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.longbridge.com
```

Enter a Name (for example "longbridge.com"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.longbridge.com"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `quote`: Fetch quotes for one or more symbols, e.g. AAPL.US.

## FAQ

### How many tools does longbridge.com have?

The registry lists 163 and the README 164, covering quotes, options, orders, fundamentals, screener, IPO, alerts, DCA and grid trading.

### Which markets does longbridge.com cover?

US and Hong Kong markets.

### How does sign-in work?

OAuth 2.1 with a Longbridge account; the server forwards the bearer token and stores nothing.

### Where is longbridge.com hosted?

At https://mcp.longbridge.com over streamable HTTP; a container image is also published.

### How do I add longbridge.com to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.longbridge.com

### What are the best alternatives to longbridge.com?

The closest alternatives to longbridge.com are AkTools Pro MCP Server, Stock Short Selling & Short Interest Data, Stocks Crypto Ohlcv Quote Market Data Api MCP, Light Horse Securities and Stock Market Data MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AkTools Pro MCP Server](https://ai-powered.com/mcp/aktools-pro-mcp-server): AkTools Pro MCP Server is an open-source MCP server for finance and payments.
- [Stock Short Selling & Short Interest Data](https://ai-powered.com/mcp/stock-short-selling-and-short-interest-data): Stock Short Selling & Short Interest Data is a free MCP server for finance and payments.
- [Stocks Crypto Ohlcv Quote Market Data Api MCP](https://ai-powered.com/mcp/stocks-crypto-ohlcv-quote-market-data-api-mcp-2): Stocks Crypto Ohlcv Quote Market Data Api MCP is a freemium MCP server for finance and payments.
- [Light Horse Securities](https://ai-powered.com/mcp/light-horse-securities): Light Horse Securities is an MCP server for finance and payments.
- [Stock Market Data MCP](https://ai-powered.com/mcp/stock-market-data-mcp): Stock Market Data MCP is a freemium MCP server for finance and payments.
- [Tickerbot](https://ai-powered.com/mcp/tickerbot): Tickerbot is an open-source MCP server for stock market data.
- [BestFolio](https://ai-powered.com/mcp/bestfolio): BestFolio is a paid MCP server for finance and payments.
- [KOYN FX](https://ai-powered.com/mcp/koyn-fx): KOYN FX is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/longbridge-com
