longport-mcp

longport-mcp is a MCP server by longportapp that real-time stock market data, analysis and trading via the LongPort OpenAPI.

Updated 2026-07-29

What is longport-mcp?

longport-mcp is a MCP server by longportapp that real-time stock market data, analysis and trading via the LongPort OpenAPI. It is listed under Finance & commerce and has 3 GitHub stars.

TypeMcp server
Authorlongportapp
Repositorylongportapp/longport-mcp
Popularity3 GitHub stars
CategoryFinance & commerce
SecurityLow risk (84/100)
Rank#2,591 of 4,418 MCP servers; #255 in Finance & commerce
LicenseApache-2.0
Last commit2026-07-29
RunsCloud service
LanguageRust

Is longport-mcp safe to install?

longport-mcp scores 84/100 on the MCPMods security check: Low risk. Things to review: sends your data to a cloud service. It passed 4 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Sends your data to a cloud serviceReview
No credentials mentionedPass
Read-only by descriptionPass
No code executionPass
Source on GitHubPass

How do I install longport-mcp?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/longportapp/longport-mcp
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add longport-mcp -- <command from README>
    claude mcp add --transport http longport-mcp <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs longport-mcp for you:

Add the "longport-mcp" MCP server from https://github.com/longportapp/longport-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.