Labsco
inchori logo

Naver Map Direction MCP

from inchori

Provides geographical and directional data from the Naver Map API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Naver Map Direction MCP

The Naver Map MCP(Model Context Provider) is a MCP server for get GEO data and direction data from Naver Map.

Running on the stdio MCP server, it will provide the following functionalities:

  • get-geo: Get GEO data from Naver Map
  • get-direction: Get direction data from Naver Map

Running the Naver Map Direction MCP

Requirements

  • Node.js 18.x or higher

Installation

npm run build

MCP Configuration

Create a mcp.json file in the root directory of the project with the following content:

{
  "mcpServers": {
    "naver-map-direction-mcp": {
      "command": "node",
      "args": [
        "<project-path>/naver-map-direction-mcp/dist/server.js"
      ],
      "env": {
        "NAVER_MAP_DIRECTION_API_URL": "<NAVER_MAP_DIRECTION_API_URL>",
        "NAVER_MAP_GEO_API_URL": "<NAVER_MAP_GEO_API_URL>",
        "NAVER_MAP_CLIENT_ID": "<NAVER_MAP_CLIENT_ID>",
        "NAVER_MAP_CLIENT_SECRET": "<NAVER_MAP_CLIENT_SECRET>"
      }
    }
  }
}

Running the MCP Server on Localhost

npm run start

Get Geo data from Naver Map MCP

  • Request
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get-geo","arguments":{"address":"๋ถ„๋‹น๊ตฌ ๋ถˆ์ •๋กœ 6"}}}
  • Response
{"result":{"content":[{"type":"text","text":"Latitude: 127.0132509, Longitude: 37.4856729"}]},"jsonrpc":"2.0","id":1}

Get Direction data from Naver Map MCP:

  • Request: ๋ถ„๋‹น๊ตฌ ๋ถˆ์ •๋กœ 6 to ํ…Œํ—ค๋ž€ 427
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get-direction","arguments":{"start":"127.1054328,37.3595963","goal":"127.0536603,37.5063712"}}}
  • Response
{"result":{"content":[{"type":"text","text":"Guide of get direction:\n์ •์ž์ผ๋กœ1์‚ฌ๊ฑฐ๋ฆฌ์—์„œ ์œ ํ„ด\n'์„œ์šธ, ํŒ๊ตIC' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n'์„œ์šธ, ์ˆ˜์„œ, ์„ฑ๋‚จ์‹œ์ฒญยท์„ฑ๋‚จ์‹œ์˜ํšŒ' ๋ฐฉ๋ฉด์œผ๋กœ ์˜ค๋ฅธ์ชฝ ๋„๋กœ ์ฃผํ–‰\n'๋ถ„๋‹น์ˆ˜์„œ๋กœ' ๋ฐฉ๋ฉด์œผ๋กœ ์™ผ์ชฝ ๋„์‹œ๊ณ ์†๋„๋กœ ์ง„์ž…\n๋ฒŒ๋ง์ง€ํ•˜์ฐจ๋„์—์„œ ์ง€ํ•˜์ฐจ๋„ ์ง„์ž…\n์ˆ˜์„œ์ง€ํ•˜์ฐจ๋„์—์„œ ์ง€ํ•˜์ฐจ๋„ ์ง„์ž…\n'๊น€ํฌ๊ณตํ•ญ, ๊ฐ•์ผIC, ์ž ์‹ค๋Œ€๊ต' ๋ฐฉ๋ฉด์œผ๋กœ ์˜ค๋ฅธ์ชฝ ๋„์‹œ๊ณ ์†๋„๋กœ ์ถœ๊ตฌ\n'๊ฐ•์ผIC, ์ž ์‹ค๋Œ€๊ต' ๋ฐฉ๋ฉด์œผ๋กœ ์™ผ์ชฝ ๋ฐฉํ–ฅ\n๋ด‰์€๊ต์—์„œ '์˜ฌ๋ฆผํ”ฝ๋Œ€๋กœ(๊น€ํฌ๊ณตํ•ญยท๊ฐ•์ผIC), ์ฝ”์—‘์Šคยท์‚ผ์„ฑ์—ญ' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n์ข…ํ•ฉ์šด๋™์žฅ์—์„œ '์žฅ์ง€๋™, ๊ฐ€๋ฝ์‹œ์žฅ' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n์ข…ํ•ฉ์šด๋™์žฅ์—์„œ '์‚ผ์„ฑ์—ญ' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n'ํ…Œํ—ค๋ž€๋กœ69๊ธธ' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n'์‚ผ์„ฑ๋กœ91๊ธธ' ๋ฐฉ๋ฉด์œผ๋กœ ์šฐํšŒ์ „\n๋ชฉ์ ์ง€"}]},"jsonrpc":"2.0","id":1}

Future features

  • Support for public transport directions
  • Support for get GEO data by name
  • Support for compatability with Claude Desktop