Skip to main content

Add your description here

Project description

Naver MCP Server

A server implementation for Naver OpenAPI using the Model Context Protocol (MCP). This project provides tools to interact with various Naver services, such as searching blogs, news, books, and more.

Quick Overview

Installation

# 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

Pre-requisite

To use the Naver MCP server, you need to apply for access to the Naver Open API. You can apply for Open API access at the link below:

https://developers.naver.com/apps/#/register=datalab

Run

Run it with:

# 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>

The tool sets up everything you need to create an MCP server integrated with Naver OpenAPI.

Features

This server provides the following tools for interacting with Naver OpenAPI:

  • Blog Search: Search blog posts on Naver.
  • News Search: Search news articles on Naver.
  • Book Search: Search books and advanced book information.
  • Adult Content Check: Check if a search term is adult content.
  • Encyclopedia Search: Search encyclopedia entries.
  • Cafe Article Search: Search articles in Naver cafes.
  • Q&A Search: Search questions and answers on Naver.
  • Local Search: Search local information.
  • Spelling Correction: Correct spelling errors in text.
  • Web Search: Search web pages.
  • Image Search: Search images with filters.
  • Shopping Search: Search shopping items with filters.
  • Document Search: Search documents.

Naver MCP Tools

The following tools are implemented in the server:

Blog Search

Search blog posts on Naver.

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

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)

License

This project is open source software licensed as MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_naver-0.1.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_naver-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_naver-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_naver-0.1.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for mcp_naver-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7760d68719f9258bb615a390716895b869f86ea21311d5f57627ce9de290ae60
MD5 0f1fd88e9c033db1b28c287a48aef61d
BLAKE2b-256 a389ba06efaf493a6276988e7cf562cc9bccf04dbbee2a1b52f14fc8f1127c00

See more details on using hashes here.

File details

Details for the file mcp_naver-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_naver-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for mcp_naver-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c15157576bcf691d8f7ab1cdd7cb83f84c636c651d8cd649f747623c808fcfef
MD5 61cc8df98f89e70eaa97be5c8ae955e7
BLAKE2b-256 24d76b3976e14cf51c30c635098fff26eae9e25ac94218b717a99c428eb3f4e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page