load_all_tickersLABSCO SUMMARY
Korean market data, past the login wall.
KRX moved its data behind a Kakao login, which is why this server carries a headless browser rather than an API client. That is also its cost: it holds a real Kakao account's credentials, and that account cannot have 2FA enabled.
What it is
A Python MCP server serving KOSPI and KOSDAQ market data from KRX, signing in through Kakao with a headless Playwright browser.
What you get
- Every KOSPI and KOSDAQ ticker and name loaded for lookup
- OHLCV — open, high, low, close, volume — for a given stock
- Market capitalization data
- Fundamentals: PER, PBR and dividend yield
- Trading volume broken down by investor type — institutional, foreign, individual
- Index OHLCV for the KOSPI and KOSDAQ indices
- Sessions managed for you, with a 4-hour timeout and automatic re-login
Requirements
Python 3.10+, playwright install chromium, and the username and password of a Kakao account, supplied as environment variables — KRX now requires a Kakao or Naver login before it will serve its data. Two-step verification must be off on that account, and the first login may need approving in KakaoTalk.
Setup effort
One command plus credentials — uv pip install kospi-kosdaq-stock-server, then supply credentials
USE CASES
Charting a Korean stock over a date range
Pull the OHLCV series rather than screenshotting a chart.
Screening on valuation
Read PER, PBR and dividend yield for the names you are comparing.
Comparing companies by size
Get market capitalization instead of inferring it from price.
Turning a company name into a ticker
Load the full ticker list once and look up from there.
6 tools
Listed in project docs. Your client may show a different list.
get_stock_ohlcvget_stock_market_capget_stock_fundamentalget_stock_trading_volumeget_index_ohlcvBEFORE YOU INSTALL
What to know first
Tools you get
6 tools named in the project's documentation.
Requires
- Python 3.10+
- KAKAO_ID in your environment
- KAKAO_PW in your environment
INSTALLATION
Connect your client
Add the block to your client, or run the command directly.
Server setup
Configuration file
{
"mcpServers": {
"kospi-kosdaq": {
"command": "uvx",
"args": [
"kospi_kosdaq_stock_server"
],
"env": {
"KAKAO_ID": "<YOUR_KAKAO_ID>",
"KAKAO_PW": "<YOUR_KAKAO_PW>"
}
}
}
}uv
uv pip install kospi-kosdaq-stock-server