ð°ð· íêµìŽ | ðºðž English íêµ ì£Œì ë¶ìì ìí MCP ìë²ì ëë€. DART(ì ìê³µììì€í )ì KRX(íêµê±°ëì) ê³µì API륌 íµíŽ ì£Œê° ì 볎ì ê³µì ìë£ êž°ë°ì AIë¶ììŽ ê°ë¥í©ëë€. - ð ê³µìê²ì - íì¬ë³, êž°ê°ë³ ê³µì ê²ì - ð ê³µì ë°ìŽí° - ê³µìë³Žê³ ì ì볞íìŒ íì±í ë°ìŽí° ì ê³µ - ðŒ ì¬ë¬Žì í ë¶ì - XBRL êž°ë° ììž ì¬ë¬Ž ë°ìŽí° - ð 죌ì ë°ìŽí° - KRX(ìœì€íŒ/ìœì€ë¥) ìŒë³ 죌ê°ì 볎, ì¢ ëª© Ʞ볞ì 볎 뚌ì DARTì KRXì API KEY륌 ë°êžë°ììŒ í©ëë€. 1. íìê°ì : OPEN DART íìê°ì 2. í€ ì ì²: ìžìŠí€ ì ì² íìŽì§ìì API KEY ì ì² 3. í€ íìž: ì€íAPI ìŽì©íí©ìì ë°êžë API KEY íìž 1. íìê°ì : KRX OPEN
Add this skill
npx mdskills install jjlabsio/korea-stock-mcpWell-documented MCP server for Korean stock market analysis with comprehensive API integration
1# Korea Stock MCP Server23[ð°ð· íêµìŽ](#korea-stock-mcp-server) | [ðºðž English](#english-version)45íêµ ì£Œì ë¶ìì ìí MCP ìë²ì ëë€.6DART(ì ìê³µììì€í )ì KRX(íêµê±°ëì) ê³µì API륌 íµíŽ ì£Œê° ì 볎ì ê³µì ìë£ êž°ë°ì AIë¶ììŽ ê°ë¥í©ëë€.78## ð¯ 죌ì êž°ë¥910- ð **ê³µìê²ì** - íì¬ë³, êž°ê°ë³ ê³µì ê²ì11- ð **ê³µì ë°ìŽí°** - ê³µìë³Žê³ ì ì볞íìŒ íì±í ë°ìŽí° ì ê³µ12- ðŒ **ì¬ë¬Žì í ë¶ì** - XBRL êž°ë° ììž ì¬ë¬Ž ë°ìŽí°13- ð **죌ì ë°ìŽí°** - KRX(ìœì€íŒ/ìœì€ë¥) ìŒë³ 죌ê°ì 볎, ì¢ ëª© Ʞ볞ì 볎1415## â¡ ë¹ ë¥ž ìì1617### 1ïžâ£ API KEY ë°êž1819뚌ì DARTì KRXì API KEY륌 ë°êžë°ììŒ í©ëë€.2021#### ð DART API KEY ë°êž22231. **íìê°ì **: [OPEN DART](https://opendart.fss.or.kr) íìê°ì242. **í€ ì ì²**: [ìžìŠí€ ì ì² íìŽì§](https://opendart.fss.or.kr/uss/umt/EgovMberInsertView.do)ìì API KEY ì ì²253. **í€ íìž**: [ì€íAPI ìŽì©íí©](https://opendart.fss.or.kr/mng/apiUsageStatusView.do)ìì ë°êžë API KEY íìž2627#### ð KRX API KEY ë°êž28291. **íìê°ì **: [KRX OPEN API](https://openapi.krx.co.kr/contents/OPP/MAIN/main/index.cmd)ìì íìê°ì ë° ë¡ê·žìž302. **í€ ì ì²**: ë§ìŽíìŽì§ â API ìžìŠí€ ì ì²ìì ì ì²313. **ìë¹ì€ ì ì²**: ì¹ìž í ìë¹ì€ìŽì© â 죌ì ë©ëŽë¡ ìŽë324. **API ìŽì©ì ì²**: ë€ì 6ê° í목ìì ê°ê° "API ìŽì©ì ì²" íŽëŠ3334 - ì ê°ìŠê¶ ìŒë³ë§€ë§€ì 볎35 - ìœì€ë¥ ìŒë³ë§€ë§€ì 볎36 - ìœë¥ì€ ìŒë³ë§€ë§€ì 볎37 - ì ê°ìŠê¶ ì¢ ëª©êž°ë³žì 볎38 - ìœì€ë¥ ì¢ ëª©êž°ë³žì 볎39 - ìœë¥ì€ ì¢ ëª©êž°ë³žì 볎4041 > â±ïž **ì¹ìžê¹ì§ ìœ 1ìŒ ììë©ëë€.**42435. **í€ íìž**: ì¹ìž í ë§ìŽíìŽì§ â API ìžìŠí€ ë°êžëŽììì API KEY íìž4445### 2ïžâ£ Claude Desktop ì€ì 46471. **Claude Desktop** ì€í482. **ì€ì ** â **ê°ë°ì** â **구ì±ížì§** íŽëŠ493. `claude_desktop_config.json` íìŒì ë€ì ëŽì© ì¶ê°:5051```json52{53 "mcpServers": {54 "korea-stock-mcp": {55 "command": "npx",56 "args": ["-y", "korea-stock-mcp@latest"],57 "env": {58 "DART_API_KEY": "<YOUR_DART_API_KEY>",59 "KRX_API_KEY": "<YOUR_KRX_API_KEY>"60 }61 }62 }63}64```65664. **ì¬ìì**: Claude Desktopì ì¬ììíì¬ ì€ì ì ì©6768> ìŽì Claudeìì íêµ ì£Œì ë°ìŽí° ë¶ìì ììí ì ììµëë€.6970## ì¬ì© ê°ë¥í ë구7172### DART (ì ìê³µììì€í )73741. **get_disclosure_list** - ê³µìê²ì7576 - ê³µì ì íë³, íì¬ë³, ë ì§ë³ ê³µìë³Žê³ ì ê²ì77782. **get_corp_code** - ê³ ì ë²íž ì¡°í7980 - DART ë±ë¡ ê³µìëìíì¬ì ê³ ì ë²íž, íì¬ëª , ì¢ ëª©ìœë ì ê³µ81823. **get_disclosure** - ê³µìë³Žê³ ì ì묞8384 - DART API륌 íµí ê³µìë³Žê³ ì ì볞íìŒ íì±85864. **get_financial_statement** - ì¬ë¬Žì í87 - ìì¥ë²ìž ë° ì£Œì ë¹ìì¥ë²ìž XBRL ì¬ë¬Žì í88 - ì êž°ë³Žê³ ì ëŽ ëªšë ê³ì 곌목 ë°ìŽí° ì ê³µ8990### KRX (íêµê±°ëì)91921. **get_stock_base_info** - ì¢ ëª© Ʞ볞ì 볎9394 - ìœì€íŒ, ìœì€ë¥, ìœë¥ì€ ìì¥ ì¢ ëª© Ʞ볞 ì 볎95 - ì¢ ëª©ëª , ì¢ ëª©ìœë, ìì¥êµ¬ë¶ ë± êž°ë³ž ë°ìŽí°96972. **get_stock_trade_info** - ìŒë³ 맀맀ì 볎98 - ìœì€íŒ, ìœì€ë¥, ìœë¥ì€ ì¢ ëª©ë³ ìŒë³ ê±°ë ë°ìŽí°99 - 죌ê°, ê±°ëë, ìê°ìŽì¡ ë± ììž ê±°ë ì 볎1001013. **get_market_type** - ìì¥êµ¬ë¶ ì¡°í102 - ì¢ ëª©ìœëë¡ íŽë¹ ì¢ ëª©ì ìì¥êµ¬ë¶(ìœì€íŒ/ìœì€ë¥/ìœë¥ì€) ì¡°í103 - 죌ì ë°ìŽí° ì¡°í ì íìí ìì¥ ì 볎 ì ê³µ104105### êž°í ë구1061071. **get_today_date** - ì€ë ë ì§ ì¡°í108 - íì¬ ë ì§ë¥Œ YYYYMMDD íììŒë¡ ì ê³µ109 - AIì ì íí ë ì§ ì¡°í륌 ìí ë구110111## ì€ì ì¬ì© ìì112113### ð ì¬ë¬Ž ë¶ì ìì 114115**í롬ííž**: "ìŒììíì 2023ë , 2024ë 1~4ë¶êž°, 2025ë 1,2ë¶êž° ë§€ì¶, ìì ìŽìµ ì¡°ì¬íŽì£Œê³ ì±ì¥ë¥ ë ì¡°ì¬íŽì€"116â [ìŒììí ë¶ì 결곌 볎Ʞ](./example/ìŒììí.md)117118**í롬ííž**: "ììŽíŒìì 23ë 1ë¶êž°ë¶í° 25ë 2ë¶êž°ê¹ì§ì ë§€ì¶, ìì ìŽìµ ì±ì¥ê³Œ 죌ê°, ìê°ìŽì¡ íëŠì ì¡°ì¬íŽì€"119â [ììŽíŒì ë¶ì 결곌 볎Ʞ](./example/ììŽíŒì.md)120121### ð¢ êž°ì ë¶ì ìì 122123**í롬ííž**: "HJì€ê³µì ì ë íŽì ëì ë²ë íì¬ìžì§ë ì¬ì ë¶ë¬žë³ ë§€ì¶ê¹ì§ ê°ìŽ ìë €ì€"124â [HJì€ê³µì ë¶ì 결곌 볎Ʞ](./example/HJì€ê³µì .md)125126## API ë°ìŽí° ìì€127128- **DART (ì ìê³µììì€í )**: ìì¥êž°ì ê³µì ì 볎 ë° ì¬ë¬Žì í129- **KRX (íêµê±°ëì)**: ì¢ ëª© Ʞ볞ì 볎 ë° ìŒë³ 맀맀ì 볎130131## êž°ì¬íêž°132133êž°ì¬ë¥Œ íìí©ëë€! Pull Request륌 볎ëŽì£Œìžì.1341351. ìŽ ì ì¥ì륌 í¬í¬íìžì1362. êž°ë¥ ëžëì¹ë¥Œ ë§ëìžì (`git checkout -b feature/AmazingFeature`)1373. ë³ê²œì¬íì 컀ë°íìžì (`git commit -m 'Add some AmazingFeature'`)1384. ëžëì¹ì ížìíìžì (`git push origin feature/AmazingFeature`)1395. Pull Request륌 ìŽìŽì£Œìžì140141## ëŒìŽì ì€142143ISC ëŒìŽì ì€144145## ì§ì146147- ð ìŽìê° ìë€ë©Ž GitHub Issuesì ë±ë¡íŽì£Œìžì148- â ì ì©íë€ë©Ž ì€í륌 ëë¬ì£Œìžì!149150## ë©Žì± ì¡°í151152볞 ë구ë ì 볎 ì ê³µ 목ì ìŽë©°, í¬ì ì¡°ìžìŽ ìëëë€. 몚ë í¬ì ê²°ì ì ë³žìž ì± ìì ëë€.153154---155156# English Version157158MCP Server for Korean stock analysis.159Enables AI-powered analysis of stock prices and disclosure data through official APIs from DART (Data Analysis, Retrieval and Transfer System) and KRX (Korea Exchange).160161## ð¯ Key Features162163- ð **Disclosure Search** - Search corporate disclosures by company and date164- ð **Disclosure Data** - Provides parsed data from original disclosure reports165- ðŒ **Financial Statement Analysis** - Detailed financial data based on XBRL166- ð **Stock Data** - KRX (KOSPI/KOSDAQ) daily stock prices and basic stock information167168## â¡ Quick Start169170### 1ïžâ£ API KEY Registration171172You need to obtain API KEYs from both DART and KRX.173174#### ð DART API KEY Registration1751761. **Sign Up**: Register at [OPEN DART](https://opendart.fss.or.kr)1772. **Request Key**: Apply for API KEY at [Authentication Key Application Page](https://opendart.fss.or.kr/uss/umt/EgovMberInsertView.do)1783. **Check Key**: Verify issued API KEY at [Open API Usage Status](https://opendart.fss.or.kr/mng/apiUsageStatusView.do)179180#### ð KRX API KEY Registration1811821. **Sign Up**: Register and login at [KRX OPEN API](https://openapi.krx.co.kr/contents/OPP/MAIN/main/index.cmd)1832. **Request Key**: Apply for API authentication key in My Page â API Authentication Key Application1843. **Service Application**: After approval, go to Service Use â Stock menu1854. **API Usage Application**: Click "API Usage Application" for each of the following 6 items186187 - Securities Daily Trading Information188 - KOSDAQ Daily Trading Information189 - KONEX Daily Trading Information190 - Securities Basic Information191 - KOSDAQ Basic Information192 - KONEX Basic Information193194 > â±ïž **Approval takes approximately 1 day.**1951965. **Key Verification**: After approval, check API KEY in My Page â API Authentication Key Issuance History197198### 2ïžâ£ Claude Desktop Setup1992001. Launch **Claude Desktop**2012. Go to **Settings** â **Developer** â **Edit Configuration**2023. Add the following content to `claude_desktop_config.json`:203204```json205{206 "mcpServers": {207 "korea-stock-mcp": {208 "command": "npx",209 "args": ["-y", "korea-stock-mcp@latest"],210 "env": {211 "DART_API_KEY": "<YOUR_DART_API_KEY>",212 "KRX_API_KEY": "<YOUR_KRX_API_KEY>"213 }214 }215 }216}217```2182194. **Restart**: Restart Claude Desktop to apply settings220221> You can now start analyzing Korean stock data with Claude.222223## Available Tools224225### DART (Data Analysis, Retrieval and Transfer System)2262271. **get_disclosure_list** - Disclosure Search228229 - Search disclosure reports by type, company, and date2302312. **get_corp_code** - Corporate Code Inquiry232233 - Provides unique codes, company names, and stock codes of DART-registered disclosure companies2342353. **get_disclosure** - Disclosure Report Content236237 - Parse original disclosure report files through DART API2382394. **get_financial_statement** - Financial Statements240 - XBRL financial statements for listed and major unlisted companies241 - Provides all account data from periodic reports242243### KRX (Korea Exchange)2442451. **get_stock_base_info** - Basic Stock Information246247 - Basic information for KOSPI, KOSDAQ, and KONEX listed stocks248 - Basic data including stock names, codes, and market classifications2492502. **get_stock_trade_info** - Daily Trading Information251 - Daily trading data for KOSPI, KOSDAQ, and KONEX stocks252 - Detailed trading information including stock prices, trading volume, and market capitalization2532543. **get_market_type** - Market Type Inquiry255 - Query market classification (KOSPI/KOSDAQ/KONEX) by stock code256 - Provides market information needed for stock data queries257258### Other Tools2592601. **get_today_date** - Today's Date Inquiry261 - Provides current date in YYYYMMDD format262 - Tool for AI's accurate date inquiry263264## Real Usage Examples265266### ð Financial Analysis Examples267268**Prompt**: "Investigate Samyang Foods's sales and operating profit for Q1-Q4 2023, Q1-Q4 2024, and Q1-Q2 2025, and also check growth rates"269â [See Samyang Foods Analysis Results](./example/ìŒììí.md)270271**Prompt**: "Investigate APR's sales and operating profit growth from Q1 2023 to Q2 2025, along with stock price and market cap trends"272â [See APR Analysis Results](./example/ììŽíŒì.md)273274### ð¢ Corporate Analysis Examples275276**Prompt**: "Tell me what HJ SHIPBUILDING & CONSTRUCTION does to make money and include sales by business segment"277â [See HJ SHIPBUILDING & CONSTRUCTION Analysis Results](./example/HJì€ê³µì .md)278279## API Data Sources280281- **DART (Data Analysis, Retrieval and Transfer System)**: Listed company disclosure information and financial statements282- **KRX (Korea Exchange)**: Basic stock information and daily trading information283284## Contributing285286Contributions are welcome! Please send us a Pull Request.2872881. Fork this repository2892. Create a feature branch (`git checkout -b feature/AmazingFeature`)2903. Commit your changes (`git commit -m 'Add some AmazingFeature'`)2914. Push to the branch (`git push origin feature/AmazingFeature`)2925. Open a Pull Request293294## License295296ISC License297298## Support299300- ð If you have issues, please register them in GitHub Issues301- â If you find it useful, please give it a star!302303## Disclaimer304305This tool is for informational purposes only and is not investment advice. All investment decisions are your own responsibility.306
Full transparency â inspect the skill content before installing.