Skip to main content
Glama
naver-stock-mcp

naver-stock-mcp

by koreapyj

naver-stock-mcp

An MCP server for Naver Stock Research, a collection of Korean brokerage research reports. It lets a model find relevant reports and return their Naver detail page URL (detailUrl) and original PDF URL (pdfUrl).

Install and build

npm install
npm run build

Requires Node.js 20.18 or later.

Related MCP server: Korean Stock MCP

Running

Local (stdio)

node dist/index.js

Example config for an MCP client such as Claude Desktop or Claude Code:

{
  "mcpServers": {
    "naver-research": {
      "command": "node",
      "args": ["/path/to/naver-stock-mcp/dist/index.js"],
      "env": { "HTTPS_PROXY": "http://proxy.example.com:8080" }
    }
  }
}

Streamable HTTP

node dist/index.js --transport http --port 3000 --host 127.0.0.1
# or: MCP_TRANSPORT=http MCP_PORT=3000 node dist/index.js
  • Endpoint: http://<host>:<port>/mcp (POST, stateless)

  • Health check: GET /health

  • Binding to 127.0.0.1 or localhost enables DNS rebinding protection. When binding to 0.0.0.0, set MCP_ALLOWED_HOSTS to the Host headers you accept. The server has no authentication; if you expose it, put authentication in front of it (for example, a reverse proxy).

claude mcp add --transport http naver-research http://127.0.0.1:3000/mcp

Docker

Images are published to GitHub Packages from main without tags, so pull them by digest. The digest of each build is shown in the workflow run summary.

docker run --rm -p 3000:3000 \
  -e MCP_ALLOWED_HOSTS=localhost,127.0.0.1 \
  -e HTTPS_PROXY=http://proxy.example.com:8080 \
  ghcr.io/koreapyj/naver-stock-mcp@sha256:<digest>

The image runs the Streamable HTTP transport on 0.0.0.0:3000 by default. Set MCP_ALLOWED_HOSTS to the Host headers clients use, to keep DNS rebinding protection.

Environment variables

Real environment variables take precedence. A .env file in the working directory is also loaded if present (see .env.example).

Variable

Description

Default

MCP_TRANSPORT

stdio or http

stdio

MCP_HOST / MCP_PORT / MCP_PATH

HTTP bind settings

127.0.0.1 / 3000 / /mcp

MCP_ALLOWED_HOSTS

Allowed Host headers, comma-separated

-

HTTP_PROXY / HTTPS_PROXY

Proxy for outbound requests to Naver. Lowercase names and user:pass@ credentials are supported

-

NO_PROXY

Hosts that bypass the proxy

-

NAVER_TIMEOUT_MS

Request timeout

15000

NAVER_USER_AGENT

User-Agent override

Chrome UA

DOTENV_PATH

Path of the env file to load

.env

All Naver endpoints use HTTPS, so HTTPS_PROXY is usually the only one you need.

Tools

Tool

Description

search_research

Search reports by category, keyword, stock (name or code), industry, broker (name or code), date range and page. Every result has detailUrl; with includePdf: true each also gets pdfUrl.

get_research

Get one report: full summary, pdfUrl, detailUrl, target price, previous target price, and stock price on the publication date

find_stock

Look up stock codes by name

list_brokers

List brokers and their codes

list_industries

List industry keys and Korean names for industry reports

Categories:

Category

Contents

Web path

market

Market commentary

/research/daily

invest

Investment strategy

/research/invest

company

Company/stock analysis

/research/company

industry

Industry analysis

/research/industry

economy

Economic analysis

/research/economy

debenture

Bonds/fixed income

/research/debenture

Example arguments for search_research (Samsung Electronics reports from Mirae Asset):

{ "category": "company", "stocks": ["삼성전자"], "brokers": ["미래에셋"], "size": 5, "includePdf": true }

Reports, stock names and broker names are in Korean, so Korean search terms give the best results.

Testing

npm run smoke                              # stdio
npm run smoke -- http://127.0.0.1:3000/mcp # a running HTTP server

Notes

This server calls the undocumented API that the Naver Stock website itself uses (stock.naver.com/api/stockSecurity/researches/v2/*). It may stop working if Naver changes that API. Research reports are the property of their publishers; follow Naver's and the publishers' terms when using them.

License

Copyright (C) 2026 Yoonji Park koreapyj@dcmys.kr

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program (see LICENSE). If not, see https://www.gnu.org/licenses/.

Available Tools

5 tools
find_stockFind Stock CodeA

Look up stock codes by name using Naver Stock autocomplete. Korean stock names work best.

Inputs: query (required), limit.

get_researchGet Research ReportA

Get one research report: full summary text, original PDF URL (pdfUrl) and Naver detail page (detailUrl). Company reports also include the target price, previous target price and the stock price on the publication date. Take category and nid from search_research results.

Inputs: nid (required), category (required).

list_brokersList BrokersA

List the brokerages and institutions that publish research, with their codes.

Inputs: no named parameters.

list_industriesList IndustriesA

List the industry keys and Korean names usable as filters for category=industry.

Inputs: no named parameters.

search_researchSearch Naver Stock ResearchA

Search brokerage research reports on Naver Stock (stock.naver.com/research). Reports are mostly in Korean. Every result has detailUrl (the Naver detail page); set includePdf=true to also get pdfUrl (the original PDF). Results are sorted newest first. Categories: market = market commentary; invest = investment strategy; company = company/stock analysis; industry = industry analysis; economy = economic analysis; debenture = bond/fixed income. For reports on specific stocks use category=company with stocks; for specific sectors use category=industry with industries. query is a keyword search over titles and summaries (Korean keywords work best).

Inputs: category (required), page, size, query, +7 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: search_research vs get_research separate discovery from detail retrieval, and find_stock, list_brokers, and list_industries are non-overlapping lookup helpers. An agent can easily select the right tool for each task.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern (search_research, get_research, find_stock, list_brokers, list_industries). The verbs are standard and predictable.

    Tool Count5/5

    Five tools are well-scoped for a research-report browsing server: two core operations plus three supporting lookups. No tool feels redundant or extraneous.

    Completeness4/5

    The research workflow is covered end-to-end: search by category/keyword, fetch full report details with PDF, and resolve stock/broker/industry filters. Minor gap: no tool for current stock quotes or price history, though the server is focused on research reports.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      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.
      13
      4
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to Korean stock market data, including stock listings, daily historical records, and 10-minute intraday candles via FinanceDataReader and Naver APIs. It enables users to search for stocks, retrieve detailed profiles, and calculate technical indicators locally.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides tools for discovering, downloading, parsing, and searching Korean DART financial reports, enabling AI assistants to access Open DART data through structured tools.
      6
      39 PyPI
      2
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to search Korean DART corporate disclosures, financial statements, ownership filings, and fully parsed XBRL, while converting HWP/PDF attachments into markdown. It also provides analyst-style frames such as insider trading signals, accounting-risk scoring, and Buffett-style quality checklists for comparing companies.
      723 npm
      MIT