loading…
Search for a command to run...
loading…
Provides KOSPI/KOSDAQ stock data including ticker lookup, OHLCV, market capitalization, fundamentals, and trading volume by investor type.
Provides KOSPI/KOSDAQ stock data including ticker lookup, OHLCV, market capitalization, fundamentals, and trading volume by investor type.
Add to Cursor Add to VS Code Add to Claude Add to ChatGPT Add to Codex Add to Gemini
MseeP.ai Security Assessment Badge
An MCP server that provides KOSPI/KOSDAQ stock data using FastMCP.
load_all_tickers - Loads all ticker symbols and names for KOSPI and KOSDAQ into memory.
get_stock_ohlcv - Retrieves OHLCV (Open/High/Low/Close/Volume) data for a specific stock.
fromdate (string, required): Start date for retrieval (YYYYMMDD)todate (string, required): End date for retrieval (YYYYMMDD)ticker (string, required): Stock ticker symboladjusted (boolean, optional): Whether to use adjusted prices (True: adjusted, False: unadjusted). Defaults to True.get_stock_market_cap - Retrieves market capitalization data for a specific stock.
fromdate (string, required): Start date for retrieval (YYYYMMDD)todate (string, required): End date for retrieval (YYYYMMDD)ticker (string, required): Stock ticker symbolget_stock_fundamental - Retrieves fundamental data (PER/PBR/Dividend Yield) for a specific stock.
fromdate (string, required): Start date for retrieval (YYYYMMDD)todate (string, required): End date for retrieval (YYYYMMDD)ticker (string, required): Stock ticker symbolget_stock_trading_volume - Retrieves trading volume by investor type for a specific stock.
fromdate (string, required): Start date for retrieval (YYYYMMDD)todate (string, required): End date for retrieval (YYYYMMDD)ticker (string, required): Stock ticker symbolThis package requires uv for installation and execution.
To install KOSPI/KOSDAQ Stock Data Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @dragon1086/kospi-kosdaq-stock-server --client claude
# Create and activate a virtual environment
uv venv .venv
source .venv/bin/activate # On Unix/macOS
# .venv\Scripts\activate # On Windows
# Install the package
uv pip install kospi-kosdaq-stock-server
After installing the package, you need to configure the MCP server in your claude_desktop_config.json file.
Locate the configuration file:
/Users/username/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.jsonAdd the server configuration:
Open the claude_desktop_config.json file and add a new entry to the mcpServers object:
{
"mcpServers": {
"kospi-kosdaq": {
"command": "uvx",
"args": ["kospi_kosdaq_stock_server"]
}
}
}
Configuration Details:
command: Use uvx to take advantage of uv's isolation and dependency managementargs: Only the package name is needed since the entry point is defined in the packageclaude_desktop_config.json, restart Claude for the changes to take effect.After configuring the server, you can use it in Claude like this:
Human: Please load all available stock tickers.
Assistant: I'll help you load all KOSPI and KOSDAQ stock tickers.
> Using tool 'load_all_tickers'...
Successfully loaded 2,873 stock tickers.
Human: Show me Samsung Electronics' stock data for the last month.
Assistant: I'll retrieve Samsung Electronics' (005930) OHLCV data for the last month.
> Using tool 'get_stock_ohlcv'...
Date Open High Low Close Volume
2024-02-14 73,800 74,000 73,400 73,700 7,823,124
2024-02-13 73,600 74,200 73,200 73,800 8,943,217
...
Выполни в терминале:
claude mcp add kospi-kosdaq-stock-server -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development