This connects to South Korea's KOPIS API (공연예술통합전산망) to search for performances and festivals across the country by date, location, and genre. The core engine is platform-agnostic Python, built with separate adapters so you can plug it into KakaoTalk via PlayMCP or expose it as a standard REST API. You get back structured festival data including dates, venues, and event details. Useful if you're building Korean culture or entertainment apps and need programmatic access to official performing arts data. The architecture is clean: core_logic.py handles the KOPIS calls, while kakao_server.py and web_server.py adapt the responses for different platforms.
범용 AI 에이전트 '페스티벌 파인더'입니다. 핵심 로직과 플랫폼별 어댑터를 분리하여 카카오톡, 일반 웹사이트 등 다양한 플랫폼에 연결할 수 있도록 설계되었습니다. KOPIS(공연예술통합전산망) API를 사용하여 전국의 공연 및 축제 정보를 제공합니다.
이 프로젝트는 **'핵심 엔진(Core Engine)'**과 **'연결 어댑터(Connection Adapters)'**라는 두 가지 주요 부분으로 구성된 확장 가능한 구조를 따릅니다.
core_logic.py핵심 엔진을 다양한 외부 플랫폼에 연결하는 '플러그' 역할을 합니다.
각 플랫폼의 고유한 요청/응답 형식을 처리하고, 핵심 엔진과 통신합니다.
kakao_server.py: 카카오 PlayMCP용 어댑터 서버입니다.
web_server.py: 일반 웹사이트나 앱을 위한 범용 API 어댑터 서버입니다.
pip install -r requirements.txt
To install festival-finder-mcp automatically via Smithery:
npx -y @smithery/cli install @JunoJunHyun/festival-finder-mcp
KOPIS API 키 설정
core_logic.py 파일을 열어 KOPIS_API_KEY 변수에 발급받은 본인의 API 키를 입력하세요.
어댑터 서버 실행 필요한 어댑터 서버를 터미널에서 실행합니다.
카카오톡 연동 테스트 시:
python kakao_server.py
http://localhost:5000에 연결하고, PlayMCP Endpoint에 [ngrok 주소]/kakao를 등록합니다.일반 웹 API 테스트 시:
python web_server.py
http://localhost:5001/api/performances?stdate=... 형식으로 요청하여 테스트할 수 있습니다.