Skip to main content
Glama
jikime

Naver Search MCP Server

search_webkr

Search for web documents using keywords with page navigation to find relevant online information through Naver Search.

Instructions

Searches for web documents using the given keyword. The page parameter allows for page navigation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
displayNo
pageNo

Implementation Reference

  • server.py:589-592 (registration)
    MCP tool registration for 'search_webkr' using the @mcp.tool decorator.
    @mcp.tool( name="search_webkr", description="Searches for web documents using the given keyword. The page parameter allows for page navigation." )
  • The handler function that executes the tool logic: calculates pagination, prepares params, and delegates to shared _make_api_call with webkr-specific endpoint and model.
    async def search_webkr(query: str, display: int = 10, page: int = 1) -> str: """ Searches for web documents using the given keyword. The page parameter allows for page navigation. Args: query (str): The keyword to search for display (int, optional): The number of results to display. Default is 10. page (int, optional): The starting page number. Default is 1. """ start = calculate_start(page, display) display = min(display, 100) params = {"query": query, "display": display, "start": start} return await _make_api_call("webkr.json", params, WebkrResult, "Web Document")
  • Pydantic model for the overall webkr search result structure, inheriting SearchResultBase and specifying items as List[WebkrItem].
    class WebkrResult(SearchResultBase): items: List[WebkrItem]
  • Type alias defining WebkrItem as DescriptionItem, which provides title, link, and description fields.
    WebkrItem = DescriptionItem
  • Base Pydantic model for description-containing items like WebkrItem, extending BaseItem with optional description field.
    class DescriptionItem(BaseItem): description: Optional[str] = None

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jikime/py-mcp-naver-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server