Naver OpenAPI MCP server

Integrates with Naver's OpenAPI services to provide 14 different tools for Korean-language search capabilities, including blog, news, book, image, and shopping searches.
Back to servers
Setup instructions
Provider
pfldy2850
Release date
Mar 21, 2025
Language
Python
Stats
104 stars

Naver MCP Server provides a server implementation for Naver OpenAPI using the Model Context Protocol (MCP). It enables interaction with various Naver services such as searching blogs, news, books, and more through a standardized interface.

Prerequisites

Before using the Naver MCP server, you need to obtain access to the Naver Open API:

  1. Apply for API access at https://developers.naver.com/apps/#/register=datalab
  2. Get your Naver Client ID and Client Secret for authentication

Installation Options

Installing with Claude Desktop

Using uv:

uv pip install mcp-naver

uv run python -m mcp-naver.hosts.claude_desktop \
  -e NAVER_CLIENT_ID=<YOUR NAVER CLIENT ID> \
  -e NAVER_CLIENT_SECRET=<YOUR NAVER CLIENT SECRET>

Using standard pip:

pip install mcp-naver

python -m mcp-naver.hosts.claude_desktop \
  -e NAVER_CLIENT_ID=<YOUR NAVER CLIENT ID> \
  -e NAVER_CLIENT_SECRET=<YOUR NAVER CLIENT SECRET>

Installing with Cursor

Using uv:

uv pip install mcp-naver

uv run python -m mcp-naver.hosts.cursor \
  -e NAVER_CLIENT_ID=<YOUR NAVER CLIENT ID> \
  -e NAVER_CLIENT_SECRET=<YOUR NAVER CLIENT SECRET>

Installing from Source

# Clone the repository
git clone https://github.com/pfldy2850/py-mcp-naver.git

# Navigate into the project directory
cd py-mcp-naver

# Synchronize dependencies
uv sync --dev --all-extras

# Start the server (Using FastMCP CLI)
fastmcp install mcp_naver/server.py -e NAVER_CLIENT_ID=<YOUR NAVER CLIENT ID> -e NAVER_CLIENT_SECRET=<YOUR NAVER CLIENT SECRET>

Available Tools

Blog Search

Search blog posts on Naver.

search_blog(query: str, display: int = 10, start: int = 1, sort: str = "sim")

Parameters:

  • query: Search term
  • display: Number of results to display (default: 10)
  • start: Starting position (default: 1)
  • sort: Sort method ("sim" for similarity, other options available)

News Search

Search news articles on Naver.

search_news(query: str, display: int = 10, start: int = 1, sort: str = "sim")

Book Search

Search books on Naver.

search_book(query: str, display: int = 10, start: int = 1, sort: str = "sim")

Advanced Book Search

Get detailed book information using title or ISBN.

get_book_adv(query: str = None, d_titl: str = None, d_isbn: str = None, ...)

Adult Content Check

Check if a search term is adult content.

adult_check(query: str)

Encyclopedia Search

Search encyclopedia entries on Naver.

search_encyc(query: str, display: int = 10, start: int = 1)

Cafe Article Search

Search articles in Naver cafes.

search_cafe_article(query: str, display: int = 10, start: int = 1, sort: str = "sim")

Q&A Search

Search questions and answers on Naver.

search_kin(query: str, display: int = 10, start: int = 1, sort: str = "sim")

Local Search

Search local information on Naver.

search_local(query: str, display: int = 10, start: int = 1, sort: str = "random")

Spelling Correction

Correct spelling errors in a given text.

fix_spelling(query: str)

Web Search

Search web pages on Naver.

search_webkr(query: str, display: int = 10, start: int = 1)

Image Search

Search images on Naver with filters.

search_image(query: str, display: int = 10, start: int = 1, sort: str = "sim", filter: str = "all")

Shopping Search

Search shopping items on Naver with filters.

search_shop(query: str, display: int = 10, start: int = 1, sort: str = "sim", filter: str = None, exclude: str = None)

Document Search

Search documents on Naver.

search_doc(query: str, display: int = 10, start: int = 1)

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "naver-openapi" '{"command":"python","args":["-m","mcp-naver.hosts.cursor","-e","NAVER_CLIENT_ID=${NAVER_CLIENT_ID}","-e","NAVER_CLIENT_SECRET=${NAVER_CLIENT_SECRET}"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "naver-openapi": {
            "command": "python",
            "args": [
                "-m",
                "mcp-naver.hosts.cursor",
                "-e",
                "NAVER_CLIENT_ID=${NAVER_CLIENT_ID}",
                "-e",
                "NAVER_CLIENT_SECRET=${NAVER_CLIENT_SECRET}"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "naver-openapi": {
            "command": "python",
            "args": [
                "-m",
                "mcp-naver.hosts.cursor",
                "-e",
                "NAVER_CLIENT_ID=${NAVER_CLIENT_ID}",
                "-e",
                "NAVER_CLIENT_SECRET=${NAVER_CLIENT_SECRET}"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later