Powers the RESTful API endpoints for accessing news data and analysis functionality
Supports project installation and contribution workflow through Git repository management
Provides issue tracking, documentation hosting, and collaboration features for the project
Stores collected news data and analysis results in a PostgreSQL database
Enables comprehensive testing of news collection and analysis functionality
Serves as the foundation programming language for the MCP server implementation
Provides caching and real-time data streaming capabilities for news monitoring
Collects news data from RSS feed sources for Korean stock market information
Generates status badges for the project documentation
Provides interactive API documentation through Swagger UI
📰 MCP News Collector
한국 주식시장 뉴스 실시간 수집 및 분석을 위한 MCP 서버
🎯 프로젝트 개요
MCP News Collector는 한국 주식시장 관련 뉴스를 실시간으로 수집, 분석하여 투자 인사이트를 제공하는 MCP(Model Context Protocol) 서버입니다.
✨ 주요 기능
- 🔄 실시간 뉴스 수집: 네이버, 다음, RSS 피드 등 다양한 소스
- 🧠 AI 기반 분석: 감정 분석, 시장 영향도 예측, 루머 탐지
- 📊 실시간 모니터링: WebSocket 기반 실시간 데이터 스트리밍
- 🌐 REST API: FastAPI 기반 RESTful 엔드포인트
- 🔧 MCP 통합: Claude 등 AI 어시스턴트와 원활한 연동
🏗️ 아키텍처
🚀 빠른 시작
사전 요구사항
- Python 3.11+
- PostgreSQL 13+
- Redis 6+
설치
MCP 클라이언트 연결
📖 API 문서
MCP Tools
Tool | 설명 | 파라미터 |
---|---|---|
get_recent_news | 최근 뉴스 조회 | keyword, source, limit, hours |
analyze_news_sentiment | 뉴스 감정 분석 | news_id, text, detail_level |
analyze_news_impact | 시장 영향도 분석 | news_id, company, timeframe |
detect_market_rumors | 루머 탐지 | news_id, threshold |
monitor_news_stream | 실시간 뉴스 모니터링 | topics, filters |
REST API
API 문서는 서버 실행 후 다음 URL에서 확인할 수 있습니다:
- Swagger UI:
http://localhost:8000/api/docs
- ReDoc:
http://localhost:8000/api/redoc
주요 엔드포인트
🧪 테스트
테스트 현황
- 전체 테스트: 169개 통과
- 커버리지:
- 감정 분석기: 92%
- 시장 영향 분석기: 85%
- 실시간 모니터링: 76%
- 루머 탐지: 89%
- 뉴스 요약: 90%
📊 개발 현황
Phase 별 진행 상황
- ✅ Phase 1: 기초 인프라 구축 (완료)
- ✅ Phase 2: 핵심 수집 시스템 (완료)
- ✅ Phase 3: 분석 엔진 구현 (완료)
- 🔄 Phase 4: API 및 통합 시스템 (75% 완료)
- ⏳ Phase 5: 최적화 및 배포 (예정)
자세한 개발 계획은 detailed-development-plan.md를 참조하세요.
🏗️ 프로젝트 구조
🔧 개발 도구
코드 품질
TDD 개발 프로세스
이 프로젝트는 엄격한 TDD(Test-Driven Development) 방법론을 따릅니다:
- Red: 실패하는 테스트 작성
- Green: 테스트를 통과시키는 최소한의 코드 작성
- Refactor: 코드 개선 및 최적화
🤝 기여하기
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
개발 가이드라인
- 모든 새로운 기능은 테스트와 함께 개발
- 코드 커버리지 80% 이상 유지
- 타입 힌트 사용 필수
- 문서화 철저히
📄 라이선스
이 프로젝트는 MIT 라이선스 하에 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.
📞 문의
- 개발자: Your Name
- 이슈 트래커: GitHub Issues
- 프로젝트 위키: GitHub Wiki
🙏 감사의 말
- MCP (Model Context Protocol) - Anthropic
- FastAPI - Sebastián Ramirez
- KoBERT - SKT Brain
��� 이 프로젝트가 도움이 되셨다면 Star를 눌러주세요!
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that collects and analyzes Korean stock market news in real-time, providing investment insights through AI-based analysis of sentiment, market impact, and rumor detection.
Related MCP Servers
- -securityFlicense-qualityProvides real-time access to global stock market data including current prices, historical charts, and company financial information through a Model Context Protocol (MCP) server for AI assistants.Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server for interacting with Korea Investment & Securities (KIS) REST API, enabling domestic and foreign stock trading, price checks, and account management.Last updated -103PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server providing tools for querying A-share stock market data, including historical prices, financial reports, market indices, and macroeconomic indicators.Last updated -28323PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server built with FastMCP that provides financial data tools for AI agents, enabling them to access and analyze stock market information from Yahoo Finance through natural language queries.Last updated -2Python