This repository provides a server implementation for Naver OpenAPI using the Model Context Protocol, offering tools to interact with Naver services like blog, news, and book search. This repository provides
This project provides a server implementation for interacting with Naver's OpenAPI using the Model Context Protocol (MCP). It offers tools to access various Naver services, including searching blogs, news, books, and more.
To get started, clone the repository, navigate into the project directory, and synchronize dependencies using uv sync --dev --all-extras
. Before running, you need to apply for Naver Open API access via the provided link.
Run the server using fastmcp install src/server.py -e NAVER_CLIENT_ID=<YOUR NAVER CLIENT ID> -e NAVER_CLIENT_SECRET=<YOUR NAVER CLIENT SECRET>
. This command sets up the MCP server integrated with Naver OpenAPI.
The server provides tools for: Blog Search, News Search, Book Search, Adult Content Check, Encyclopedia Search, Cafe Article Search, Q&A Search, Local Search, Spelling Correction, Web Search, Image Search, Shopping Search, and Document Search. Each tool is implemented with specific parameters for customized searches.
The server implements various search tools, each with specific parameters for refined queries. For example, search_blog(query: str, display: int = 10, start: int = 1, sort: str = "sim")
searches blog posts, while fix_spelling(query: str)
corrects spelling errors.
This project is licensed under the MIT License.
pfldy2850/py-mcp-naver
March 20, 2025
March 28, 2025
Python