Apier MCP server: Norwegian company verification and signing authority for AI agents

Apier gives AI agents machine-verifiable Norwegian company authority. For a 9-digit organisasjonsnummer it returns company verification (registration status, bankruptcy and liquidation flags, VAT registration, registered roles such as daglig leder and the board) and the company's signing authority, signaturrett and prokura, as Brønnøysundregistrene (Brreg) hold it in Enhetsregisteret and Fullmakttjenesten. Each answer carries its source and retrieval time, and you can ask for a signed receipt. It is used in KYB flows where an agent onboards, pays or contracts with a Norwegian company.
Apier runs a hosted MCP (Model Context Protocol) server at https://www.apier.no/api/mcp, listed as no.apier/mcp in the official MCP registry. This repository is @apier-no/mcp, the npm proxy that connects stdio-only MCP clients to that hosted server. No tool logic runs locally. The registry metadata for no.apier/mcp is maintained upstream, next to the hosted server, so this repository carries no registry manifest.
Try it in 30 seconds (no key)
The public sandbox answers for the test company 999999999 without a key or an account:
curl -s https://www.apier.no/api/v1/sandbox/public/company/999999999/authority
Response from 2026-11-25, trimmed (other fields omitted):
{
"success": true,
"data": {
"org_number": "999999999",
"name": "Apier Public Sandbox AS",
"entity_type": "AS",
"classification": "sole",
"summary": "Én rolle kan signere alene for selskapet.",
"combinations": [
{
"kombinasjons_id": "SANDBOX-KOMB-DAGL-ALENE",
"description": "Daglig leder signerer alene.",
"role_codes": ["DAGL"]
}
],
"signaturrett_holders": [{ "role": "DAGL", "name": "Ola Nordmann" }],
"prokura_holders": [],
"source": "brreg.fullmakt",
"rule_set": "no.brreg.signatur.v1"
},
"_meta": { "is_sandbox": true, "source": "apier.no" }
}
Sandbox data is fictional. The public sandbox allows 100 requests per hour per IP address. More fixture companies are available with a self-invented bearer; see Sandbox with a self-invented bearer.
How it fits together
flowchart LR
A["AI agent or your app"] --> B["Apier (MCP or REST)"]
B --> C["Brreg register data with coded signing rules, plus a signed receipt"]
C --> D["Offline check against Apier's public JWKS"]
Production receipts are detached JWS signatures that verify against https://www.apier.no/.well-known/jwks.json. The guide is at https://www.apier.no/docs/guides/verify-certificate.
Tools
The hosted server publishes its tool list, with each tool's full description and required_scope, at the keyless discovery endpoint GET https://www.apier.no/api/mcp and through tools/list. The live tool list at https://www.apier.no/api/mcp is authoritative; new tools may appear before this README is updated. On 2026-12-01 tools/list returned the 24 tools below.
The first three groups follow the product areas on apier.no. What each tool costs is returned by get_pricing and shown on the pricing page.
Verify
| Tool |
Scope |
What it returns |
search_companies |
read:brreg |
Up to 10 candidates for a company name, each with its organisasjonsnummer. Call it first when you have a name and no number. |
get_company_verification |
read:brreg |
A status for one company from its registration status and visible signing authority (pass, fail or unknown). With mode checks it returns every check with its own status and source. |
Authority
| Tool |
Scope |
What it returns |
get_company_authority |
read:brreg |
The register's coded signing rules for the company, signaturrett and prokura, uninterpreted. |
Proof
| Tool |
Scope |
What it returns |
get_company_evidence_pack |
read:brreg |
One signed JSON record of what Apier observed about the company: the check bundle, archived changes, your receipts and anchor proofs. A record, not a verdict. |
check_receipt |
read:receipts (keyless) |
Seven separate findings for an Apier receipt: signature, signing key, environment, log inclusion, anchor, format version and recorded result. There is no overall verdict. |
More tools
| Tool |
Scope |
What it returns |
get_company_summary |
read:brreg |
Summary of one company's obligations and deadlines. |
get_company_profile |
read:brreg |
Company profile from Enhetsregisteret: name, organisational form, NACE codes, addresses, status, role codes. |
get_company_context |
read:brreg |
Identity fields for one company from Enhetsregisteret. |
get_company_obligations |
read:brreg |
Apier Rulebook evaluation for one company, one entry per rule. |
get_company_deadlines |
read:brreg |
Filing calendar for one company, a number of months ahead. |
get_company_accounts |
read:brreg |
Annual accounts (årsregnskap) status and key figures from the open tier of Regnskapsregisteret. |
get_company_history |
read:brreg |
What Apier's archive observed for a company on a past date, or what changed between two dates. The archive starts on 2026-07-30. |
list_changes |
read:changes |
Change events Apier detected in the sources it polls, cursor-paginated. |
get_public_obligations |
read:rulebook (keyless) |
Generic obligations for a Norwegian entity type. |
get_public_deadlines |
read:rulebook (keyless) |
Norwegian business filing deadlines for a year. |
explain_compliance_error |
read:rulebook (keyless) |
Explanation of an Apier error_code: summary, cause and fix steps. |
get_exchange_rate |
read:norgesbank (keyless) |
Norges Bank reference rate for a currency against NOK. |
get_altinn_migration_guidance |
read:digdir (keyless) |
Altinn 3 equivalent of an Altinn 2 service or role code. |
get_pricing |
read:pricing (keyless) |
What each metered endpoint and tool costs. |
get_credit_balance |
read:credits |
The calling key's prepaid credit balance. |
redeem_issuance_token |
read:onboarding (keyless) |
Exchanges a one-time token minted by the account owner for the agent's own API key. |
search |
read:brreg |
The search tool that OpenAI's connector specification names. Same data as search_companies. |
fetch |
read:brreg |
The fetch tool that OpenAI's connector specification names. Returns the check bundle for a search result. |
list_sandbox_scenarios |
read:brreg |
The sandbox scenarios for the mandate check (POST /v1/mandate/verify), each with the result the endpoint returns for it. |
Tools marked keyless can be called without an API key. redeem_issuance_token needs no key either, but it takes the one-time issuance token as an argument. All other tool calls need a key with the listed scope, or a sandbox bearer where the tool has a sandbox mirror (see Sandbox with a self-invented bearer).
One more tool, submit_vat_return, is hidden: tools/list does not return it. It is a sandbox-only simulation and sends nothing to the government.
Connect
Hosted endpoint (Streamable HTTP)
Clients that speak remote MCP connect directly, with no install. The URL alone is a working config:
{
"mcpServers": {
"apier": { "url": "https://www.apier.no/api/mcp" }
}
}
Discovery is keyless: initialize and tools/list work without credentials, and so do the keyless tools. Every other tool call needs an Apier API key (the sandbox bearer described below works for the tools that have a sandbox mirror). The hosted endpoint takes it as an Authorization: Bearer header; the npx proxy below reads it from APIER_API_KEY and sends the same header. https://www.apier.no/docs/authentication explains how to get a key.
With a key (some clients, Claude Code among them, also want the "type": "http" line):
{
"mcpServers": {
"apier": {
"type": "http",
"url": "https://www.apier.no/api/mcp",
"headers": { "Authorization": "Bearer apr_free_<your_key_here>" }
}
}
}
Claude Code:
claude mcp add --scope user --transport http apier https://www.apier.no/api/mcp \
--header "Authorization: Bearer apr_free_<your_key_here>"
npx stdio proxy (@apier-no/mcp)
For stdio-only clients, this package wraps mcp-remote. It reads APIER_API_KEY from your environment, removes it from the spawned child's environment, redacts it from stderr, and hands the bearer value over out-of-band so it never appears on the child's command line. Starting the proxy requires APIER_API_KEY.
Claude Desktop / Cursor (claude_desktop_config.json / ~/.cursor/mcp.json):
{
"mcpServers": {
"apier": {
"command": "npx",
"args": ["-y", "@apier-no/mcp"],
"env": { "APIER_API_KEY": "apr_<tier>_<your_key_here>" }
}
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"apier": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@apier-no/mcp"],
"env": { "APIER_API_KEY": "apr_<tier>_<your_key_here>" }
}
}
}
Zed (settings.json):
{
"context_servers": {
"apier": {
"source": "custom",
"command": "npx",
"args": ["-y", "@apier-no/mcp"],
"env": { "APIER_API_KEY": "apr_<tier>_<your_key_here>" }
}
}
}
Config files for each client are in examples/.
Configuration
| Variable |
Required |
Default |
APIER_API_KEY |
yes |
none |
--endpoint <url> |
no |
https://www.apier.no/api/mcp |
MCP_REMOTE_CONFIG_DIR |
no |
~/.mcp-auth |
Sandbox with a self-invented bearer
The proxy forwards whatever bearer you give it and never inspects the key's shape. Without a real key there are two sandbox paths beyond the public one above. Both are served from synthetic fixtures and never from a government register.
- Direct HTTP to the sandbox mirror under
/api/v1/sandbox/ on apier.no. It expects a self-invented bearer, apier_sandbox_test_<suffix> (any suffix of 1–64 characters from A-Za-z0-9_-). The server recognises the prefix and answers with fixtures. There is no signup and no key store behind it.
- The same sandbox bearer on the hosted MCP endpoint. Send
Authorization: Bearer apier_sandbox_test_<suffix> and the fixture-backed company tools are routed to the sandbox mirror, with _meta.is_sandbox: true on every result. Because this proxy forwards the bearer unchanged, setting APIER_API_KEY to such a value lets a stdio client rehearse those tools against fixtures.
Under a sandbox bearer the hosted endpoint routes these tools to fixtures: get_company_summary, get_company_context, get_company_obligations, get_company_deadlines, get_company_verification, get_company_authority, get_company_accounts, get_company_evidence_pack, get_company_history, explain_compliance_error and list_sandbox_scenarios. Six keyed tools have no sandbox mirror and answer SANDBOX_TOOL_UNAVAILABLE: get_company_profile, search_companies, search, fetch, list_changes and get_credit_balance. The other keyless tools run their normal keyless path, except redeem_issuance_token, which also answers SANDBOX_TOOL_UNAVAILABLE.
List the sandbox test data (no auth):
curl -sL https://apier.no/api/v1/sandbox/fixtures
Verify the bankrupt fixture company with a self-invented bearer. Here bash's $RANDOM supplies the suffix. This call goes to the www host directly, because the redirect from apier.no to www.apier.no makes curl drop the Authorization header.
curl -s -H "Authorization: Bearer apier_sandbox_test_$RANDOM" https://www.apier.no/api/v1/sandbox/company/999660010/verify
Trimmed response (… marks omitted fields):
{"success":true,"data":{"org_number":"999660010","name":"Sandbox Konkurs AS",
"verification_status":"fail",
"signals":{"is_active":false,"not_bankrupt":false, …},
"summary":"Selskapet er ikke aktivt registrert i Enhetsregisteret.", …}}
A real API key is apr_<tier>_… and comes from signup via https://www.apier.no/docs/authentication. The apier_sandbox_test_ bearer is self-generated and needs no signup.
When not to use Apier