Naver Search MCP Server

Naver Search MCP Server

Provides access to Naver Search APIs, allowing AI agents to search across multiple categories (blogs, news, books, images, shopping items, etc.) with structured responses optimized for LLM consumption.

Category
访问服务器

README

Naver Search MCP Server

smithery badge Version License

This MCP (Multi-platform Communication Protocol) server provides access to Naver Search APIs, allowing AI agents to search for various types of content on Naver.

Overview

  • Search for blogs, news, books, images, shopping items, and more
  • Multiple search categories with pagination support
  • Structured text responses optimized for LLM consumption
  • Check for adult content
  • Convert keyboard input errors (errata)

Table of Contents

Setup

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/jikime/py-mcp-naver-search.git
cd py-mcp-naver-search
  1. uv installation
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create a virtual environment and install dependencies:
uv venv -p 3.12
source .venv/bin/activate
pip install -r requirements.txt
  1. Create a .env file with your Naver API credentials:
cp env.example .env
vi .env

NAVER_CLIENT_ID=your_client_id_here
NAVER_CLIENT_SECRET=your_client_secret_here

Using Docker

  1. Build the Docker image:
docker build -t py-mcp-naver-search .
  1. Run the container:
docker run py-mcp-naver-search

Using Local

  1. Run the server:
mcp run server.py

Configure MCP Settings

Add the server configuration to your MCP settings file:

Claude desktop app

  1. To install automatically via Smithery:
npx -y @smithery/cli install @jikime/py-mcp-naver-search --client claude
  1. To install manually open ~/Library/Application Support/Claude/claude_desktop_config.json

Add this to the mcpServers object:

{
  "mcpServers": {
    "Google Toolbox": {
      "command": "/path/to/bin/uv",
      "args": [
        "--directory",
        "/path/to/py-mcp-naver-search",
        "run",
        "server.py"
      ]
    }
  }
}

Cursor IDE

open ~/.cursor/mcp.json

Add this to the mcpServers object:

{
  "mcpServers": {
    "Google Toolbox": {
      "command": "/path/to/bin/uv",
      "args": [
        "--directory",
        "/path/to/py-mcp-naver-search",
        "run",
        "server.py"
      ]
    }
  }
}

for Docker

{
  "mcpServers": {
    "Google Toolbox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "py-mcp-naver-search"
      ]
    }
  }
}

Using the Client

The repository includes a client script for testing:

# Basic search
uv run client.py blog "Python programming" display=5 page=1

# News search with sorting
uv run client.py news "AI" display=10 page=1 sort=date

# Image search with filtering
uv run client.py image "cat" display=10 filter=large

# Check for adult content
uv run client.py adult "your query"

# Errata correction
uv run client.py errata "spdlqj"

Available Search Categories

The server supports the following search categories:

  1. blog - Blog posts
  2. news - News articles
  3. book - Books
  4. adult - Adult content check
  5. encyc - Encyclopedia entries
  6. cafe_article - Cafe articles
  7. kin - Knowledge iN Q&A
  8. local - Local business information
  9. errata - Keyboard input error correction
  10. shop - Shopping items
  11. doc - Academic papers and documents
  12. image - Images
  13. webkr - Web documents

API Reference

Tools

Search Blog

search_blog(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for blogs on Naver using the given keyword.

Search News

search_news(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for news on Naver using the given keyword.

Search Book

search_book(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for book information on Naver using the given keyword.

Check Adult Query

check_adult_query(query: str) -> str

Determines if the input query is an adult search term.

Search Encyclopedia

search_encyclopedia(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for encyclopedia information on Naver using the given keyword.

Search Cafe Article

search_cafe_article(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for cafe articles on Naver using the given keyword.

Search KnowledgeiN

search_kin(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for Knowledge iN Q&A on Naver using the given keyword.

Search Local

search_local(query: str, display: int = 5, page: int = 1, sort: str = "random") -> str

Searches for local business information using the given keyword.

Correct Errata

correct_errata(query: str) -> str

Converts Korean/English keyboard input errors.

Search Shop

search_shop(query: str, display: int = 10, page: int = 1, sort: str = "sim") -> str

Searches for shopping product information on Naver using the given keyword.

Search Document

search_doc(query: str, display: int = 10, page: int = 1) -> str

Searches for academic papers, reports, etc. using the given keyword.

Search Image

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

Searches for images using the given keyword.

Search Web Document

search_webkr(query: str, display: int = 10, page: int = 1) -> str

Searches for web documents using the given keyword.

Resources

Available Search Categories

GET http://localhost:8000/available-search-categories

Returns a list of Naver search categories available on this MCP server.

Response Format

All tools return responses in structured text format, optimized for LLM processing:

Naver Blog search results (total 12,345 of 1~10):

### Result 1
Title(title): Sample Blog Post
Link(link): https://blog.example.com/post1
Description(description): This is a sample blog post about...
Blogger name(bloggername): John Doe
Blogger link(bloggerlink): https://blog.example.com
Post date(postdate): 20250429

### Result 2
...

Acknowledgements

License

This project is licensed under the MIT License - see the LICENSE file for details.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选