# MCP server for Norwegian company data

> Connect Claude, ChatGPT, Cursor, Windsurf or VS Code to Norwegian company data with one URL. Sign in with OAuth or use an API key.


The MCP server gives Claude, ChatGPT, Cursor and other MCP clients access to everything Firmasett has: company search, accounts, the managing director with e-mail and mobile, invoicing signals, e-mail validation and checking of your own lists. You ask in plain language. The assistant chooses the tool.

**URL:** `https://firmasett.no/mcp` (Streamable HTTP). Three ways to authenticate:

- **OAuth:** add the URL as a connector and sign in in the browser. This is how Claude.ai, ChatGPT and other connector-based clients do it.
- **Header:** `Authorization: Bearer fs_…` with your API key.
- **Key in the path:** `https://firmasett.no/mcp/fs_…` for clients that can do neither. Never share that URL.

**Local variant:** `mcp_server.py` (stdio, Python 3 only) for clients that want to run the server themselves.

Tool names and field names are Norwegian and are not translated. The table below explains each one.

## Works with

| Client | Setup |
|---|---|
| **Claude Code** | `claude mcp add --transport http firmasett https://firmasett.no/mcp --header "Authorization: Bearer fs_…"` (add `--scope user` for all projects) |
| **Claude.ai and Claude Desktop** | Settings → Connectors → Add custom connector → URL `https://firmasett.no/mcp`, then sign in in the browser. |
| **ChatGPT** | Add a custom connector in the connector settings (developer mode) with the URL `https://firmasett.no/mcp` and sign in. |
| **Cursor** | `.cursor/mcp.json`: `{"mcpServers": {"firmasett": {"url": "https://firmasett.no/mcp", "headers": {"Authorization": "Bearer fs_…"}}}}` |
| **Windsurf** | Cascade → MCP Servers → Add → HTTP, URL and `Authorization` header as above. |
| **VS Code (Copilot)** | `.vscode/mcp.json`: `{"servers": {"firmasett": {"type": "http", "url": "https://firmasett.no/mcp", "headers": {"Authorization": "Bearer fs_…"}}}}` |
| **Your own client** | POST JSON-RPC 2.0 to the URL. `initialize`, `tools/list`, `tools/call`, `ping`. Responses are `application/json`. No session required. |
| **Local (stdio)** | Download [mcp_server.py](https://firmasett.no/last-ned/mcp_server.py) and [mcp_felles.py](https://firmasett.no/last-ned/mcp_felles.py) into the same folder: `claude mcp add firmasett -e FIRMASETT_NOKKEL=fs_… -- python3 /path/mcp_server.py` |

## The tools

| Tool | Does | Costs |
|---|---|---|
| `sok_selskaper` (search companies) | Companies by free text and filters (industry, county, municipality, customer type, employees, revenue, year founded, estimated receivables, invoicing signals, accountant …) | 1 search hit per hit; `antall_kun=ja` (count only) is free |
| `berik_selskap` (enrich company) | Everything about one `orgnr` (organisation number), including the managing director with best e-mail and LinkedIn | 1 enrichment |
| `berik_selskaper` (enrich companies) | The same for up to 100 `orgnr` | 1 per company found |
| `sok_personer` (search people) | Managing directors by name and the same filters | 1 search hit per hit |
| `berik_person` (enrich person) | Best e-mail, LinkedIn and other companies for a managing director | 1 enrichment |
| `finn_mobil` (find mobile) | The managing director's mobile number with source and grade | 1 phone credit per number |
| `finn_epost` (find e-mail) | Address for a name on a domain (known address or the domain's pattern) | 1 enrichment |
| `valider_epost` (validate e-mail) | Up to 100 addresses: syntax, MX, role address, known in the dataset | 1 per address |
| `omvendt_epost` (reverse e-mail) | Who and which company an address or domain belongs to | 1 enrichment |
| `sjekk_liste` (check list) | Your contacts against ours: same, differs, missing | 1 per row with a match |
| `bransjer`, `konto`, `bruk` (industries, account, usage) | Industry codes with coverage, plan and quota, usage per day | Free |
| `onboarding`, `lagre_profil` (save profile) | First time: the server asks the agent to ask for full name, mobile, work e-mail, company, what you decide on and what you influence, and to store the answers | Free |

## First time: onboarding in the conversation

When a new key is connected, the server tells the agent in `initialize` that the profile is not complete. The agent then asks you six short questions, preferably one or two at a time: full name, mobile number, work e-mail, company, what you decide on, and what you influence decisions about. The answers are stored on the account (`lagre_profil`) and shown in the [console](/konsoll). You can skip a question with "-". The answers are used to adapt the service and to reach you about the account, and they count as contributions under § 6 of the [terms](/vilkar) (in Norwegian).

## How to use it

An example from Claude:

> **You:** Here are 40 customers from Tripletex (orgnr and the contact person's e-mail). Check them against Firmasett and tell me who has a new managing director or a wrong e-mail address.
>
> **Claude:** Ran `sjekk_liste` with 40 rows. 38 companies found. 6 have a contact person who is no longer the managing director, 4 have an e-mail address that differs from the one we have (grade A), 9 lack an e-mail address on your side where we have one. Do you want a table with suggested new addresses, or should I write a CSV?

More example questions:

- "Find 25 dental practices in Trøndelag with more than 5 employees, and show the managing director with e-mail."
- "Which accounting firms in Bergen mention a late-payment fee on their website?"
- "Enrich orgnr 923 609 016 and write a meeting brief."
- "Get the mobile number of the managing director of Jæren Regnskap. Using one phone credit is fine."
- "Validate these 30 e-mail addresses."

## Built for agents

- **Flat price.** An agent in a loop gives no surprise on the invoice.
- **Misses are free.** `status: "ikke_funnet"` costs nothing.
- **Count for free.** `antall_kun=ja` before large searches.
- **Quota in every response.** `meta` says what is left, so the agent does not have to ask.
- **One response shape.** All tools answer `status`, `resultat`, `meta`.
- **Instructions in the protocol.** The server sends usage rules in `initialize`, so the agent knows about phone credits and the Norwegian Marketing Control Act without you having to say it.

## Setup in three steps

<div class="nummerert" markdown="1">
<div markdown="1">**Get access.** Sign in with OAuth when you add the connector, let your agent create a free key with `POST https://firmasett.no/v1/registrer` (see [For AI agents](/en/ai-agents)), or get an `fs_` key for your e-mail address in the [console](/konsoll). No card.</div>
<div markdown="1">**Add the URL.** One command in Claude Code, or paste the URL into Claude.ai, ChatGPT or Cursor.</div>
<div markdown="1">**Ask.** The tools appear automatically. The first time, you can ask "what do you have on Lerøy Seafood?".</div>
</div>

## Teams

Each user gets their own key on the same plan by sending an e-mail to hei@firmasett.no. The quota is shared across the account (the domain), so the team does not compete for the window without knowing it.

---
Source: https://firmasett.no/en/mcp · Firmasett, Norwegian company data for people and AI agents. The whole service: https://firmasett.no/llms.txt
