Skip to main content
Glama
plug-support

nhplug-mcp

Official
by plug-support

NH투자증권 Open API — Local MCP Server

🏛️ NH투자증권 공식 Open API(NHPLUG) 지원 저장소입니다.  ·  포털 www.nhplug.com  ·  문의 apisupport@nhsec.com 코드로 개발·자동매매하려면 → nhplug-sdk  |  대화형 AI로 쓰려면 → 이 저장소(nhplug-mcp)

NH투자증권 Open API 를 Claude Desktop 등 MCP 클라이언트에서 바로 사용할 수 있게 해주는 로컬 MCP 서버입니다. 국내주식(krstock)·해외주식(gbstock) 자산군의 시세·조회·주문 API 를 Claude 가 도구로 호출합니다.

  • 인증 · 토큰 발급 · 헤더 · Input_0 봉투 처리를 서버가 자동으로 대신합니다.

  • 131개 엔드포인트를 몇 개의 메타 도구로 노출해, 도구가 많아 성능이 떨어지는 문제를 피합니다.

  • 주문(거래) API 는 기본 비활성이며, 명시적으로 켠 경우에만 사용됩니다.

현재 버전은 국내주식(krstock)·해외주식(gbstock) 자산군을 포함합니다. 다른 자산군은 specs/ 폴더에 openapi.json 을 추가하면 확장됩니다(맨 아래 참고).


1. 사전 요건

  1. Node.js 18 이상nodejs.org 에서 설치. (node -v 로 확인. npx 는 Node 에 포함)

  2. NH투자증권 Open API 앱키/시크릿 — 포털 www.nhplug.com 에서 발급.

  3. Git — 방법 A(npx github)·방법 B(clone) 모두 필요. git-scm.com 에서 설치. (git --version 으로 확인)

  4. API 서버 네트워크 접근 — 이 MCP 는 당신 PC 에서 *.nhplug.com API 서버로 직접 연결합니다. 사내망 등에서만 접근 가능한 환경이라면, MCP 를 실행하는 PC 도 그 네트워크에 있어야 합니다.


Related MCP server: KIS MCP Server

2. 설치 및 실행

방법 A — npx로 GitHub에서 바로 실행 (권장, 설치 불필요)

별도 다운로드·빌드 없이 Claude 설정 한 줄이면 됩니다. 고객용 설정에 아래 command/args 를 씁니다(전체 설정은 3번).

"command": "npx",
"args": ["-y", "github:plug-support/nhplug-mcp"]

첫 실행 예열(권장): npx 는 첫 실행 때 GitHub 에서 받아 빌드하느라 1분 정도 걸립니다. Claude 가 기다리다 실패하지 않도록, 터미널에서 한 번 미리 실행해 두면 좋습니다:

npx -y github:plug-support/nhplug-mcp

[nhplug-mcp] 시작됨 ... 로그가 뜨면 Ctrl + C 로 종료. 이후 Claude 실행이 빨라집니다.

업데이트 반영: npx 는 받은 코드를 캐시합니다. 새 버전을 받으려면 npm cache clean --force 후 Claude 재시작.

방법 B — git clone 후 로컬 빌드

git clone https://github.com/plug-support/nhplug-mcp.git
cd nhplug-mcp
npm install
npm run build

빌드가 끝나면 dist/index.js 가 생성됩니다. 이 경로를 Claude 설정에 "command": "node", "args": ["<경로>/dist/index.js"] 로 등록합니다.


3. Claude Desktop 연결

Claude Desktop 설정 파일 claude_desktop_config.json 을 엽니다.

  • 가장 쉬운 방법: Claude Desktop → 설정(Settings)개발자(Developer)Edit Config 버튼.

  • 직접 열기 — Windows: %APPDATA%\Claude\claude_desktop_config.json · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

아래 내용을 붙여넣습니다. (방법 A · GitHub npx 기준)

{
  "mcpServers": {
    "nhplug": {
      "command": "npx",
      "args": ["-y", "github:plug-support/nhplug-mcp"],
      "env": {
        "NHPLUG_APP_KEY": "발급받은_APP_KEY",
        "NHPLUG_APP_SECRET": "발급받은_APP_SECRET",
        "NHPLUG_BASE_URL": "https://api.nhplug.com:8443"
      }
    }
  }
}

