mcpField
M
mcp-legal-entity-resolver

mcp-legal-entity-resolver

Local
github.com/mambalabsdevBusiness & Marketing0Updated 1w ago

About mcp-legal-entity-resolver

An MCP server that resolves a company domain to a registered legal entity and returns identifiers such as its legal name, company number, LEI, and VAT number. It is for teams checking corporate identity for Clay or CRM records, with strict matching intended to avoid accepting uncertain matches.

Key features

  1. 01Resolve a domain to a legal entity
  2. 02Return registration and jurisdiction details
  3. 03Retrieve LEI and VAT number when available
  4. 04Support exact or fuzzy name matching
  5. 05Validate found VAT numbers through EU VIES

Use cases

  1. 01Identify the registered entity behind a company domain
  2. 02Enrich Clay or CRM company records
  3. 03Cross-check a company's VAT number

MCP support

Exposes the `resolve_legal_entity` tool to MCP clients. It forwards lookup inputs to an Apify actor and returns the actor's result.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-mambabuilt-mcp-legal-entity-resolver": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-legal-entity-resolver"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Run commandnpx -y @mambalabsdev/mcp-legal-entity-resolver
Environment variables to set
APIFY_TOKENSecretApify API token from https://console.apify.com/account/integrations

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mambalabsdev/mcp-legal-entity-resolver1.4.0

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
domainstringYesA single company domain, for example monzo.com. Protocol and path are stripped.
skipCacheenumNofalse uses the cache: 90 days for a resolved company, 7 days for a null. true forces a fresh look. Default: "false".false | true
validate_vatbooleanNoRuns any VAT number found on the company's own pages through the EU VIES service and returns the name VIES holds for it, as a cross-check against the register name. Default: true.
legal_name_hintstringNoSkips the domain lookup and goes straight to the registers with this name. Use it when you already have the legal name and just want the register record.
match_strictnessenumNoexact accepts a register record only when the normalized legal names are equal, which is the default and the recommendation. fuzzy returns the best scoring candidate with a confidence below 100 and a warning in rejected_candidates. Register search is fuzzy and always returns something, so fuzzy mode will hand you a confidently wrong company on most domains. Default: "exact".exact | fuzzy
jurisdiction_hintstringNoISO-2 country code. GB or UK asks Companies House and GLEIF and returns a Companies House number. US asks GLEIF and SEC EDGAR. FR asks the French Sirene register and returns a SIREN. NO asks the Norwegian Brreg register and returns an organisasjonsnummer. Any other code asks GLEIF alone rather than guessing at a register with no adapter. Leave empty to query all five. Narrowing cuts latency, and registers_queried on the row records which were actually asked, so a null is never ambiguous.

Details

From the project README

Legal Entity Resolver MCP Server

Smithery Glama score MCP Registry npm version npm downloads license mcpservers.org

Legal Entity Resolver MCP server

MCP server for the Mamba Labs Legal Entity Resolver actor on Apify.

Give it a company domain and it returns the registered legal entity behind it: legal name, company number, jurisdiction, status, LEI and VAT number. One flat row per domain, 24 fields, ready for Clay or a CRM.

Install

npx -y @mambalabsdev/mcp-legal-entity-resolver
Claude Desktop
{
  "mcpServers": {
    "mamba-legal-entity-resolver": {
      "command": "npx",
      "args": ["-y", "@mambalabsdev/mcp-legal-entity-resolver"],
      "env": { "APIFY_TOKEN": "your-apify-token" }
    }
  }
}

Get an Apify token at console.apify.com/account/integrations.

Tool

resolve_legal_entity

Company domain in, the registered legal entity behind it out.

InputTypeRequiredNotes
sec_requester_namestringyesYour own name or your company's name, sent to the SEC.
sec_requester_emailstringyesYour own working email, sent to the SEC with your name.
domainstringyesA single company domain, for example monzo.com. Protocol and path are stripped.
legal_name_hintstringnoSkips the domain lookup and goes straight to the registers with this name. Use it when you already have the legal name and just want the register record.
jurisdiction_hintstringnoISO-2 country code. GB/UK asks Companies House, US asks SEC EDGAR, FR asks the French Sirene register (SIREN), NO asks the Norwegian Brreg register (organisasjonsnummer). Each asks GLEIF alongside. Any other code asks GLEIF alone. Leave empty to query all five.
match_strictnessenumnoexact accepts a register record only when the normalized legal names are equal. fuzzy returns the best scoring candidate with a confidence below 100 and a warning in rejected_candidates. Default exact.
validate_vatbooleannoRuns any VAT number found on the company's own pages through the EU VIES service and returns the name VIES holds for it, as a cross-check against the register name. Default true.
skipCacheenumnofalse uses the cache, 90 days for a resolved company and 7 days for a null. true forces a fresh look. Default false.
max_charge_usdnumbernoOptional spending cap for this call, in USD. The actor stops before any charge that would take the run past this amount and keeps every row already charged.

A null is the product, not a gap

Register search endpoints are fuzzy and they always return something. Taking the top search result gives you a confidently wrong company number more often than not. This actor accepts a match only when the legal names are identical after normalization, which is why roughly 6 domains in 10 resolve instead of 10 in 10, and why the 6 are worth acting on.

Read match_method, match_confidence and rejected_candidates before acting on a match. fuzzy strictness is a research mode: it will hand you a confidently wrong company on most domains.

Three registers are queried: UK Companies House, GLEIF and SEC EDGAR.

Why the SEC fields are required. The SEC requires every automated request to EDGAR to identify the requester by name and email, as a User-Agent of the form Name [email protected] (SEC: Accessing EDGAR data). The actor sends your sec_requester_name and sec_requester_email and never a default or shared identity. A call without both fails before any request, naming the two fields.

Billing

You are charged per domain resolved, plus the platform's actor start event. Prices from the live pricing record, read 2026-10-05:

EventPrice per event (USD)Fires when
domain-resolved$0.007 on the Free plan, down to $0.00595 on higher Apify plansOne domain looked up: the company's own pages fetched and read for a legal name, then up to three company registers queried for an exact match. Charged whether or not a register matches, because the work is the same either way and charging only for matches would push this Actor toward guessing. Not charged when the domain cannot be reached at all.
apify-actor-start$0.00005Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).

Cached results are 90 days for a resolved company and 7 days for a null. The actor's Apify page carries the current prices. Running this server consumes Apify credits.

What this server does and does not do

It is a thin client for the Apify actor. It passes your input through and returns the actor's output unchanged. Every behavior described above lives in the actor, not here.

This is not a company database and not a credit or risk product. It does not score companies, rate them, or tell you whether to trade with them. It answers one question: which registered legal entity sits behind this domain.

Errors are surfaced, never swallowed. An invalid input, an invalid token, an exhausted balance, a timeout, or a run that returns anything other than a dataset all come back as an explicit tool error rather than as an empty result.

How each call runs

Each call starts the actor run, polls it until it finishes, then reads the dataset. The run is allowed 1,800 seconds. If the run is still going when this call stops waiting, the call returns the run id and a console link instead of a timeout, so the result is never lost.

Source

The actor is on the Apify Store. This wrapper is MIT licensed.

Built by Mamba Labs

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.