Northdata Mcp

io.github.p-meier由 GitHub 帳號 p-meier 發布v0.1.1更新於 Oct 24, 2026

NorthData API for German company, owner, and financial data — with a built-in credit guard.

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理查詢 NorthData 的德國公司、人物與財務資料,並內建額度保護以避免高額呼叫。

可以做什麼
免費查詢公司與人物名稱聯想,以及標準、國家、法律形式和產業代碼等參考資料,並檢視計費用量與本機額度日誌。依產業代碼、法律形式、地址、國家、狀態和營收或利潤區間對公司進行進階搜尋。依註冊號或名稱取得完整公司檔案,包括股東、財務、代表和事件。查詢人物出生日期與已知職務,並檢索股東名單等公開出版物。任何計費請求可先以試運行預覽而不消耗額度。
適用情境
適合需要德國公司、股東或財務調查的情境,例如依規模或產業篩選公司、查看公司檔案、追蹤人物與股東出版物。若已有 NorthData API 金鑰並希望在聊天用戶端中直接使用這些資料,值得安裝。
執行需求
以 Python 套件形式在本機執行(pipx 或 uvx),由 MCP 用戶端透過 stdio 啟動。需要 NorthData API 金鑰,透過環境變數 NORTHDATA_API_KEY 提供。選用環境變數 NORTHDATA_APPROVAL_THRESHOLD、NORTHDATA_ABSOLUTE_MAX 和 NORTHDATA_CREDIT_LOG 可調整額度保護與日誌路徑。需要連線至 NorthData API 的網路存取。
安裝前請注意
NorthData 依回傳的公司數量計費,計費工具會花費真實費用,單次搜尋最多可消耗其 limit 數量的額度。請維持額度保護的預設嚴格設定,優先使用免費工具與試運行,並在核准前檢查工具呼叫。回傳內容含使用者產生文字,可能夾帶提示注入。開放式代理任務建議使用試用金鑰而非正式金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Northdata Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

NorthData MCP Server

Connect the NorthData company-data API to Claude Desktop, Claude Code, Cursor, and other AI assistants.

The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like NorthData. This server exposes NorthData's suggest, search, company, person, publications, reference, and billing endpoints as MCP tools, with a built-in credit guard that prevents accidental high-cost calls. See the full list of tools.

Built on FastMCP v3. Uses stdio transport — the MCP client launches northdata-mcp as a subprocess.


Setup

1. Read the security notes

Before running the server, skim the security considerations. NorthData costs real money per returned company, and MCP lets LLMs spend those credits autonomously. The credit guard mitigates this, but defence in depth matters.

2. Install the server

bash
pipx install northdata-mcp

This pulls in the sibling northdata-cli package automatically and exposes the northdata-mcp console script globally.

Alternative via uv:

bash
uvx northdata-mcp --help

3. Get a NorthData API key

Obtain a key at https://www.northdata.com. You'll put it into the MCP client config in the next step.

Optional credit-guard overrides (set as env vars in the MCP client config):

Env varDefaultPurpose
NORTHDATA_APPROVAL_THRESHOLD25search limit above this requires approve_high_cost=true
NORTHDATA_ABSOLUTE_MAX100Hard cap on search limit, flag-immune
NORTHDATA_CREDIT_LOG~/.northdata/credits.jsonlLocal credit log path

4. Configure your MCP client

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) — adjust the path on Windows / Linux:

json
{  "mcpServers": {    "northdata": {      "command": "northdata-mcp",      "env": {        "NORTHDATA_API_KEY": "XXXX-XXXX"      }    }  }}

Restart Claude Desktop. The NorthData tools will appear in the tool picker.

Claude Code

bash
claude mcp add northdata --env NORTHDATA_API_KEY=XXXX-XXXX -- northdata-mcp

Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "northdata": {      "command": "northdata-mcp",      "env": { "NORTHDATA_API_KEY": "XXXX-XXXX" }    }  }}