저장 후 Claude Desktop 을 완전히 종료(트레이 포함)했다가 다시 실행하면 nhplug 도구가 나타납니다.

N2 고객은 위 env 에 두 줄을 n2plug 로 추가하세요: "NHPLUG_BASE_URL": "https://api.n2plug.com:8443", "NHPLUG_AUTH_URL": "https://api.n2plug.com:8443". (개발·검증은 BASE_URL 을 moapi.n2plug.com, AUTH_URL 은 api.n2plug.com 유지)

JSON 주의: 항목 사이엔 콤마(,), 마지막 항목 뒤엔 콤마 없음. Windows 경로의 \\\ 로 두 개씩. 이미 다른 서버가 있으면 "nhplug": { ... } 블록만 mcpServers 안에 추가하세요.

방법 B(로컬 빌드)를 쓰면 command"node", args["C:\\경로\\nhplug-mcp\\dist\\index.js"] 로 바꾸면 됩니다. 키는 설정의 env 대신 저장소 폴더의 .env 파일(.env.example 참고)로 넣어도 됩니다.


4. 환경변수

변수

필수

설명

NHPLUG_APP_KEY

발급받은 앱키

NHPLUG_APP_SECRET

발급받은 앱시크릿

NHPLUG_BASE_URL

호출 대상 REST Base URL. 기본값 https://api.nhplug.com:8443 (운영). 교육·시뮬레이션은 https://moapi.nhplug.com:8443

NHPLUG_AUTH_URL

토큰 발급 URL. 기본 https://api.nhplug.com:8443 (운영 전용 — moapi 미제공). 보통 그대로 둡니다

NHPLUG_ENABLE_TRADING

true 일 때만 주문(거래) 도구 노출. 기본 false

NHPLUG_DEFAULT_ACCOUNT

잔고/주문 단축 도구에서 계좌번호 생략 시 사용

접속 환경(Base URL)

환경

URL

🔴 실거래·운영 (Live) — 기본

https://api.nhplug.com:8443

🟢 모의투자 (Mock) — 교육이수·시뮬레이션 테스트

https://moapi.nhplug.com:8443

접근토큰(/oauth2/token)은 운영(api) 전용입니다(모의투자 미제공). 호출을 moapi 로 하더라도 토큰은 항상 api 에서 발급됩니다(NHPLUG_AUTH_URL, 기본 api). MCP 는 Claude 정책상 주문을 실행하지 않으므로, 기본이 운영이어도 조회·시세만 수행합니다.

브랜드(도메인) — 나무(Namuh) / N2

API·필드는 동일하고 접속 도메인만 다릅니다. 위 예시는 나무(nhplug.com) 기준입니다.

브랜드

운영

모의투자

포털

나무(Namuh)

api.nhplug.com:8443

moapi.nhplug.com:8443

www.nhplug.com

N2

api.n2plug.com:8443

moapi.n2plug.com:8443

www.n2plug.com

⚠️ N2 고객은 설정의 NHPLUG_BASE_URLNHPLUG_AUTH_URL둘 다 n2plug 로 지정하세요. AUTH_URL 까지 안 바꾸면 토큰이 나무로 가서 실패합니다.


5. 제공 도구

도구

종류

설명

list_apis

메타

호출 가능한 API 목록. domain/category/keyword 필터. 여기서 operationId 를 찾습니다.

describe_api

메타

특정 operationId 의 입력 필드(Input_0) 스키마 조회.

call_api

메타

operationId + 입력값으로 실제 호출. 131개 엔드포인트 전부 커버.

get_stock_price

단축

국내주식 현재가 (종목코드만 입력).

get_stock_balance

단축

국내주식 계좌 잔고.

list_accounts

단축

보유 계좌 목록 조회 (잔고·주문 전 계좌번호 확보용, POST /n2/acctinfo).

동작 흐름(메타 도구): list_apis 로 원하는 API 를 찾고 → describe_api 로 입력값을 확인한 뒤 → call_api 로 호출합니다. 자주 쓰는 현재가·잔고는 단축 도구로 한 번에 호출할 수 있습니다.

