Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 💰 Finance & Fintech
  3. Openapi
Openapi logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 1:30:41 PM

Openapi

User RatingsBe the first to rate and review this MCP server!
View Repository8 GitHub StarsTotal stargazers on GitHub for the source repository (8 stars).Visit Website

Provides real-time stock quotes, trading, portfolio, and market data via an MCP server with multi-language SDKs.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON â–¾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for longportapp/openapi, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives💰 More in Finance & Fintech

Overview

This MCP server implements Longport OpenAPI, enabling AI agents to access real-time and historical stock market data, manage orders, query portfolio assets, and receive push notifications on order status. It supports multiple context types including quotes, trades, assets, market data, financial calendars, and alerts. Use this server to build or enhance trading strategies, market analysis tools, or portfolio management applications with programmatic access to comprehensive financial data.

Use cases

•Retrieve real-time and historical stock quotes and candlestick data
•Create, amend, cancel, and query trading orders and executions
•Access portfolio details including positions, account balances, and cash flow
•Subscribe to real-time push notifications for market data and order updates
•Query financial calendars, company fundamentals, and market statistics

Key features

•Multi-language SDKs including Rust, Python, Node.js, Java, C, C++, and Go
•Real-time quote and trade data with push subscription support
•Comprehensive context types: Quote, Trade, Asset, Market, Calendar, Portfolio, Alert, and more
•Order management with create, amend, cancel, and query capabilities
•Access to financial reports, analyst ratings, dividends, and company overviews

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Openapi.

Extracted Tool Capabilities
Multi-language SDKs including Rust, Python, Node.js, Java, C, C++, and Go
Real-time quote and trade data with push subscription support
Comprehensive context types: Quote, Trade, Asset, Market, Calendar, Portfolio, Alert, and more
Order management with create, amend, cancel, and query capabilities
Access to financial reports, analyst ratings, dividends, and company overviews

Documentation Overview

Longport OpenAPI SDK

PyPI version npm version Maven Central

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories:

  • Trading - Create, amend, cancel orders, query today’s/past orders and transaction details, etc.
  • Quotes - Real-time quotes, acquisition of historical quotes, etc.
  • Portfolio - Real-time query of the account assets, positions, funds
  • Real-time subscription - Provides real-time quotes and push notifications for order status changes

This repo contains the following main components:

NameDocumentDescription
RustDocLongport OpenAPI for Rust (>= 1.89.0)
PythonDocLongport OpenAPI for Python 3 (>= 3.8)
Node.jsDocLongport OpenAPI for Node.js (>= 10)
JavaDocLongport OpenAPI for Java (>= 11)
CDocLongport OpenAPI for C (>= C99)
C++DocLongport OpenAPI for C++(>= C++17)
Gohttps://github.com/longportapp/openapi-go
MCPAn MCP server implementation for Longport OpenAPI

Context Types

ContextDescription
QuoteContextReal-time quotes, candlesticks, options, warrants, watchlists, push subscriptions
TradeContextOrders, positions, account balance, executions, cash flow
AssetContextAccount statement download
ContentContextNews, community topics
FundamentalContextFinancial reports, analyst ratings, dividends, valuation, company overview, shareholders
MarketContextMarket status, broker holdings, A/H premium, trade statistics, anomaly alerts, index constituents
CalendarContextFinancial calendar (earnings, dividends, splits, IPOs, macro data, market closures)
PortfolioContextExchange rates, portfolio P&L analysis
AlertContextPrice alert management (add/enable/disable/delete)
DCAContextDollar-cost averaging plan management
SharelistContextCommunity sharelist management

Quickstart

Pick a language SDK from the table above and follow its README for install and first request. Full reference docs: https://longportapp.github.io/openapi

SDK Documentation

https://longportapp.github.io/openapi