Any MCP client (generic)

Run northdata-mcp as a subprocess and speak MCP over stdio. The environment must contain NORTHDATA_API_KEY.


Tools

Note: this server is pre-1.0, expect minor breaking changes between versions.

Every tool is a thin wrapper around the equivalent northdata-cli command. Tools are tagged free (no credits spent) or billed (consumes NorthData credits). MCP annotations (readOnlyHint, openWorldHint) are set on every tool so well-behaved clients can surface them in the UI.

Free tools

No NorthData credits are consumed by these tools.

  • suggest — Autocomplete company or person names. Cheap first step before spending a credit on company or person.
  • billing — Current remote credit usage for the billing period (numberOfRequests, periodStart, periodEnd).
  • reference_overview — API reference data: standards, countries, legal forms, events.
  • reference_segment_codes — Complete segment-code list for a given standard (default NACE2025).
  • local_credit_log — Credit log maintained locally by this server: total, per-month, per-entry breakdown.

Billed tools

Every one of these spends NorthData credits. NorthData charges per returned company, not per request. The credit guard enforces a two-tier ceiling on search (see Credit guard). All billed tools accept dry_run=true to build and return the URL without spending credits.

  • search — Power search. Cost: up to limit credits. Filters: segment_codes, segment_standard, legal_forms, address, max_distance_km, countries, status, revenue_min/max, earnings_min/max, limit, pos, approve_high_cost.
  • company — Full company profile (1 credit). Identify by register (e.g. HRB 123456/Muenchen) or by name + optional city. Toggles: owners, financials, representatives, extras, sheets, events.
  • person — Person lookup (1 credit). Returns birth date and known roles. Takes first_name, last_name, optional city.
  • publications — Publications lookup (1 credit). Useful for shareholder lists via source="Hrb".

Credit guard

NorthData bills per returned company. A single search call with limit=100 costs up to 100 credits. This server enforces two tiers:

TierDefaultOverride
Approval threshold — limit above this requires approve_high_cost=true25NORTHDATA_APPROVAL_THRESHOLD
Absolute maximum — hard cap, ignores approve_high_cost100NORTHDATA_ABSOLUTE_MAX (set explicitly by a human, never by an LLM)

Every billed tool call is appended to the local credit log (JSON-lines). The local_credit_log tool surfaces it. The log is informational; billing remains the source of truth.

Use dry_run=true on any billed tool to inspect the request URL before spending anything.


Security considerations

Connecting a credit-consuming data source to an LLM carries real costs and real risks. A malicious or malformed prompt can cause an agent to burn credits, leak structured company data into an untrusted chat, or combine NorthData data with other tools in unintended ways.

Recommendations

  • Keep the credit guard strict. The defaults (approval 25, absolute max 100) exist to prevent a runaway agent from draining your credits in a single call. Only raise them deliberately.
  • Prefer free tools during exploration. suggest, reference_*, and billing are free. LLMs should call these before moving to company / person / publications.
  • Use dry_run=true when experimenting with new search parameters or register identifiers.
  • Review tool calls before approval. Most MCP clients (Claude Desktop, Cursor) ask you to approve each tool call. Leave that setting on.
  • Limit scope per session. Launch the server with a trial API key, not your main production key, when giving it to an agent for open-ended work.
  • Prompt injection. NorthData responses contain user-generated text (company descriptions, publications) that an adversary could stuff with instructions. Treat tool output as untrusted data, not as trusted instructions to the LLM.

Development

bash
cd northdata-mcppython -m venv .venv && source .venv/bin/activatepip install -e "../northdata-cli"   # local editable CLIpip install -e ".[dev]"pytest

Tests use FastMCP's in-memory transport — no subprocess, no network. The underlying NorthDataClient is injected via a mock factory backed by httpx.MockTransport.


Resources


License

MIT. See LICENSE.

來源:northdata-mcp/README.md,提交 a9779dd

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。