Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Read-only Nordnet brokerage data: accounts, positions, trades, balances, orders, instruments.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
NORDNET_HOST, NORDNET_SESSION_TOKEN, NORDNET_CLIENT_ID标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"nordnet": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NORDNET_HOST",
"-e",
"NORDNET_SESSION_TOKEN",
"-e",
"NORDNET_CLIENT_ID",
"ghcr.io/hpasic/nordnet-mcp:latest"
],
"env": {
"NORDNET_HOST": "your-value",
"NORDNET_SESSION_TOKEN": "your-value",
"NORDNET_CLIENT_ID": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add nordnet --env NORDNET_HOST=your-value --env NORDNET_SESSION_TOKEN=your-value --env NORDNET_CLIENT_ID=your-value -- docker run -i --rm -e NORDNET_HOST -e NORDNET_SESSION_TOKEN -e NORDNET_CLIENT_ID ghcr.io/hpasic/nordnet-mcp:latest运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"nordnet": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NORDNET_HOST",
"-e",
"NORDNET_SESSION_TOKEN",
"-e",
"NORDNET_CLIENT_ID",
"ghcr.io/hpasic/nordnet-mcp:latest"
],
"env": {
"NORDNET_HOST": "your-value",
"NORDNET_SESSION_TOKEN": "your-value",
"NORDNET_CLIENT_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"nordnet": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NORDNET_HOST",
"-e",
"NORDNET_SESSION_TOKEN",
"-e",
"NORDNET_CLIENT_ID",
"ghcr.io/hpasic/nordnet-mcp:latest"
],
"env": {
"NORDNET_HOST": "your-value",
"NORDNET_SESSION_TOKEN": "your-value",
"NORDNET_CLIENT_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
NORDNET_CLIENT_ID env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 hpasic 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:NORDNET_HOST, NORDNET_SESSION_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Read-only MCP server for Nordnet portfolio data.
It exposes Nordnet accounts, positions, trades, balances, and instrument lookup/search to MCP-compatible clients such as Claude Code, Claude Desktop, and Cursor.
Important:
.env file.The server can now log itself in: call the nordnet_auth tool (or just try any Nordnet tool — a 401 tells the model to call it) and a QR code appears in the conversation. Scan it with the Nordnet mobile app and the session is established automatically — no browser DevTools, no copy-pasting a cookie. NORDNET_HOST must match the market your Nordnet app is registered in (e.g. public.nordnet.no for a Norwegian account): the QR encodes a login link on that market's domain, and an app from another market silently ignores the scan. In MCP Apps-capable hosts this renders as a live QR image that rotates itself every 100 seconds (up to 3 codes / 5 minutes) if you haven't scanned it yet, and once approved it disappears and sends a follow-up message so you don't have to retype what you originally asked. Whether that finishes the loop entirely or just saves you the retyping depends on the host: some submit it immediately, others (observed: Claude Desktop) pre-fill it in the composer and leave sending it to you — in the latter case, a single Enter is all that's left. On hosts without MCP Apps support (e.g. Claude Code), the QR is shown as ASCII art text instead of an image, and there's no automatic polling — once you tell the model you've scanned and approved it, it calls nordnet_login_poll itself to finish the login.
A session obtained this way is kept in memory only — applied to the running server immediately, but never written to .env or anywhere else on disk. If the server process restarts for any reason, the token is gone and you'll need to log in again; writing it back to .env would avoid that, but at a security cost (a bearer token sitting in a plaintext file) that isn't worth it unless this turns out to be too disruptive in practice — that's the tradeoff to revisit if so. If the App view itself gets re-mounted (e.g. reopening a conversation you'd already authenticated in), a QR is never shown for a session that's still good — this is checked twice, both live against Nordnet (not just "is a token string present," since a present-but-dead token shouldn't count): once server-side, before nordnet_auth would otherwise generate a new order, and once again in the view itself before it ever displays whatever content it was handed, since that content could be a stale replay of a past result rather than a fresh call. Either way you just get a quiet "Already logged in" instead of a pointless fresh QR.
Once logged in, the server also keeps the session alive on its own for as long as it keeps running, the same way a browser tab left open on nordnet.se would — so you generally won't need to re-authenticate just from being idle. This only helps while the server process is actually running; stop it for longer than Nordnet's idle window and you'll need to log in again next time it starts.
If you'd rather not use QR login, you can still provide a session token manually — see Manual token setup.
nordnet-mcpIf you do not already have uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
Create a .env file in the working directory used to launch the server (typically the repo root when using uv run --directory ...):
cat > .env <<'EOF'
NORDNET_HOST=public.nordnet.se
EOF
NORDNET_CLIENT_ID is optional. Nordnet session IDs appear to be tied to the client that created them. If Nordnet responds with NEXT_INVALID_SESSION, add NORDNET_CLIENT_ID=NEXT and restart the server.
Supported hosts:
public.nordnet.sepublic.nordnet.nopublic.nordnet.dkpublic.nordnet.fiNORDNET_SESSION_TOKEN doesn't need to be set up front — the QR login flow (see Status above) gets you a session without it, kept in memory for the life of the server process. If you'd rather not rely on that, set NORDNET_SESSION_TOKEN here yourself; see Manual token setup.
From a local clone:
git clone https://github.com/hpasic/nordnet-mcp.git
cd nordnet-mcp uv run nordnet-mcp
If your .env is not in the repo root, export the variables in your shell before starting the server.
{
"mcpServers": { "nordnet": { "command": "uv", "args": [ "run", "--directory", "/absolute/path/to/nordnet-mcp", "nordnet-mcp" ] } } }
{
"mcpServers": { "nordnet": { "command": "uv", "args": [ "run", "--directory", "/absolute/path/to/nordnet-mcp", "nordnet-mcp" ], "env": { "NORDNET_SESSION_TOKEN": "your_token_here", "NORDNET_HOST": "public.nordnet.se" } } } }
{
"mcpServers": { "nordnet": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "NORDNET_SESSION_TOKEN=your_token_here", "-e", "NORDNET_HOST=public.nordnet.se", "ghcr.io/hpasic/nordnet-mcp:latest" ] } } }
Notes:
/absolute/path/to/nordnet-mcp with your local clone path.env block is often the easiest option.NEXT_INVALID_SESSION, add "NORDNET_CLIENT_ID": "NEXT" to the env block (or -e NORDNET_CLIENT_ID=NEXT for Docker) — see the note above.nordnet_auth again or refresh the token manually and restart the server.If you'd rather not rely on the QR flow, you can provide a session token yourself:
nordnet.se (or your local Nordnet domain) in your browser.NNX_SESSION_ID.NORDNET_SESSION_TOKEN in .env (or the MCP client's env block).7f3a91c2-5648-4dbe-8a17-29c4e6b1f053.If you just use Claude Desktop and aren't comfortable with terminals, config files, or Docker, this is the option for you: a one-click install, no separate software of any kind.
nordnet-mcp.mcpb from the Releases page.That's it — no Python, no uv, no Docker. Claude Desktop runs the server itself using its own built-in Python/uv runtime (manifest.json declares this), the same way it runs any other extension. For Claude Code or other MCP-capable agents, see MCP client setup above instead.
list_accounts — list all accounts with types and IDsget_account_info — balances and buying powerget_positions — holdings with P&Lget_trades — executed trades (0-7 days back)get_ledgers — currency balancesget_orders — active ordersget_daily_transactions — today's transactionsget_instrument — instrument details (batch supported)lookup_instrument — find by ISIN or market IDsearch_stocks — free-text stock searchcheck_suitability — check whether an instrument is tradeableget_countries — country listget_instrument_types — instrument typesget_search_attributes — search filter attributesnordnet_auth — start (or restart) QR-code login; renders as an MCP App image on supporting hosts, or ASCII art otherwisenordnet_login_poll — app-only, polls a pending login and finishes it once approveduv sync --group dev
uv run pytest -q uv build
CI validates and packs nordnet-mcp.mcpb and publishes it to the latest GitHub Release on every push to main — the same "always-current" pattern as the :latest Docker tag, not a versioned per-release artifact. No manual step needed; the Claude Desktop Extension download link always points at that release's asset.
To do it locally (e.g. to sanity-check a change before pushing):
npx @anthropic-ai/mcpb validate .
npx @anthropic-ai/mcpb pack . nordnet-mcp.mcpb
.mcpbignore keeps the bundle to just what the uv runtime needs (manifest.json, pyproject.toml, src/, server/) — it's not the whole repo.
.env.NORDNET_SESSION_TOKEN manually instead, treat that .env file like it holds a password, because it does.nordnet_auth (or fetch a fresh token manually) rather than treating it as a hard failure.MIT