@registrum/mcp 2.0.5 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/server.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +59 -3
- package/dist/server.js.map +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -88,6 +88,7 @@ the server locally than call ours.
|
|
|
88
88
|
| Tool | What you get |
|
|
89
89
|
|---|---|
|
|
90
90
|
| `search_company` | Find a company by name → company number |
|
|
91
|
+
| `get_bundle` | **Profile, compliance, financials, PSCs and directors in one call** - start here |
|
|
91
92
|
| `get_company` | Profile: status, age, SIC descriptions, overdue flags |
|
|
92
93
|
| `get_financials` | Turnover, net assets, profit/loss, employees — parsed from iXBRL, in GBP |
|
|
93
94
|
| `get_directors` | Current board with appointment history across all their companies |
|
|
@@ -96,6 +97,22 @@ the server locally than call ours.
|
|
|
96
97
|
| `get_compliance` | **ECCTA identity-verification status** — who has verified, who is pending, who is overdue |
|
|
97
98
|
| `get_network` | Companies connected by shared directors, to depth 2 |
|
|
98
99
|
|
|
100
|
+
### On `get_bundle`
|
|
101
|
+
|
|
102
|
+
Most questions about a company need several of these views at once. `get_bundle`
|
|
103
|
+
returns them in a single request: **one call and one credit instead of five**,
|
|
104
|
+
and one round trip instead of five. Pass `include` to fetch a subset, or omit it
|
|
105
|
+
for all five sections.
|
|
106
|
+
|
|
107
|
+
Each section carries exactly what its own endpoint returns, because the bundle
|
|
108
|
+
is composed from those same handlers rather than reimplemented - so plan gates,
|
|
109
|
+
caching and the ECCTA rules behave identically either way.
|
|
110
|
+
|
|
111
|
+
**A null section is not an error.** Financials come back null for a company that
|
|
112
|
+
has filed no machine-readable accounts, and compliance requires a Pro plan. Only
|
|
113
|
+
a missing company is an error, and that is a 404. Report a null section as "not
|
|
114
|
+
available", never as an absence of the underlying fact.
|
|
115
|
+
|
|
99
116
|
### On `get_compliance`
|
|
100
117
|
|
|
101
118
|
The Economic Crime and Corporate Transparency Act requires every UK director
|
package/dist/server.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare function callApi(path: string, apiKey: string, baseUrl?: string):
|
|
|
10
10
|
* five months - a list nobody could enumerate programmatically is a list that
|
|
11
11
|
* goes stale.
|
|
12
12
|
*/
|
|
13
|
-
export declare const TOOL_NAMES: readonly ["search_company", "get_company", "get_financials", "get_directors", "get_compliance", "get_psc", "get_psc_chain", "get_network"];
|
|
13
|
+
export declare const TOOL_NAMES: readonly ["search_company", "get_company", "get_financials", "get_directors", "get_compliance", "get_psc", "get_psc_chain", "get_network", "get_bundle"];
|
|
14
14
|
export type ToolName = (typeof TOOL_NAMES)[number];
|
|
15
15
|
/**
|
|
16
16
|
* Called before a tool touches the API. Return a string to refuse the call with
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAIzD,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AAEzD,wBAAsB,OAAO,CAC3B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,MAAiB,GACzB,OAAO,CAAC,OAAO,CAAC,CAclB;AAeD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAIzD,eAAO,MAAM,QAAQ,mCAAmC,CAAC;AAEzD,wBAAsB,OAAO,CAC3B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,MAAiB,GACzB,OAAO,CAAC,OAAO,CAAC,CAclB;AAeD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,0JAUb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;AAEpE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,QAOsE,CAAC;AAUvG;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAqQzF;AAED,4DAA4D;AAC5D,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAiB,GAAG,SAAS,CAMlF"}
|
package/dist/server.js
CHANGED
|
@@ -44,6 +44,7 @@ export const TOOL_NAMES = [
|
|
|
44
44
|
"get_psc",
|
|
45
45
|
"get_psc_chain",
|
|
46
46
|
"get_network",
|
|
47
|
+
"get_bundle",
|
|
47
48
|
];
|
|
48
49
|
export const SERVER_INSTRUCTIONS = "Use these tools to look up UK companies registered at Companies House. " +
|
|
49
50
|
"Company numbers are zero-padded 8-digit strings (e.g. '00445790' for Tesco PLC). " +
|
|
@@ -156,18 +157,73 @@ export function registerTools(server, options) {
|
|
|
156
157
|
"Returns individuals, corporate entities, and legal persons who own 25%+ of shares, " +
|
|
157
158
|
"hold 25%+ of voting rights, or have significant influence or control. " +
|
|
158
159
|
"Each PSC includes decoded control types in plain English (e.g. 'Owns 25-50% of shares' " +
|
|
159
|
-
"instead of raw codes).
|
|
160
|
-
"
|
|
160
|
+
"instead of raw codes). Individual PSCs also carry ECCTA identity verification: " +
|
|
161
|
+
"verification_status (verified, pending, overdue or unknown), identity_verified, " +
|
|
162
|
+
"identity_verified_on, and verification_deadline. pending means that person's deadline " +
|
|
163
|
+
"has not yet passed and is not a compliance failure; unknown means Companies House " +
|
|
164
|
+
"publishes no record for them, an absence of data rather than a breach. Only overdue " +
|
|
165
|
+
"means a deadline was missed. " +
|
|
166
|
+
"Corporate entity PSCs include their company number for " +
|
|
167
|
+
"ownership chain traversal, and carry none of the verification fields. " +
|
|
168
|
+
"Also detects PSC exemptions for listed PLCs. " +
|
|
161
169
|
"Cached for 24 hours.",
|
|
162
170
|
inputSchema: z.object({ company_number: companyNumber }),
|
|
163
171
|
}, async ({ company_number }) => run("get_psc", `/company/${company_number}/psc`));
|
|
172
|
+
/** The sections /v1/company/{n}/bundle can assemble, in the API's own order.
|
|
173
|
+
*
|
|
174
|
+
* A closed enum rather than a free string: the API answers an unknown
|
|
175
|
+
* section with a 400, and a model that guesses "accounts" should be told the
|
|
176
|
+
* valid names by the schema instead of spending a call to find out.
|
|
177
|
+
*/
|
|
178
|
+
const BUNDLE_SECTIONS = ["profile", "compliance", "financials", "psc", "directors"];
|
|
179
|
+
server.registerTool("get_bundle", {
|
|
180
|
+
title: "Get a whole company in one request",
|
|
181
|
+
description: "Get several views of one UK company in a single request: profile, ECCTA compliance, " +
|
|
182
|
+
"financials, PSCs and directors. Prefer this over calling get_company, get_compliance, " +
|
|
183
|
+
"get_financials, get_psc and get_directors separately - it returns the same data for " +
|
|
184
|
+
"one API call and one credit instead of five, and in a single round trip. " +
|
|
185
|
+
"Pass include to fetch only the sections you need; omit it to get all five. " +
|
|
186
|
+
"The profile is always returned. " +
|
|
187
|
+
"Partial results are normal and are not errors: any section can come back null when it " +
|
|
188
|
+
"is unavailable for that company or not included in the caller's plan - financials are " +
|
|
189
|
+
"null for a company that has filed no machine-readable accounts, and compliance requires " +
|
|
190
|
+
"a Pro plan. Report a null section as 'not available', never as a failed lookup or as an " +
|
|
191
|
+
"absence of the underlying fact. Only a missing company is an error, and that is a 404. " +
|
|
192
|
+
"Each section carries exactly what its own endpoint returns, including ECCTA " +
|
|
193
|
+
"verification_status on individuals, so the pending-versus-overdue rules apply here too.",
|
|
194
|
+
inputSchema: z.object({
|
|
195
|
+
company_number: companyNumber,
|
|
196
|
+
include: z
|
|
197
|
+
.array(z.enum(BUNDLE_SECTIONS))
|
|
198
|
+
.min(1)
|
|
199
|
+
.optional()
|
|
200
|
+
.describe("Sections to fetch. Omit for all five. Valid values: " +
|
|
201
|
+
BUNDLE_SECTIONS.join(", ") +
|
|
202
|
+
". The profile is always included regardless."),
|
|
203
|
+
}),
|
|
204
|
+
}, async ({ company_number, include }) => run("get_bundle", `/company/${company_number}/bundle${include?.length ? `?include=${encodeURIComponent(include.join(","))}` : ""}`));
|
|
164
205
|
server.registerTool("get_psc_chain", {
|
|
165
206
|
title: "Resolve PSC ownership chain to find ultimate beneficial owners",
|
|
166
207
|
description: "Trace the full ownership chain for a UK company by recursively following corporate " +
|
|
167
208
|
"entity PSCs. Returns a tree showing who ultimately controls the company - natural persons " +
|
|
168
209
|
"(UBOs), foreign entities, or legal persons - along with why each branch terminated. " +
|
|
169
210
|
"Each node has a terminal_reason: natural_person, foreign_entity, legal_person, " +
|
|
170
|
-
"super_secure,
|
|
211
|
+
"super_secure, unverified_registry, unknown_kind, depth_limit, not_found, " +
|
|
212
|
+
"cycle_detected, or psc_exempt. Two of those are easy to misread: unverified_registry " +
|
|
213
|
+
"means a registration number was filed but cannot be tied to the Companies House " +
|
|
214
|
+
"register (a foreign registry, or one we do not recognise), which is a finding about " +
|
|
215
|
+
"the ownership structure and not an error or an outage; unknown_kind means Companies " +
|
|
216
|
+
"House returned a PSC type we do not classify, with the raw value in kind_raw. " +
|
|
217
|
+
"ECCTA identity verification: every individual node, at any depth including the " +
|
|
218
|
+
"ultimate beneficial owners this chain exists to find, carries verification_status " +
|
|
219
|
+
"(verified, pending, overdue or unknown), identity_verified (true, false for overdue " +
|
|
220
|
+
"only, or null otherwise), identity_verified_on, and verification_deadline. " +
|
|
221
|
+
"IMPORTANT: pending means that person's own deadline has not yet passed - it is not a " +
|
|
222
|
+
"compliance failure and must not be reported as one. A status of unknown means " +
|
|
223
|
+
"Companies House publishes no record for them, which is an absence of data rather " +
|
|
224
|
+
"than a breach. Only overdue means a deadline was missed. Corporate, legal-person and " +
|
|
225
|
+
"super-secure nodes carry none of these fields, so never describe a company itself as " +
|
|
226
|
+
"having unverified identity. " +
|
|
171
227
|
"chain_metadata reports how many companies were resolved and the total API credit cost. " +
|
|
172
228
|
"Use this for KYB (Know Your Business) checks, AML screening, or any task requiring " +
|
|
173
229
|
"beneficial ownership beyond the immediate PSC layer.",
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,CAAC,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAEzD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,IAAY,EACZ,MAAc,EACd,UAAkB,QAAQ;IAE1B,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CACb,mJAAmJ,CACpJ,CAAC;IACJ,CAAC;IACD,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,OAAO,GAAG,IAAI,EAAE,EAAE;QAC3C,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE;KAC3D,CAAC,CAAC;IACH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,aAAa,GAAG,CAAC,MAAM,KAAK,IAAI,EAAE,CAA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C,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;AACpD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@registrum/mcp",
|
|
3
3
|
"mcpName": "io.github.vdmeu/registrum-mcp",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.7",
|
|
5
5
|
"description": "MCP server for the Registrum Companies House API — search UK companies, get financials, directors, beneficial ownership (PSC), and director networks",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"mcp",
|
|
@@ -45,7 +45,10 @@
|
|
|
45
45
|
"start": "node dist/index.js",
|
|
46
46
|
"test": "vitest run",
|
|
47
47
|
"prepublishOnly": "npm run build && npm test",
|
|
48
|
-
"version": "node scripts/sync-server-json.mjs && git add server.json"
|
|
48
|
+
"version": "node scripts/sync-server-json.mjs && git add server.json",
|
|
49
|
+
"glama:check": "node scripts/glama/check.mjs",
|
|
50
|
+
"glama:login": "node scripts/glama/login.mjs",
|
|
51
|
+
"glama:sync": "node scripts/glama/sync.mjs"
|
|
49
52
|
},
|
|
50
53
|
"dependencies": {
|
|
51
54
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
@@ -55,6 +58,7 @@
|
|
|
55
58
|
"@modelcontextprotocol/client": "^2.0.0",
|
|
56
59
|
"@types/node": "^20",
|
|
57
60
|
"esbuild": "^0.28.1",
|
|
61
|
+
"playwright": "^1.62.1",
|
|
58
62
|
"typescript": "^5",
|
|
59
63
|
"vitest": "^3.2.7"
|
|
60
64
|
},
|