사용 예시 프롬프트

  • "삼성전자(005930) 현재가 알려줘" → get_stock_price

  • "국내주식 시세 관련 API 목록 보여줘" → list_apis

  • "krstockQuoteCurrentDaily 는 어떤 입력이 필요해?" → describe_api

  • "내 계좌 목록 보여줘" → list_accounts

  • "내 계좌 20101036881 잔고 조회해줘" → get_stock_balance


6. 주문(거래)에 대하여 ⚠️

중요 — 대화형 AI 는 실제 주문을 대신 체결하지 않습니다. Claude 등 AI 어시스턴트는 안전정책상 사용자를 대신해 증권 주문을 실행하지 않습니다. 이는 MCP 설정(NHPLUG_ENABLE_TRADING)이나 환경과 무관한 모델 자체의 동작이라, 서버에서 끌 수 없습니다.

따라서 이 MCP 는 시세·계좌 조회, 분석, 주문 파라미터 준비까지 담당하고, 실제 매수/매도 실행은 코드로 하세요:

  • 파이썬 개발·자동매매: nhplug-sdk

  • 주문 API 단발 테스트(사람이 직접 실행): node scripts/order_test.mjs --account <계좌> --code 005930 --qty 1 --price 70000 --confirm

NHPLUG_ENABLE_TRADING=true 설정은 주문 API 를 도구 목록에 노출만 합니다(설계·검증용). 실행은 위 코드 경로를 사용하세요.

  • 기본값 false 이면 주문 API 는 list_apis 에 표시되지 않고 call_api 로도 거부됩니다.

  • 주문 관련 작업은 반드시 모의투자 환경(moapi) 에서 충분히 검증 후 진행하세요.


7. 연결 검증 (self-test)

Claude 에 붙이기 전에, API 서버 접근·인증이 정상인지 로컬에서 먼저 확인할 수 있습니다.

# .env 에 APP_KEY / APP_SECRET / BASE_URL 을 채운 뒤
node scripts/selftest.mjs

토큰 발급 → 삼성전자 현재가 조회까지 성공하면 전체 검증 통과 ✅ 가 출력됩니다.


8. 문제 해결

증상

원인 / 해결

환경변수 NHPLUG_APP_KEY 가 설정되지 않았습니다

설정의 env 또는 .env 에 키 누락

토큰 발급 요청 실패 (네트워크)

API 서버에 접근 불가. 사내망/방화벽/URL 확인

토큰 발급 실패 (HTTP 401/403)

앱키·시크릿 오류 또는 해당 환경 미허용

IGW40043 유효하지 않은 token

캐시된 토큰 만료·무효. 자동으로 재발급 후 1회 재시도하므로 대개 그대로 성공. 반복되면 키·환경 확인

[business] 00007 … 같은 오류

HTTP 는 200 이지만 업무 오류입니다. rsp_cd00000/00166 이 아니면 실패로 처리합니다(성공 오판 방지). 성공 코드 확장은 NHPLUG_SUCCESS_CODES

[rate_limit] IGW42902 …

호출 유량 초과(실측 초당 5회 수준). 자동 재시도하지 않습니다 — 잠시 후 다시 요청하세요

Claude 에 도구가 안 보임

설정 저장 후 Claude Desktop 완전 종료 후 재시작

주문 도구가 안 보임

의도된 동작. NHPLUG_ENABLE_TRADING=true 필요

로그는 표준오류(stderr)로 출력됩니다: [nhplug-mcp] 시작됨 · baseUrl=... · trading=...


9. 자산군 확장

