
LS Securities OpenAPI — Korean Stocks for AI Assistants
@redoxnet
About LS Securities OpenAPI — Korean Stocks for AI Assistants
MCP server for LS Securities OpenAPI — Korean stock quotes, multi-timeframe charts, technical indicators, market screeners, ETF holdings, and local portfolio notes as natural-language tools for Claude Desktop, Claude Code, VS Code, and Codex. Built on .NET, distributed via NuGet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lsopenapi": {
"command": "dnx",
"args": [
"RedoxNet.Mcp.LsOpenApi",
"--yes"
],
"env": {
"LS_APPKEY": "<YOUR_LS_APPKEY>",
"LS_APPSECRETKEY": "<YOUR_LS_APPSECRETKEY>",
"LS_MARKET": "real"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is LS Securities OpenAPI?
LS Securities OpenAPI is an unofficial third-party MCP server that lets AI assistants query Korean stock market data from LS Securities. It provides quotes, order books, charts, technical indicators, ETF holdings, market screeners, index context, analyst opinions, short-selling trends, and local portfolio notes to MCP-compatible clients such as Claude Desktop, Claude Code, VS Code, and Codex. It does not place trades or sync brokerage accounts.
How to use LS Securities OpenAPI?
Obtain an LS OpenAPI AppKey and AppSecretKey from openapi.ls-sec.co.kr, then configure your MCP client with the JSON snippet using the dnx command (requires .NET SDK 10 or later). Set three environment variables: LS_APPKEY, LS_APPSECRETKEY, and LS_MARKET (set to "real"). After setup, prompt your AI assistant in natural language—for example, "Show me Samsung Electronics' current quote and 10-level order book."
Key features of LS Securities OpenAPI
- Current quote and 10-level order book for Korean stocks.
- Multi-quote comparison for up to 50 stocks.
- Daily, weekly, monthly, minute, and tick OHLCV charts.
- Technical indicators: SMA, EMA, RSI, MACD, Bollinger Bands.
- KOSPI, KOSDAQ, KOSPI200, KRX100 snapshots and history.
- Top gainers, losers, market-cap, volume, and trading-value screeners.
- ETF/ETN snapshots with holdings treemaps and NAV data.
- Local portfolio tracking stored in SQLite on your machine.
Use cases of LS Securities OpenAPI
- Get real-time Korean stock quotes and depth-of-market from an AI chat.
- Request multi-timeframe chart summaries with technical indicators in one call.
- Screen the entire Korean market for top stocks by volume, gainers, or fundamentals.
- Analyze ETF constituent holdings including weights, market value, and bond components.
- Maintain a local portfolio of holdings and watchlists with weighted average cost tracking.
FAQ from LS Securities OpenAPI
Can LS Securities OpenAPI place trades or sync with my brokerage account?
No. The server is for information retrieval and local portfolio notes only. It does not place trades or sync with any LS Securities brokerage account.
What runtime dependencies are required?
The dnx command requires .NET SDK 10 or later to be installed on your machine.
Where is portfolio data stored?
Portfolio data is stored only on your local machine in SQLite. It is not synced with LS Securities and does not represent live brokerage account state.
How are my LS OpenAPI credentials protected?
LS_APPKEY and LS_APPSECRETKEY are accepted only through environment variables and are never requested through chat, tool arguments, or MCP elicitation. Raw credentials are not written to disk, and the token cache key stores only SHA256(appkey):market. Logs and error messages mask secrets.
What transports and authentication does the server use?
The server connects to LS Securities' public OpenAPI using the user-provided AppKey and AppSecretKey. It communicates with MCP clients via standard MCP transport and never exposes credentials to the AI assistant during conversation.
More Finance & Commerce MCP servers
Yahoo Finance MCP Server
Alex2Yang97This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.
💹 MCP YFinance Stock Server
Adity-starReal-time stock API with Python, MCP server example, yfinance stock analysis dashboard
Defeatbeta Api
defeat-betaAn open-source alternative to Yahoo Finance's market data APIs with higher reliability.
✅ Official Alpha Vantage MCP Server
calvernazA MCP server for the stock market data API, Alphavantage API.
Crypto Fear & Greed Index MCP Server
kukapayProviding real-time and historical Crypto Fear & Greed Index data
Comments