home / mcp / kospi kosdaq mcp server
An MCP server that provides KOSPI/KOSDAQ stock data using FastMCP
Configuration
View docs{
"mcpServers": {
"dragon1086-kospi-kosdaq-stock-server": {
"command": "uvx",
"args": [
"kospi_kosdaq_stock_server"
],
"env": {
"KAKAO_ID": "your_kakao_id",
"KAKAO_PW": "your_kakao_password"
}
}
}
}This MCP server delivers KOSPI and KOSDAQ stock data through FastMCP, enabling you to load ticker information and fetch OHLCV, market cap, fundamentals, and investor-volume data for specific stocks. It’s designed to help you build data-driven analyses or integrate stock data into your applications with an MCP client.
You interact with this server using an MCP client. First you load all available tickers, then you request data for the ticker you care about. The server exposes endpoints to fetch OHLCV data, market capitalization, fundamentals (PER/PBR/Dividend Yield), and trading volume by investor type for any given stock.
Typical usage patterns include: loading the full ticker list, requesting a date range for OHLCV data, and requesting fundamental indicators for a specific stock. Use the ticker symbol you already know (for example, a KOSPI/KOSDAQ ticker) and specify the date range in the format YYYYMMDD for precise data retrieval.
Prerequisites: you need uv to run the server and Python packaging tooling for installation.
Install via the package manager that your environment supports, then prepare to run the MCP server.
# 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-serverConfiguration for Claude.app is required to connect this MCP server. The standard approach is to configure Claude’s MCP client to start the server as a local process using uvx, with the server entry point defined by the package.
Loads all ticker symbols and names for KOSPI and KOSDAQ.
Retrieves OHLCV (Open/High/Low/Close/Volume) data for a specific stock within a date range.
Retrieves market capitalization data for a specific stock within a date range.
Retrieves fundamental data (PER/PBR/Dividend Yield) for a specific stock within a date range.
Retrieves trading volume by investor type for a specific stock within a date range.
Retrieves OHLCV data for market indices within a date range.