Troubleshooting

  • Environment variables not taking effect
    • macOS/Linux: export ... only affects the current shell session.
    • Windows: setx ... requires opening a new terminal/session to take effect.
  • Authentication errors (401/403)
    • Verify LONGPORT_APP_KEY, LONGPORT_APP_SECRET, LONGPORT_ACCESS_TOKEN are correct and not expired.
    • Ensure your OpenAPI app has the required permissions.
  • Network / connection errors
    • Check firewall/proxy rules for HTTPS/WSS.
    • If you use a custom endpoint, set LONGPORT_HTTP_URL, LONGPORT_QUOTE_WS_URL, LONGPORT_TRADE_WS_URL.
  • Quote subscription exits immediately
    • Keep the process running (event loop / sleep / blocking receive loop), otherwise you will not see push events.
  • Debugging
    • Enable logs via LONGPORT_LOG_PATH.
    • If quotes connect but look empty, keep LONGPORT_PRINT_QUOTE_PACKAGES=true to confirm opened quote packages.

Minimal Verification

If you're not sure whether your environment / credentials are correct, start with the built-in HTTP client examples.

  • Python:

    bash
    python examples/python/http_client.py
    
  • Node.js:

    bash
    node examples/nodejs/http_client.js
    
  • Rust:

    bash
    cargo run --manifest-path examples/rust/Cargo.toml -p http_client
    
  • Java (from the example module directory):

    bash
    cd examples/java/http_client
    mvn -q -DskipTests package
    mvn -q -DskipTests exec:java
    
  • C/C++:

    • Use the sources in examples/c/http_client/main.c and examples/cpp/http_client/main.cpp.
    • Build instructions depend on your toolchain; see the corresponding language SDK README.

Expected results:

  • If credentials are valid and network is reachable, the HTTP call returns JSON.
  • If it returns 401/403, check your LONGPORT_APP_KEY, LONGPORT_APP_SECRET, LONGPORT_ACCESS_TOKEN.
  • If it times out / cannot connect, check proxy/firewall and your endpoint env vars.

Resources

  • Longport OpenAPI
  • Longport OpenAPI Docs

License

Licensed under either of

  • Apache License, Version 2.0,(LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Tasty Agent logoTasty Agent

    Tastyworks API integration to handle trading activities on Tastytrade

    💰 Finance & Fintech4 views
    Compare vs Tasty Agent →
  • Tradingview MCP logoTradingview MCP

    Real-time market data, screeners, technical analysis & backtesting for stocks, crypto and forex.

    💰 Finance & Fintech4 views
    Compare vs Tradingview MCP →
  • Brazilian Central Bank (BCB) MCP logoBrazilian Central Bank (BCB) MCP
    Verified

    MCP server for the Brazilian Central Bank (Banco Central do Brasil): SGS time series (Selic, IPCA, exchange rates, GDP and 139 curated, source-verified indicators), the Focus market-expectations survey and PTAX official exchange rates. 15 tools, 3 resources and 3 prompts, with provenance metadata on every response. Runs locally via npx (stdio) or through the hosted endpoint at https://bcb.sidneybissoli.com/mcp — no API key or signup required.

    💰 Finance & Fintech7 views
    Compare vs Brazilian Central Bank (BCB) MCP →
  • MCP Server Ccxt logoMCP Server Ccxt

    An MCP server for accessing real-time crypto market data and trading via 20+ exchanges using the CCXT library. Supports spot, futures, OHLCV, balances, orders, and more.

    💰 Finance & Fintech4 views
    Compare vs MCP Server Ccxt →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
8
Stargazers on the source repository.
Last commit
1mo ago
Most recent push to the default branch.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Openapi

You must provide LONGPORT_APP_KEY, LONGPORT_APP_SECRET, and LONGPORT_ACCESS_TOKEN environment variables with valid credentials.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpenapi AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/longportapp-openapi?style=directory)](https://allmcps.com/mcp/longportapp-openapi)
HTML Embed
<a href="https://allmcps.com/mcp/longportapp-openapi"><img src="https://allmcps.com/api/badge/longportapp-openapi?style=directory" alt="Openapi on AllMCPs" /></a>

Technical Specs & Signals

Category💰Finance & Fintech
More technical detailsExpand â–¾
Last updatedAug 12, 2026
10/11 checks healthy over the last 32d
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars8
GitHub Star CountTotal stargazers on GitHub representing community popularity (8 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Aug 12, 2026
41Quality signal: Fair · 41/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools17/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 💰 Finance & Fintech →Best MCP servers for Finance & Fintech →Alternatives to Openapi →Install in Claude DesktopInstall in CursorInstall in VS Code