About
Korean Stocks & Disclosures is a stock market data service that provides access to Korea Exchange (KRX) trading data and corporate disclosures through South Korea's DART (electronic disclosure system). Key features: - Search company disclosures by date, company, or disclosure type through DART - Parse original disclosure report documents and extract structured data - Access XBRL-based detailed financial statements for listed and major unlisted companies - Retrieve daily trading data for KOSPI, KOSDAQ, and KONEX markets - Get stock profiles including company names, stock codes, and market classifications - Access historical trading metrics including price, volume, and market capitalization
README
Korea Stock MCP Server
๐ฐ๐ท ํ๊ตญ์ด | ๐บ๐ธ English
ํ๊ตญ ์ฃผ์ ๋ถ์์ ์ํ MCP ์๋ฒ์ ๋๋ค. DART(์ ์๊ณต์์์คํ )์ KRX(ํ๊ตญ๊ฑฐ๋์) ๊ณต์ API๋ฅผ ํตํด ์ฃผ๊ฐ ์ ๋ณด์ ๊ณต์ ์๋ฃ ๊ธฐ๋ฐ์ AI๋ถ์์ด ๊ฐ๋ฅํฉ๋๋ค.
๐ฏ ์ฃผ์ ๊ธฐ๋ฅ
โก ๋น ๋ฅธ ์์
1๏ธโฃ API KEY ๋ฐ๊ธ
๋จผ์ DART์ KRX์ API KEY๋ฅผ ๋ฐ๊ธ๋ฐ์์ผ ํฉ๋๋ค.
#### ๐ DART API KEY ๋ฐ๊ธ
1. ํ์๊ฐ์ : OPEN DART ํ์๊ฐ์ 2. ํค ์ ์ฒญ: ์ธ์ฆํค ์ ์ฒญ ํ์ด์ง์์ API KEY ์ ์ฒญ 3. ํค ํ์ธ: ์คํAPI ์ด์ฉํํฉ์์ ๋ฐ๊ธ๋ API KEY ํ์ธ
#### ๐ KRX API KEY ๋ฐ๊ธ
1. ํ์๊ฐ์ : KRX OPEN API์์ ํ์๊ฐ์ ๋ฐ ๋ก๊ทธ์ธ 2. ํค ์ ์ฒญ: ๋ง์ดํ์ด์ง โ API ์ธ์ฆํค ์ ์ฒญ์์ ์ ์ฒญ 3. ์๋น์ค ์ ์ฒญ: ์น์ธ ํ ์๋น์ค์ด์ฉ โ ์ฃผ์ ๋ฉ๋ด๋ก ์ด๋ 4. API ์ด์ฉ์ ์ฒญ: ๋ค์ 6๊ฐ ํญ๋ชฉ์์ ๊ฐ๊ฐ "API ์ด์ฉ์ ์ฒญ" ํด๋ฆญ
- ์ ๊ฐ์ฆ๊ถ ์ผ๋ณ๋งค๋งค์ ๋ณด - ์ฝ์ค๋ฅ ์ผ๋ณ๋งค๋งค์ ๋ณด - ์ฝ๋ฅ์ค ์ผ๋ณ๋งค๋งค์ ๋ณด - ์ ๊ฐ์ฆ๊ถ ์ข ๋ชฉ๊ธฐ๋ณธ์ ๋ณด - ์ฝ์ค๋ฅ ์ข ๋ชฉ๊ธฐ๋ณธ์ ๋ณด - ์ฝ๋ฅ์ค ์ข ๋ชฉ๊ธฐ๋ณธ์ ๋ณด
> โฑ๏ธ ์น์ธ๊น์ง ์ฝ 1์ผ ์์๋ฉ๋๋ค.
5. ํค ํ์ธ: ์น์ธ ํ ๋ง์ดํ์ด์ง โ API ์ธ์ฆํค ๋ฐ๊ธ๋ด์ญ์์ API KEY ํ์ธ
2๏ธโฃ Claude Desktop ์ค์
1. Claude Desktop ์คํ
2. ์ค์ โ ๊ฐ๋ฐ์ โ ๊ตฌ์ฑํธ์ง ํด๋ฆญ
3. claude_desktop_config.json ํ์ผ์ ๋ค์ ๋ด์ฉ ์ถ๊ฐ:
{
"mcpServers": {
"korea-stock-mcp": {
"command": "npx",
"args": ["-y", "korea-stock-mcp@latest"],
"env": {
"DART_API_KEY": "",
"KRX_API_KEY": ""
}
}
}
}
4. ์ฌ์์: Claude Desktop์ ์ฌ์์ํ์ฌ ์ค์ ์ ์ฉ
> ์ด์ Claude์์ ํ๊ตญ ์ฃผ์ ๋ฐ์ดํฐ ๋ถ์์ ์์ํ ์ ์์ต๋๋ค.
์ฌ์ฉ ๊ฐ๋ฅํ ๋๊ตฌ
DART (์ ์๊ณต์์์คํ )
1. get_disclosure_list - ๊ณต์๊ฒ์
- ๊ณต์ ์ ํ๋ณ, ํ์ฌ๋ณ, ๋ ์ง๋ณ ๊ณต์๋ณด๊ณ ์ ๊ฒ์
2. get_corp_code - ๊ณ ์ ๋ฒํธ ์กฐํ
- DART ๋ฑ๋ก ๊ณต์๋์ํ์ฌ์ ๊ณ ์ ๋ฒํธ, ํ์ฌ๋ช , ์ข ๋ชฉ์ฝ๋ ์ ๊ณต
3. get_disclosure - ๊ณต์๋ณด๊ณ ์ ์๋ฌธ
- DART API๋ฅผ ํตํ ๊ณต์๋ณด๊ณ ์ ์๋ณธํ์ผ ํ์ฑ
4. get_financial_statement - ์ฌ๋ฌด์ ํ - ์์ฅ๋ฒ์ธ ๋ฐ ์ฃผ์ ๋น์์ฅ๋ฒ์ธ XBRL ์ฌ๋ฌด์ ํ - ์ ๊ธฐ๋ณด๊ณ ์ ๋ด ๋ชจ๋ ๊ณ์ ๊ณผ๋ชฉ ๋ฐ์ดํฐ ์ ๊ณต
KRX (ํ๊ตญ๊ฑฐ๋์)
1. get_stock_base_info - ์ข ๋ชฉ ๊ธฐ๋ณธ์ ๋ณด
- ์ฝ์คํผ, ์ฝ์ค๋ฅ, ์ฝ๋ฅ์ค ์์ฅ ์ข ๋ชฉ ๊ธฐ๋ณธ ์ ๋ณด - ์ข ๋ชฉ๋ช , ์ข ๋ชฉ์ฝ๋, ์์ฅ๊ตฌ๋ถ ๋ฑ ๊ธฐ๋ณธ ๋ฐ์ดํฐ
2. get_stock_trade_info - ์ผ๋ณ ๋งค๋งค์ ๋ณด - ์ฝ์คํผ, ์ฝ์ค๋ฅ, ์ฝ๋ฅ์ค ์ข ๋ชฉ๋ณ ์ผ๋ณ ๊ฑฐ๋ ๋ฐ์ดํฐ - ์ฃผ๊ฐ, ๊ฑฐ๋๋, ์๊ฐ์ด์ก ๋ฑ ์์ธ ๊ฑฐ๋ ์ ๋ณด
3. get_market_type - ์์ฅ๊ตฌ๋ถ ์กฐํ - ์ข ๋ชฉ์ฝ๋๋ก ํด๋น ์ข ๋ชฉ์ ์์ฅ๊ตฌ๋ถ(์ฝ์คํผ/์ฝ์ค๋ฅ/์ฝ๋ฅ์ค) ์กฐํ - ์ฃผ์ ๋ฐ์ดํฐ ์กฐํ ์ ํ์ํ ์์ฅ ์ ๋ณด ์ ๊ณต
๊ธฐํ ๋๊ตฌ
1. get_today_date - ์ค๋ ๋ ์ง ์กฐํ - ํ์ฌ ๋ ์ง๋ฅผ YYYYMMDD ํ์์ผ๋ก ์ ๊ณต - AI์ ์ ํํ ๋ ์ง ์กฐํ๋ฅผ ์ํ ๋๊ตฌ
์ค์ ์ฌ์ฉ ์์
๐ ์ฌ๋ฌด ๋ถ์ ์์
ํ๋กฌํํธ: "์ผ์์ํ์ 2023๋ , 2024๋ 1~4๋ถ๊ธฐ, 2025๋ 1,2๋ถ๊ธฐ ๋งค์ถ, ์์ ์ด์ต ์กฐ์ฌํด์ฃผ๊ณ ์ฑ์ฅ๋ฅ ๋ ์กฐ์ฌํด์ค" โ ์ผ์์ํ ๋ถ์ ๊ฒฐ๊ณผ ๋ณด๊ธฐ
ํ๋กฌํํธ: "์์ดํผ์์ 23๋ 1๋ถ๊ธฐ๋ถํฐ 25๋ 2๋ถ๊ธฐ๊น์ง์ ๋งค์ถ, ์์ ์ด์ต ์ฑ์ฅ๊ณผ ์ฃผ๊ฐ, ์๊ฐ์ด์ก ํ๋ฆ์ ์กฐ์ฌํด์ค" โ ์์ดํผ์ ๋ถ์ ๊ฒฐ๊ณผ ๋ณด๊ธฐ
๐ข ๊ธฐ์ ๋ถ์ ์์
ํ๋กฌํํธ: "HJ์ค๊ณต์ ์ ๋ญ ํด์ ๋์ ๋ฒ๋ ํ์ฌ์ธ์ง๋ ์ฌ์ ๋ถ๋ฌธ๋ณ ๋งค์ถ๊น์ง ๊ฐ์ด ์๋ ค์ค" โ HJ์ค๊ณต์ ๋ถ์ ๊ฒฐ๊ณผ ๋ณด๊ธฐ
API ๋ฐ์ดํฐ ์์ค
๊ธฐ์ฌํ๊ธฐ
๊ธฐ์ฌ๋ฅผ ํ์ํฉ๋๋ค! Pull Request๋ฅผ ๋ณด๋ด์ฃผ์ธ์.
1. ์ด ์ ์ฅ์๋ฅผ ํฌํฌํ์ธ์
2. ๊ธฐ๋ฅ ๋ธ๋์น๋ฅผ ๋ง๋์ธ์ (git checkout -b feature/AmazingFeature)
3. ๋ณ๊ฒฝ์ฌํญ์ ์ปค๋ฐํ์ธ์ (git commit -m 'Add some AmazingFeature')
4. ๋ธ๋์น์ ํธ์ํ์ธ์ (git push origin feature/AmazingFeature)
5. Pull Request๋ฅผ ์ด์ด์ฃผ์ธ์
๋ผ์ด์ ์ค
ISC ๋ผ์ด์ ์ค
์ง์
๋ฉด์ฑ ์กฐํญ
๋ณธ ๋๊ตฌ๋ ์ ๋ณด ์ ๊ณต ๋ชฉ์ ์ด๋ฉฐ, ํฌ์ ์กฐ์ธ์ด ์๋๋๋ค. ๋ชจ๋ ํฌ์ ๊ฒฐ์ ์ ๋ณธ์ธ ์ฑ ์์ ๋๋ค.
---
English Version
MCP Server for Korean stock analysis. Enables AI-powered analysis of stock prices and disclosure data through official APIs from DART (Data Analysis, Retrieval and Transfer System) and KRX (Korea Exchange).
๐ฏ Key Features
โก Quick Start
1๏ธโฃ API KEY Registration
You need to obtain API KEYs from both DART and KRX.
#### ๐ DART API KEY Registration
1. Sign Up: Register at OPEN DART 2. Request Key: Apply for API KEY at Authentication Key Application Page 3. Check Key: Verify issued API KEY at Open API Usage Status
#### ๐ KRX API KEY Registration
1. Sign Up: Register and login at KRX OPEN API 2. Request Key: Apply for API authentication key in My Page โ API Authentication Key Application 3. Service Application: After approval, go to Service Use โ Stock menu 4. API Usage Application: Click "API Usage Application" for each of the following 6 items
- Securities Daily Trading Information - KOSDAQ Daily Trading Information - KONEX Daily Trading Information - Securities Basic Information - KOSDAQ Basic Information - KONEX Basic Information
> โฑ๏ธ Approval takes approximately 1 day.
5. Key Verification: After approval, check API KEY in My Page โ AP
Related MCP Servers
AI Research Assistant
hamid-vakilzadeh
AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar
Linkup
LinkupPlatform
Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages
Math-MCP
EthanHenrickson
Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support