스펙 정본은 도메인(https://www.nhplug.com/openapi-docs/<자산>/openapi.json)입니다. 번들(specs/)은 sync:specs 로 도메인에서 당겨 최신화합니다:

npm run sync:specs                    # specs/ 에 이미 있는 자산 최신화
npm run sync:specs krstock gbstock    # 지정 자산 받기(신규 추가)

⚠️ 커밋 전 검증 필수: 받은 뒤 MCP call_api 로 라이브 A/B(현재가·잔고)를 확인하고 커밋하세요. 도메인 재생성이 회귀할 수 있으므로, 번들은 이 검증 게이트를 거쳐 반영합니다(런타임은 항상 번들을 읽습니다).

수동으로 openapi.jsonspecs/<도메인>.openapi.json 이름으로 넣어도 됩니다. 예:

specs/
  krstock.openapi.json   ← 현재 포함
  gbstock.openapi.json   ← 추가 시 해외주식 자동 노출
  krfuture.openapi.json  ← 추가 시 국내파생 자동 노출

메타 도구(list_apis/describe_api/call_api)는 코드 수정 없이 새 자산군을 자동 인식합니다. (단축 도구는 자산군별로 추가 구현 가능)


라이선스

MIT. 문의: apisupport@nhsec.com

Available Tools

5 tools
call_apiA

operationId 와 입력값으로 NH Open API 를 실제 호출합니다. 인증/헤더/Input_0 봉투는 자동 처리됩니다. 주문(거래) API 는 서버가 거래 활성화 모드(NHPLUG_ENABLE_TRADING=true)일 때만 호출됩니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
ctsNo연속조회(페이지네이션) 키. 목록 조회 다음 페이지에 사용.
inputYesInput_0 에 들어갈 파라미터 객체 (예: { shrn_iscd: '005930' })
operationIdYes호출할 operationId

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses automatic processing of auth/headers/envelope and the trading mode condition for orders. However, it does not specify whether calls are read-only or write, rate limits, error handling, or idempotency, leaving significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action, followed by a critical condition. No wasted words. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description does not explain what the return value is (e.g., raw API response) or error handling. While it covers authentication and a key condition, it omits pagination (cts parameter) and response format, leaving the agent underinformed for a generic API caller.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter has a description. The tool description adds no extra meaning beyond the schema, referencing operationId and input only in passing and omitting cts entirely. Thus it meets the baseline for high-coverage schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool calls the NH Open API with operationId and input, automatically handling authentication, headers, and envelope. It distinguishes itself from siblings by being the actual execution tool, while siblings like describe_api or list_apis provide metadata.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a conditional guideline for order APIs requiring trading mode, but does not explicitly advise when to use this tool vs its siblings (e.g., to first get operationId from describe_api or list_apis). The context for using alternatives is implied but not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_apiA

특정 operationId 의 입력 필드(Input_0) 스키마를 반환합니다. call_api 호출 전에 어떤 파라미터가 필요한지 확인하는 용도입니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
operationIdYeslist_apis 로 찾은 operationId (예: krstockQuoteCurrentPrice)

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Describes read-only behavior of returning schema with no side effects. No annotations provided, but description adequately covers behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with purpose, no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description covers essential purpose and usage. Without output schema, return format could be more detailed, but sufficient for a simple schema-query tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Single parameter described with example (krstockQuoteCurrentPrice) and source (list_apis). Adds value beyond schema's description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states returns schema of input fields for a specific operationId. Distinct from sibling tools like list_apis (lists APIs) and call_api (makes calls).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'check what parameters are needed before calling call_api', giving clear when-to-use guidance. Could mention alternatives but not necessary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_stock_balanceC

국내주식 계좌 잔고를 조회합니다. (단축 도구 = krstockInquiryBalance)

ParametersJSON Schema
NameRequiredDescriptionDefault
account_noNo계좌번호. 생략 시 NHPLUG_DEFAULT_ACCOUNT 환경변수 값 사용.

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description provides minimal behavioral details. It does not mention authentication, side effects, or that it is a read-only operation. The description adds little beyond the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with a single sentence and an alias note. It is efficient but could be more structured for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple balance inquiry tool, the description lacks completeness. It does not mention what the response contains, error handling, or any contextual information beyond the basic function.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 100% coverage with a parameter description. The tool description does not add extra meaning beyond the schema, meeting the baseline for parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool inquires domestic stock account balance. It does not explicitly differentiate from sibling tools like get_stock_price, but the purpose is specific and understandable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives such as get_stock_price or call_api. The description lacks context on prerequisites or usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_stock_priceB

국내주식 현재가 시세를 조회합니다. (단축 도구 = call_api 로 krstockQuoteCurrentPrice 를 호출하는 것과 동일)

ParametersJSON Schema
NameRequiredDescriptionDefault
stock_codeYes종목코드 6자리 (예: 005930 = 삼성전자)

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It declares the tool is read-only by implication (retrieving prices) and mentions it is a shortcut, but fails to disclose error handling, rate limits, or response format, leaving significant behavioral ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with two sentences, front-loading the purpose and adding a useful comparison. No redundant or unnecessary text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the low complexity (single parameter, no output schema), the description should cover what the agent receives. It omits the return format (e.g., price, currency, timestamp), making it incomplete for an agent to confidently use the tool without additional inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with a clear description of the stock_code parameter. The tool description adds no additional semantic value beyond the schema, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves current domestic stock prices, using a specific verb ('조회합니다') and resource ('현재가 시세'). It distinguishes itself from siblings by noting it is a shortcut equivalent to calling krstockQuoteCurrentPrice via call_api.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide explicit guidance on when to use this tool versus alternatives like call_api or other sibling tools. The hint about being a shortcut implies a use case but lacks clear context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_apisA

NH투자증권 Open API 에서 호출 가능한 엔드포인트 목록을 조회합니다. 자산군(domain)·카테고리·키워드로 필터링할 수 있습니다. 먼저 이 도구로 원하는 API 의 operationId 를 찾은 뒤 describe_api / call_api 로 이어가세요. 주문(거래) API 는 서버가 거래 활성화 모드일 때만 표시됩니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
domainNo자산군 필터 (예: krstock). 생략 시 전체.
keywordNosummary/operationId/path 부분일치 키워드.
categoryNo카테고리 부분일치 (예: 시세, 조회, 주문).

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Discloses that order APIs are conditionally displayed based on server mode, which is useful. Does not mention read-only nature, error handling, or response format, but for a listing endpoint this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no redundancy. Front-loaded with purpose, then filtering options, then workflow advice. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but description does not mention what the response contains (expected list of endpoints). However, the workflow with sibling tools (describe_api, call_api) provides implicit context. Adequate for a simple listing tool, but could be more explicit about return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 3 parameters (100% coverage). Description adds context: explains domain as asset class filter, keyword as partial match on summary/operationId/path, and category as partial match. This clarifies the matching behavior beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it lists available API endpoints from NH Investment & Securities Open API, specifies filtering dimensions (domain, category, keyword), and explicitly distinguishes it from sibling tools by outlining the workflow: use this to find operationId, then invoke describe_api or call_api.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly advises using this tool first to locate operationId before calling describe_api/call_api. Also notes that order/trade APIs are only shown when server is in trade active mode. Does not explicitly state when not to use, but the sequential guidance is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv0.1.0
    • First observedcall_api
    • First observeddescribe_api
    • First observedget_stock_balance
    • First observedget_stock_price
    • First observedlist_apis

TDQS

A3.8/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: list_apis for discovery, describe_api for schema, call_api for execution, and get_stock_balance/price for common queries. No ambiguity.

Naming Consistency4/5

Mostly consistent verb_noun pattern (call_api, describe_api, list_apis) but stock shortcuts use 'get_stock_' prefix, which is a minor deviation. Overall readable and predictable.

Tool Count5/5

Five tools is well-scoped for a financial API wrapper: listing, schema, generic call, plus two convenience shortcuts. Not excessive or insufficient.

Completeness5/5

Covers the full workflow: discover APIs (list_apis), inspect input schema (describe_api), execute any API (call_api), and provides shortcuts for common balance and price queries. No dead ends.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with the Korea Investment & Securities (KIS) Open API for domestic and overseas stock trading, real-time market data, and automated strategy execution. It provides a structured interface for LLMs to perform trading operations, manage portfolios, and conduct backtesting.
    -
  • F
    license
    A
    quality
    D
    maintenance
    Enables Claude to trade Korean and overseas stocks, check balances, and search stock information through the Korea Investment & Securities Open API.
    12
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables querying Korean and US stock information, quotes, account assets, and order history via Toss Securities Open API. Optionally supports order placement with preview and confirmation safeguards.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI clients like Claude Code to perform stock price queries and trading orders through NH투자증권's WMCA DLL using natural language.
    -

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/plug-support/nhplug-mcp'

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