Korea Stock Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Korea Stock Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
한국 주식 분석을 위한 MCP 서버입니다. DART(전자공시시스템)와 KRX(한국거래소) 공식 API를 통해 주가 정보와 공시 자료 기반의 AI분석이 가능합니다.
💬 개선 요청 & 피드백 환영합니다! 사용하면서 불편한 점이나 개선 아이디어가 있으시면 편하게 이메일 주세요. 빠르게 확인하고 반영하겠습니다. 📧 [email protected]
먼저 DART와 KRX의 API KEY를 발급받아야 합니다.
#### 📝 DART API KEY 발급
#### 📈 KRX API KEY 발급
⏱️ 승인까지 약 1일 소요됩니다.
claude_desktop_config.json 파일에 다음 내용 추가:{
"mcpServers": {
"korea-stock-mcp": {
"command": "npx",
"args": ["-y", "korea-stock-mcp@latest"],
"env": {
"DART_API_KEY": "<YOUR_DART_API_KEY>",
"KRX_API_KEY": "<YOUR_KRX_API_KEY>"
}
}
}
}이제 Claude에서 한국 주식 데이터 분석을 시작할 수 있습니다.
일부 공시보고서(사업보고서, 분기보고서 등)는 수 MB에 달하는 대용량 XML 문서입니다. 이런 문서를 한 번에 모두 처리하면 AI 응답 한도를 초과하거나 오류가 발생할 수 있습니다.
문서 크기에 따라 자동으로 처리 방식이 달라집니다.
별도로 조작할 필요가 없습니다. Claude가 대용량 문서를 자동으로 처리합니다.
문서가 크면 Claude가 자동으로 다음과 같이 동작합니다:
예시:
한 번에 원하는 답을 얻지 못할 때는, 질문을 여러 단계로 나누면 더 정확한 결과를 얻을 수 있습니다.
예를 들어, "인벤테라의 증권신고서에서 외국인 배정 내역 알려줘"가 한 번에 안 된다면:
이렇게 단계별로 진행하면 각 단계의 결과를 확인하면서 원하는 정보에 도달할 수 있습니다.
corp_name) 또는 종목코드(stock_code) 중 하나로 조회 가능section_id로 특정 섹션 조회 가능프롬프트: "삼양식품의 2023년, 2024년 1~4분기, 2025년 1,2분기 매출, 영업이익 조사해주고 성장률도 조사해줘" → 삼양식품 분석 결과 보기
프롬프트: "에이피알의 23년 1분기부터 25년 2분기까지의 매출, 영업이익 성장과 주가, 시가총액 흐름을 조사해줘" → 에이피알 분석 결과 보기
프롬프트: "HJ중공업은 뭘 해서 돈을 버는 회사인지랑 사업부문별 매출까지 같이 알려줘" → HJ중공업 분석 결과 보기
프롬프트: "Get the foreign allocation details for an IPO (e.g., Inventera / 0007J0)" → 인벤테라 IPO 외국인 배정 분석 결과 보기
소스를 수정하면서 바로 테스트하는 방법입니다.
npm install프로젝트 루트에 .env 파일을 생성합니다:
DART_API_KEY=your_dart_api_key
KRX_API_KEY=your_krx_api_keynpm run inspect터미널에 출력되는 주소(http://localhost:6274 등)를 브라우저에서 열면 MCP Inspector UI가 열립니다.
Inspector에서 Connect 버튼을 클릭한 후, 좌측 툴 목록에서 원하는 툴을 선택해 직접 호출할 수 있습니다.
src/ 파일을 수정하고 저장하면 서버가 자동으로 재시작됩니다. Inspector에서 Reconnect 버튼을 클릭하면 변경사항이 즉시 반영됩니다.
참고: Node.js 18 이상이 필요합니다.
기여를 환영합니다! Pull Request를 보내주세요.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)ISC 라이선스
본 도구는 정보 제공 목적이며, 투자 조언이 아닙니다. 모든 투자 결정은 본인 책임입니다.
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).
💬 Feedback & Feature Requests Welcome! If you have any ideas for improvement or issues while using this tool, feel free to email me. I'll review and address them as quickly as possible. 📧 [email protected]
You need to obtain API KEYs from both DART and KRX.
#### 📝 DART API KEY Registration
#### 📈 KRX API KEY Registration
⏱️ Approval takes approximately 1 day.
claude_desktop_config.json:{
"mcpServers": {
"korea-stock-mcp": {
"command": "npx",
"args": ["-y", "korea-stock-mcp@latest"],
"env": {
"DART_API_KEY": "<YOUR_DART_API_KEY>",
"KRX_API_KEY": "<YOUR_KRX_API_KEY>"
}
}
}
}You can now start analyzing Korean stock data with Claude.
Some disclosure reports (annual reports, quarterly reports, etc.) are large XML documents of several MB. Processing such documents all at once can exceed AI response limits or cause errors.
The processing method changes automatically depending on document size.
No manual action required. Claude handles large documents automatically.
When a document is large, Claude automatically:
Examples:
If you can't get the answer you want in one shot, try breaking your question into smaller steps for more accurate results.
For example, instead of "Show me the foreign investor allocation details from Inventera's securities registration statement", try:
This way, you can verify each step's output and guide Claude toward the exact information you need.
corp_name) or stock code (stock_code)section_id to fetch a specific sectionPrompt: "Investigate Samyang Foods's sales and operating profit for Q1-Q4 2023, Q1-Q4 2024, and Q1-Q2 2025, and also check growth rates" → See Samyang Foods Analysis Results
Prompt: "Investigate APR's sales and operating profit growth from Q1 2023 to Q2 2025, along with stock price and market cap trends" → See APR Analysis Results
Prompt: "Tell me what HJ SHIPBUILDING & CONSTRUCTION does to make money and include sales by business segment" → See HJ Shipbuilding & Construction Analysis Results
Prompt: "Get the foreign allocation details for an IPO (e.g., Inventera / 0007J0)" → See Inventera IPO Foreign Allocation Analysis Results
How to test while modifying the source code.
npm installCreate a .env file in the project root:
DART_API_KEY=your_dart_api_key
KRX_API_KEY=your_krx_api_keynpm run inspectOpen the URL printed in the terminal (e.g. http://localhost:6274) in your browser to open the MCP Inspector UI.
Click Connect in the Inspector, then select any tool from the left panel to call it directly.
When you save a file under src/, the server restarts automatically. Click Reconnect in the Inspector to pick up the changes immediately.
Note: Node.js 18 or higher is required.
Contributions are welcome! Please send us a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)ISC License
This tool is for informational purposes only and is not investment advice. All investment decisions are your own responsibility.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.