Firmafakta — Claude Code MCP server: Swedish company data
A remote MCP server that lets your assistant count and list Swedish companies by industry, place and size, and pull everything on a single firm.
claude mcp add --transport http firmafakta https://mcp.firmafakta.seWhat Firmafakta does
The server sits on top of Swedish registers — SCB, Bolagsverket, PRV. Ask for a segment and the assistant returns a count or a paged list; hand it an organisation number and it returns the full record for that company. Segments are built from industry, place and size.
Seven tools ship with it. firmafakta_describe explains the segment language, the fields and what each plan costs, firmafakta_find_codes resolves SNI codes, municipalities and counties from free text, firmafakta_count returns a number and reads it back in words, firmafakta_fetch pages through companies or workplaces, firmafakta_lookup gathers one company's details. The remaining two, firmafakta_save and firmafakta_load, handle saved segments.
A Firmafakta account is required, and the free plan covers a trial. Sign in with OAuth when your client prompts for it, or create an API key under My account on firmafakta.se and send it on each request as Authorization: Bearer <key>. Counting and fetching draw on credits, the same ones used on the website. Sole proprietorships get counted but never listed, so a “show me all of them” request will not match the number you were given.
What it helps with
- count construction firms in Halland by employee band
- export a list of accounting firms for one municipality
- narrow a segment to companies registered recently
- resolve SNI codes and municipality names from text
- pull the full record for one organisation number
Example prompts for the agent
- List the accounting firms in Gothenburg municipality.
- Same segment, but keep only firms registered in the last five years.
How to install Firmafakta
Platform CLI: remote server
claude mcp add --transport http firmafakta https://mcp.firmafakta.sePlatform CLI: remote server
codex mcp add firmafakta --url https://mcp.firmafakta.seConfig file
{
"mcpServers": {
"firmafakta": {
"url": "https://mcp.firmafakta.se"
}
}
}Config file
{
"servers": {
"firmafakta": {
"type": "http",
"url": "https://mcp.firmafakta.se"
}
}
}Platform CLI: remote server
gemini mcp add -t http firmafakta https://mcp.firmafakta.seStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Firmafakta
How do I install Firmafakta in Claude Code?
Run claude mcp add --transport http firmafakta https://mcp.firmafakta.se, then approve the OAuth sign-in when your client asks for it.
What does Firmafakta do?
It gives the assistant counts and lists of Swedish companies by industry, place and size, plus full details for one company looked up by organisation number.
Do I need an API key?
Only if your agent cannot do OAuth. Create a key under My account on firmafakta.se and send it as Authorization: Bearer <key> on every request.