# Fortnox

> Fortnox is an open-source MCP server. MCP server for Fortnox Swedish accounting API integration. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/jakobwennberg/fortnox-mcp
- **MCP Registry name:** io.github.jakobwennberg/fortnox
- **Listing updated:** 2026-11-13

## About

MCP server for Fortnox Swedish accounting API integration

## Install

### Claude Code (Terminal)

```sh
claude mcp add fortnox --env FORTNOX_CLIENT_ID='<FORTNOX_CLIENT_ID>' --env FORTNOX_CLIENT_SECRET='<FORTNOX_CLIENT_SECRET>' --env FORTNOX_REFRESH_TOKEN='<FORTNOX_REFRESH_TOKEN>' -- npx -y fortnox-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "<FORTNOX_CLIENT_ID>",
        "FORTNOX_CLIENT_SECRET": "<FORTNOX_CLIENT_SECRET>",
        "FORTNOX_REFRESH_TOKEN": "<FORTNOX_REFRESH_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "<FORTNOX_CLIENT_ID>",
        "FORTNOX_CLIENT_SECRET": "<FORTNOX_CLIENT_SECRET>",
        "FORTNOX_REFRESH_TOKEN": "<FORTNOX_REFRESH_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "fortnox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "<FORTNOX_CLIENT_ID>",
        "FORTNOX_CLIENT_SECRET": "<FORTNOX_CLIENT_SECRET>",
        "FORTNOX_REFRESH_TOKEN": "<FORTNOX_REFRESH_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "<FORTNOX_CLIENT_ID>",
        "FORTNOX_CLIENT_SECRET": "<FORTNOX_CLIENT_SECRET>",
        "FORTNOX_REFRESH_TOKEN": "<FORTNOX_REFRESH_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "<FORTNOX_CLIENT_ID>",
        "FORTNOX_CLIENT_SECRET": "<FORTNOX_CLIENT_SECRET>",
        "FORTNOX_REFRESH_TOKEN": "<FORTNOX_REFRESH_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Fortnox free?

Yes. Fortnox is open source, so you can use and self-host it for free.

### How do I add Fortnox to Claude Code?

Run this command in your terminal: claude mcp add fortnox --env FORTNOX_CLIENT_ID='<FORTNOX_CLIENT_ID>' --env FORTNOX_CLIENT_SECRET='<FORTNOX_CLIENT_SECRET>' --env FORTNOX_REFRESH_TOKEN='<FORTNOX_REFRESH_TOKEN>' -- npx -y fortnox-mcp-server

---
Source: https://ai-powered.com/mcp/fortnox
