Uses the .ENV system for configuration management, specifically for storing and accessing Naver API credentials securely.
Integrates with Naver's encyclopedia search API, allowing users to search for information in Naver's encyclopedia database with support for pagination and customizable result display.
Includes test suite integration with pytest for verifying the functionality of both the Naver API client and the MCP server components.
네이버 백과사전 검색 MCP 서버
네이버 백과사전 검색 API를 MCP(Model Context Protocol) 서버로 래핑한 프로젝트입니다.
기능
- 네이버 백과사전 검색 API 연동
- stdin/stdout 모드 지원
- HTTP 모드 지원
- 에러 처리 및 로깅
- 테스트 코드 포함
설치
1. 의존성 설치
2. 환경 변수 설정
.env
파일을 편집하여 네이버 API 키를 설정하세요:
사용법
쉬운 실행 방법 (권장)
직접 실행 방법
API 키 발급
- 네이버 개발자 센터에 접속
- 애플리케이션 등록
- 검색 API 사용 권한 설정
- 클라이언트 아이디와 시크릿 발급
테스트
프로젝트 구조
MCP 함수
search_encyclopedia
네이버 백과사전에서 검색어로 관련 정보를 검색합니다.
파라미터:
query
(string, 필수): 검색할 키워드display
(integer, 선택): 한 번에 표시할 검색 결과 개수 (기본값: 10, 최대: 100)start
(integer, 선택): 검색 시작 위치 (기본값: 1, 최대: 1000)
응답:
오류 처리
서버는 다음과 같은 오류 상황을 처리합니다:
- 네이버 API 오류 (SE01, SE02, SE03 등)
- 네트워크 오류
- 설정 오류 (API 키 미설정)
- 예상치 못한 오류
오류 응답 형식:
라이선스
MIT License
참고 자료
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 wraps Naver's encyclopedia search API, allowing users to search for information from Naver's encyclopedia through stdin/stdout or HTTP interfaces.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables web search, scraping, crawling, and content extraction through multiple engines including SearXNG, Firecrawl, and Tavily.Last updated -95147TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that provides access to Naver OpenAPI services, enabling users to search blogs, news, books, images, and other content through standardized Model Context Protocol interfaces.Last updated -108PythonMIT License
- AsecurityAlicenseAqualityAn MCP server that enables searching various content types (news, blogs, shopping, images, etc.) through Naver's search API.Last updated -196031TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that intelligently fetches and processes web content, transforming websites and documentation into clean, structured markdown with nested URL crawling capabilities.Last updated -24053TypeScript