# NH투자증권 Open API MCP server

> Lets an AI client query domestic and overseas stock market prices and account balances using NH Investment & Securities Open API.

- Repository: https://github.com/PLUG-OpenAPI/nhplug-mcp
- Page: https://hostedmcp.org/servers/plug-openapi/nhplug-mcp
- Transport: —
- Stars: 16
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `NHPLUG_APP_KEY` | no | no |  |
| `NHPLUG_APP_SECRET` | no | no |  |
| `NHPLUG_AUTH_URL` | no | no |  |
| `NHPLUG_BASE_URL` | no | no |  |

## FAQ

### Can I execute stock trades with this MCP?

No, this MCP is for inquiry only. It does not execute orders (buy, sell, modify, or cancel). For trading, you must use the nhplug-sdk.

### What assets are supported?

The current version supports domestic stocks (krstock) and overseas stocks (gbstock). Other asset classes can be added by adding an openapi.json to the specs folder.

### How can I verify if my connection is working?

You can run the self-test script locally after filling in your APP_KEY and APP_SECRET in a .env file using the command 'node scripts/selftest.mjs'.
