Firmasett is built to be used by agents, not only by people. Everything an agent needs is on https://firmasett.no/llms.txt (in English): how to connect, which tools exist, what costs money, and which rules apply in Norway. The Norwegian version is at https://firmasett.no/llms-no.txt.
Before you start: the key
Every call needs a key that starts with fs_. The same key is used everywhere: MCP, CLI and REST. There are two ways to get one.
The agent creates it. No auth header is needed:
curl -s -X POST https://firmasett.no/v1/registrer -H "Content-Type: application/json" \
-d '{"epost": "USER_EMAIL", "navn": "OPTIONAL_NAME_OR_COMPANY"}'
The response is the usual envelope, and the key is in resultat.nokkel. Rules for the agent:
- Use the e-mail address of the person you work for, never an invented or shared address.
- Tell that person that a Firmasett account was created in their name.
- There is one account per e-mail address. If the address already has an account, you get an error telling the user to sign in at
https://firmasett.no/konsolland copy the key from there.
The person creates it. Go to the console (in Norwegian), enter your e-mail address and copy the key.
The free plan gives 1 000 enrichments and 100 search hits without a card.
Setup prompt
Paste this into Claude, ChatGPT, Cursor or your own agent:
Read https://firmasett.no/llms.txt and follow the getting-started section. My e-mail address is <your e-mail>;
create a free key for me with it (or use my existing key: fs_…).
Set up the connection that suits you (MCP over HTTP if you can), tell me briefly what I have to do by hand, if anything,
and confirm that it works by calling konto. Ask me before you spend phone credits.
The agent then reads the rules, chooses MCP or REST, and answers with plan and quota from konto (account). The first time, it also asks you six short questions (name, mobile, work e-mail, company, what you decide on, what you influence) and stores the answers on the account.
Connections an agent can choose
MCP over HTTP (recommended for chat clients)
URL https://firmasett.no/mcp. The endpoint supports OAuth, so Claude.ai, ChatGPT and other clients can add it as a connector with only the URL and sign in in the browser. Clients that send headers can use Authorization: Bearer fs_… instead. Clients that can do neither use https://firmasett.no/mcp/fs_… (the key in the URL; never share that URL).
claude mcp add --transport http firmasett https://firmasett.no/mcp --header "Authorization: Bearer fs_…"
Setup for Claude.ai, Claude Desktop, ChatGPT, Cursor, Windsurf and VS Code is on the MCP page.
CLI (recommended for coding agents and files)
Claude Code, Codex and similar agents should use the CLI when a file is involved. The rows then stay out of the conversation, the job can be resumed, and the agent gets a skill that tells it how to do the work:
export FIRMASETT_NOKKEL=fs_…
firmasett konto
firmasett skill install
firmasett sjekk kunder.csv --torrkjoring
--torrkjoring means dry run.
REST (for your own agents)
curl -s "https://firmasett.no/v1/selskaper/sok?bransje=69.2&fylke=Rogaland&har_dl_epost=ja&antall=5" \
-H "Authorization: Bearer fs_…"
This searches companies (selskaper/sok) in industry code (bransje, NACE) 69.2 in the county (fylke) Rogaland where the managing director has an e-mail address (har_dl_epost=ja), five hits (antall). Response:
{"status": "ok",
"resultat": {"total": 212, "side": 1, "antall": 5, "treff": [{"orgnr": "9xxxxxxxx", "navn": "…", "daglig_leder": "…", "har_dl_epost": true, "har_dl_mobil": true, "…": "…"}]},
"meta": {"plan": "gratis", "vindu": "totalt", "berikelser": {"grense": 1000, "brukt": 0, "igjen": 1000}, "sok": {"grense": 100, "brukt": 5, "igjen": 95}, "telefonpoeng": 0, "belastet": {"sok": 5}}}
treff are the hits, grense / brukt / igjen are limit / used / left, and belastet is what this call was charged. The OpenAPI description can be pasted straight into an agent that builds its own tools.
Rules the agent should follow
- Read
status, not the HTTP code.ikke_funnet(not found) is HTTP 200 and free.feil(error) has akode(ugyldig_nokkel= invalid key,kvote_brukt= quota used,ingen_telefonpoeng= no phone credits,ugyldig_foresporsel= invalid request) and a message in Norwegian. - Count before you fetch.
antall_kun=jaon a search is free and returns the total. metasays what is left. The agent does not need to callkontobetween calls.- Mobile numbers cost money. Ask the user before fetching more than a few.
- Show source and grade. Every e-mail address, number and LinkedIn profile comes with
kilde(source) andgrad(grade) A–E. Tell the user how reliable the value is. - Norwegian law. Calling a managing director at work: allowed. E-mail to a work address about something that concerns the business: allowed. SMS to the mobile of a natural person: requires consent (the Norwegian Marketing Control Act, markedsføringsloven, § 15). Do not use the data to contact people privately. Read compliance.
- 429 has Retry-After. Wait that number of seconds; do not retry immediately.
Why it is built this way
A flat price means an agent stuck in a loop does not produce a surprising invoice. Free misses mean the agent can try things. Quota in every response means it can plan. One response shape means it needs fewer examples to get it right. And the skill library means it does not have to invent the procedure itself.
Next
- The skill library (in Norwegian): ready-made procedures for prospecting, CRM cleaning and meeting preparation.
- Our data: what the fields mean and where they come from.
- Integrations: n8n, Zapier, Make, LangChain and the OpenAI Agents SDK.