search_naver_news
Search Korean news articles on Naver News using queries in Korean or English, retrieving articles with titles, summaries, sources, dates, and URLs.
Instructions
Search Naver News (네이버 뉴스) for Korean news articles.
Args: query: Search query in Korean or English max_articles: Maximum number of articles to return (default 20, max 100) sort: Sort order — 'date' (최신순) or 'sim' (관련도순)
Returns: List of article objects with title, summary, source, date, url fields.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_articles | No | ||
| sort | No | date |
Implementation Reference
- src/korean_data_mcp/server.py:176-196 (handler)The `search_naver_news` function is the handler that executes the Naver News search using an Apify actor. It defines the tool and parameters using the `@mcp.tool()` decorator.
async def search_naver_news( query: str, max_articles: int = 20, sort: str = "date", ) -> list[dict]: """ Search Naver News (네이버 뉴스) for Korean news articles. Args: query: Search query in Korean or English max_articles: Maximum number of articles to return (default 20, max 100) sort: Sort order — 'date' (최신순) or 'sim' (관련도순) Returns: List of article objects with title, summary, source, date, url fields. """ max_articles = min(max_articles, 100) return await _run_actor( f"{APIFY_ACCOUNT}/naver-news-scraper", {"query": query, "maxArticles": max_articles, "sort": sort}, )