Skip to main content
Glama
bizdb-nz-mcp

bizdb-nz-mcp

by ezydubs

bizdb-nz-mcp

An MCP server for bizdb.co.nz, a free directory of New Zealand companies built from the Companies Office register. It holds about 600,000 entities:

  • companies (NZ limited, unlimited and co-operative, and overseas);

  • incorporated societies and charitable trusts;

  • limited partnerships;

  • credit unions;

  • building, friendly and industrial & provident societies;

  • special bodies.

The server talks to the site natively, over its own pages and the two form endpoints its pages post to, with plain HTTPS. No browser is involved. The endpoints were mapped in CloakBrowser; NATIVE-NOTES.md describes them.

Tools

tool

what it does

bizdb_search

Every field of the site's company search (details below), sorted by name or type, with offset paging (up to 200 results a call)

bizdb_industries

Industry classification descriptions the site suggests for a word, to use as the search's industry

bizdb_company

A company's full profile by NZBN (up to 10 at once), company number or exact name. An exact name is looked up in the A-Z index, then the search (details below).

bizdb_index

The A-Z name index: first characters, sub-prefixes, or every company whose name starts with a prefix. The site cannot browse prefixes containing "&".

bizdb_latest

The newest companies on the home page, with their industries

bizdb_status

Requests made, cache, pacing, user agent, the site's data sources, and its terms page

bizdb_search takes:

  • name text, found anywhere in the name;

  • an exact NZBN;

  • an exact company number;

  • an entity type (14 kinds);

  • industry text;

  • accredited employers only.

bizdb_company returns:

  • status, type, registration date, GST number and industry codes;

  • AEWV accreditation;

  • current addresses, with LINZ coordinates;

  • former names and status history;

  • previous and other active addresses, the principal place of activity, and the address timeline;

  • phone, e-mail and website;

  • shares and shareholders, previous shareholders, and the ultimate holding company;

  • directors and officers, current and former, with their address history;

  • Charities Register figures;

  • nearby and similar companies.

Related MCP server: companies-house-mcp

Install

Needs Node 22.13 or later.

git clone https://github.com/ezydubs/bizdb-nz-mcp.git
cd bizdb-nz-mcp
npm install
npm run build
claude mcp add --scope user bizdb -- node "$PWD/dist/server.js"

Any other MCP client can run it over stdio:

{ "mcpServers": { "bizdb": { "command": "node", "args": ["/path/to/bizdb-nz-mcp/dist/server.js"] } } }

What the site does not have

  • Removed companies. Their pages answer 404.

  • Companies in liquidation, in search. They keep their page, but the search finds registered entities only, so read them by NZBN.

  • Search counts. The search gives no totals.

  • People. There is no person search and there are no person pages. Directors and shareholders appear only on company pages.

  • Filings and documents.

  • Every shareholding of a large company. No page lists more than 10 share allocations, so a large company's list is partial.

How it treats the site

  • One request at a time. Requests are at least a second apart, with a browser user agent that names this server.

  • Retries. A dropped connection or a 502/503/504 is retried once. A 403 or 429 is reported and never retried.

  • Caching. Answers are cached in memory: searches 10 min, company pages 1 h, index pages and suggestions 24 h.

  • No crawling. robots.txt asks crawlers to stay off /filter/, the search endpoint, and blocks named AI crawlers that were overloading the server. This server is not a crawler: it sends one search or page per tool call, as the site's own search page does. There is no bulk export or polling, and an empty search is refused.

  • Licences and accuracy. The data comes from public registers. The Charities Register is CC BY 3.0 NZ and the LINZ addresses are CC BY 4.0. bizdb gives it "as is". A name that matches a director or shareholder is not proof that it is the same person.

Development

  • npm test: offline tests on recorded pages in test/fixtures. People's names, e-mails and phone numbers in them are scrubbed, and people's addresses are cut to the suburb or town (scripts/scrub.mjs).

  • npm run smoke: live checks against the site (about 16 requests).

  • node scripts/call.mjs bizdb_search '{"name":"fonterra"}': calls a tool from the command line.

  • node scripts/record-fixtures.mjs: records the fixtures again (24 requests, scrubbed).

