Skip to main content

StockLens — AI가 진짜 데이터로 분석합니다. 네이버 증권 기반 한국 주식 MCP 서버 (차트, 수급, 재무, 스크리닝, Excel)

Project description

StockLens logo

StockLens

AI가 진짜 데이터로 분석합니다

PyPI Python 3.11+ License: MIT

🇰🇷 한국어 | 🇺🇸 English


왜 필요한가

AI에게 차트 이미지를 보여주면 숫자를 추측해서 틀린 분석을 합니다 (할루시네이션).

StockLens는 Claude에 네이버 증권의 실제 시세 데이터를 직접 연결해서, AI가 추측이 아닌 진짜 숫자를 읽고 분석하도록 만듭니다.

❌ "삼성전자 8만원대인 것 같아요" (추측, 틀림)
✅ "삼성전자 206,000원, 20일 이평선 대비 +5.3%" (실제 데이터)

주요 기능

  • 📊 19개 도구 — 현재가, 차트, 수급, 재무, 스크리닝, Excel 출력
  • 🔑 API 키 불필요 — 네이버 증권 공개 데이터
  • 🚀 빠른 응답 — TTL 캐시 + Semaphore 최적화
  • 📁 Excel 스냅샷 — 한 번 스캔 → 반복 쿼리 즉시
  • 🤖 Gemini/GPT 연동 — Excel 내보내기로 다른 AI에서도 활용

빠른 시작

📌 Python 3.11 이상 필수. 터미널에서 py --version 또는 python --version 으로 확인. 3.10 이하면 python.org 에서 3.12 설치(Add to PATH 체크).

설치 (명령어 3줄)

PowerShell / cmd / Terminal 열고:

py -m pip install stocklens-mcp
py -m stock_mcp_server.setup_claude
py -m stock_mcp_server.doctor
  1. 설치 → 2. Claude Desktop 설정 → 3. 검증

Claude Desktop을 완전히 종료했다가 재시작하세요. (트레이 아이콘 우클릭 → Quit)

💡 macOS/Linux에서 py가 없으면 python3 으로 대체. 예: python3 -m pip install stocklens-mcp

동작 확인

Claude에서:

삼성전자 현재가 알려줘

종목명, 현재가, 전일대비, 거래량이 나오면 설치 완료입니다.

설치 문제 진단

MCP가 Claude Desktop에 안 잡히면:

stocklens-doctor

Python·패키지·명령·config 4단계 자동 점검. 문제 원인과 고치는 명령어까지 표시. 친구분이 막혔을 때 이 한 줄만 보내주세요.

사용 예시

"SK하이닉스 120일 일봉 보고 20일 이동평균선 기준으로 추세 판단해줘"
"카카오 외국인/기관 최근 20일 수급 분석해줘"
"시가총액 상위 100개 중 PER 15 이하인 종목 찾아줘"
"오늘 강세 테마 3개 알려주고 각 테마 주도주 분석해줘"

더 알아보기

지원 환경

환경 지원
Claude Desktop (앱) ✅ 메인
Claude Code (CLI)
Claude.ai (웹) ❌ 로컬 MCP 미지원
ChatGPT / Gemini Excel 내보내기로 우회 가능

기여

이슈, PR 모두 환영합니다. 버그 제보나 기능 요청은 Issues에 남겨주세요.

라이선스

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stocklens_mcp-0.2.3.tar.gz (64.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stocklens_mcp-0.2.3-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file stocklens_mcp-0.2.3.tar.gz.

File metadata

  • Download URL: stocklens_mcp-0.2.3.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stocklens_mcp-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6558ba800ea0d6c9cf50cc8d06cf7428be26eee0041bee741061445ab625efb6
MD5 cba8c1032bf0b49b11248b461083beba
BLAKE2b-256 1c6c82a71166df3ff3161c1adc1e9cbc0fd316ee52f75820aa878b4c8c130c1b

See more details on using hashes here.

File details

Details for the file stocklens_mcp-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: stocklens_mcp-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 53.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stocklens_mcp-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bf445303ee6da840c39de9e5dfc43de0280b509cd8b46fd67980bb818bb59885
MD5 a5479cd447c1247c3342bbfe34f651a7
BLAKE2b-256 504714fe5e21a02662ecf1678762c2819657d162322494dffc1e07ea17462ef0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page