# Firmafakta

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: firmafakta
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/firmafakta/firmafakta-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/firmafakta

## What it 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.

## Requirements
- Remote server: `https://mcp.firmafakta.se`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http firmafakta https://mcp.firmafakta.se
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add firmafakta --url https://mcp.firmafakta.se
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "firmafakta": {
            "url": "https://mcp.firmafakta.se"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "firmafakta": {
            "type": "http",
            "url": "https://mcp.firmafakta.se"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http firmafakta https://mcp.firmafakta.se
```

## When to use it
- 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
- List the accounting firms in Gothenburg municipality.
- Same segment, but keep only firms registered in the last five years.

## Similar
- [brreg](https://affpapa.org/en/nevibecode/skills/brreg.md) — skill · 1400 installs
- [Skolverket MCP](https://affpapa.org/en/nevibecode/mcp/skolverket-mcp.md) — MCP server · ★ 13
- [Kolada MCP Server](https://affpapa.org/en/nevibecode/mcp/kolada-mcp-server.md) — MCP server · ★ 12
- [nordic-registry-mcp-server](https://affpapa.org/en/nevibecode/mcp/nordic-registry-mcp-server.md) — MCP server · ★ 14

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