Available Tools

6 tools
bizdb_companyA New Zealand company's profileA
Read-only

A company's full profile on bizdb.co.nz, from the Companies Office register and the NZBN register: name, type, status, company number, NZBN, registration date, GST number, industry classifications, accredited-employer (AEWV) status, current addresses with map coordinates (LINZ), former names, status history, previous addresses and the address timeline, contact phone/email/website, shares (total, allocations with each holder and their NZBN, previous shareholders), the ultimate holding company, directors/officers (current and former, appointment and termination dates, suburb-level addresses), Charities Register details and annual-return figures, and nearby and similar companies. Name it by nzbn (one, or up to 10), company_number (looked up with the search), or exact name (looked up in the A-Z index, then the search; when no one company fits, the candidates are returned, and an inexact single match says so). The search finds registered entities only, so a company in liquidation is read by its NZBN. Removed companies are not on bizdb.

Inputs: name, nzbn, sections, max_items, +2 more.

bizdb_indexThe A-Z company indexA
Read-only

bizdb.co.nz's A-Z index of company names. With no prefix: the first characters (0–9, A–Z), each with its first and last company. With a prefix the site either splits it further (sub-prefixes such as FO, FON with their first and last company) or, once few enough names share it, lists every company whose name starts with it (NZBN, name, type, an address and its kind, post code). A prefix can be asked for directly, such as "FONTERRA"; the site matches at most 10 characters, so a longer one is read under its first 10 and filtered. Prefixes are capitals; spaces and punctuation count ("F " is names like "F 1 LIMITED"), but the site cannot show prefixes containing "&".

Inputs: prefix.

bizdb_industriesIndustry classification suggestionsA
Read-only

The industry classification descriptions bizdb.co.nz suggests for a word, as its search page's industry box does (the Business Industry Classification, ANZSIC-based, used by the Companies Office and NZBN register). Pass one to bizdb_search's industry to find companies classified under it.

Inputs: text (required).

bizdb_latestThe newest companiesA
Read-only

The newest companies on bizdb.co.nz's home page (about 21, recently registered or added), each with its NZBN and industry classification. bizdb_company reads any of them in full.

Inputs: no named parameters.

bizdb_statusThis server's stateB
Read-only

This server's state: requests made to www.bizdb.co.nz and answered from the cache, the last error, the cache, the pacing and the user agent, and where the site's data comes from. terms adds the site's terms of use and privacy policy as text. clear_cache empties the in-memory cache. Requests are plain HTTPS from this computer (no browser).

Inputs: terms, clear_cache.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool has a distinct role: taxonomy lookup, register search, latest listings, full company profile, A-Z name index, and server status. Only mild overlap exists between bizdb_index and bizdb_search (both can surface companies by name) and bizdb_latest vs. search, but descriptions make the intended use clear.

    Naming Consistency5/5

    All tools follow a uniform bizdb_<resource> pattern with lowercase snake_case and no deviations. The convention is predictable and readable throughout.

    Tool Count5/5

    Six tools is well-scoped for a company-register lookup server: search, detail, discovery, taxonomy, indexing, and diagnostics. Each tool earns its place with no obvious redundancy.

    Completeness4/5

    Coverage is strong: search with multiple filters, full company profiles, latest additions, A-Z browsing, industry classification lookup, and cache/status diagnostics. Minor gaps might include direct officer/director search or bulk retrieval, but core lookup workflows are fully supported.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve UK Companies House data including company profiles, officers, and filing history via the official API.
      4
      1
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Provides access to UK Companies House public data, enabling search and retrieval of company profiles, officers, filing history, and more through natural language queries.
      12
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying UK company data including search, profiles, officers, filings, and persons with significant control via Companies House API.
      MIT