Fortnox logo

Fortnox

Connects AI clients to Fortnox for accounting records, transaction workflows, reports, and business analysis.

Install Fortnox

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "fortnox": {
      "command": "npx",
      "args": [
        "-y",
        "fortnox-mcp-server"
      ],
      "env": {
        "FORTNOX_CLIENT_ID": "YOUR_VALUE_HERE",
        "FORTNOX_CLIENT_SECRET": "YOUR_VALUE_HERE",
        "FORTNOX_REFRESH_TOKEN": "YOUR_VALUE_HERE",
        "AUTH_MODE": "YOUR_VALUE_HERE",
        "SERVER_URL": "YOUR_VALUE_HERE",
        "JWT_SECRET": "YOUR_VALUE_HERE",
        "UPSTASH_REDIS_REST_URL": "YOUR_VALUE_HERE",
        "UPSTASH_REDIS_REST_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env FORTNOX_CLIENT_ID=YOUR_VALUE_HERE --env FORTNOX_CLIENT_SECRET=YOUR_VALUE_HERE --env FORTNOX_REFRESH_TOKEN=YOUR_VALUE_HERE --env AUTH_MODE=YOUR_VALUE_HERE --env SERVER_URL=YOUR_VALUE_HERE --env JWT_SECRET=YOUR_VALUE_HERE --env UPSTASH_REDIS_REST_URL=YOUR_VALUE_HERE --env UPSTASH_REDIS_REST_TOKEN=YOUR_VALUE_HERE --transport stdio fortnox -- npx -y fortnox-mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y fortnox-mcp-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The fortnox MCP server connects AI clients to the Fortnox Swedish accounting API. It exposes tools for customers, invoices, suppliers, orders, accounts, vouchers, company data, reports, and business intelligence analysis. Use the hosted endpoint for browser-based authorization, or run it locally with Fortnox OAuth credentials and stdio or HTTP transport. Automatic rate limiting keeps requests within Fortnox's limit of 25 requests per five seconds.

Use cases

  • List and analyze unpaid customer invoices
  • Create and update Fortnox sales invoices
  • Approve supplier invoices and review payables
  • Record manual vouchers and inspect account activity
  • Compare financial periods and forecast cash flow

Key features

  • Customer and supplier record management
  • Sales and supplier invoice workflows
  • Orders, offers, accounts, and vouchers
  • Financial reports and business intelligence analysis
  • OAuth2 authentication with remote and local modes
  • Automatic Fortnox API rate limiting

Tools51

What Fortnox lets your agent do. Expand a tool for its parameters.

Verified live~19.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 84d

What it can do

From the 51 tools this server returned when we ran it; 51 declare their own safety hints.

Can delete or modify data · 4Makes network requests · 51Read-only tools · 47
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age272 days
Maintainers1

Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · fortnox-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars49Stargazers on the source repository.
npm downloads284Package downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed51Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Fortnox works

What fortnox MCP server does

The fortnox MCP server gives an MCP-compatible AI client access to Fortnox accounting data and operations. Its tools cover customer and supplier records, sales invoices, supplier invoices, orders, offers, chart-of-account entries, vouchers, company information, and financial years.

Invoice tools can list and filter invoices, retrieve line items, create and update drafts, bookkeep, cancel, credit, and send invoices by email. Supplier invoice tools include approval and accounts-payable aging. Voucher tools support manual journal entries, voucher searches, account activity, and voucher-series lookup.

The server also exposes reporting and analysis tools. These include invoice summaries, unpaid invoice reports, top-customer analysis, cash-flow forecasts, order-pipeline and sales-funnel analysis, product performance, period and yearly comparisons, customer growth, project profitability, cost-center and expense analysis, and gross-margin trends.

How it works

Two operating modes are documented. Remote mode uses the hosted MCP endpoint at https://fortnox-mcp.vercel.app/mcp; the user adds that URL to a compatible client and authorizes Fortnox in a browser. This option is intended for end users and does not require credentials to be entered in the client configuration.

Local mode runs the package through npx, from a global npm installation, or from a source checkout. The process authenticates with Fortnox using an application client ID, client secret, and OAuth2 refresh token. It can communicate over the default stdio transport or run as an HTTP server with an MCP endpoint such as http://localhost:3000/mcp.

Requests are rate-limited automatically because the Fortnox API allows 25 requests in a five-second period. This is relevant for workflows that enumerate records or run several analyses in sequence.

Setup and configuration

For remote use, add the hosted URL to Claude.ai integrations or the Claude Desktop configuration, then complete the browser authorization flow. For local use, create an application in the Fortnox Developer Portal and obtain its OAuth credentials before starting the server.

The local Claude Desktop configuration launches npx -y fortnox-mcp-server and passes FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, and FORTNOX_REFRESH_TOKEN. An access token can also be supplied, although the server refreshes tokens automatically. The refresh token is needed for initial setup and is persisted after first use.

HTTP mode is enabled with TRANSPORT=http; PORT defaults to 3000. Remote deployments additionally use AUTH_MODE=remote, a public SERVER_URL, and a JWT_SECRET. Upstash Redis variables can provide token storage; without them, the documentation says storage falls back to memory and is not recommended for production.

Tools and capabilities

The fortnox MCP server is suited to assistants that need to inspect or change accounting records through named MCP tools. Examples include finding unpaid invoices, creating an invoice with customer and line-item data, recording a manual voucher, reviewing payables, and comparing financial periods. Write operations include creating, updating, approving, bookkeeping, cancelling, crediting, paying-related approval workflows, and deleting supported records, so client users should apply appropriate authorization and review practices.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fortnox

fortnox is an MCP server that connects AI agents to the Fortnox Swedish accounting API. It provides tools for customers, invoices, suppliers, orders, accounts, vouchers, company data, reports, and business intelligence analysis, including creating, updating, searching, bookkeeping, and payment-related workflows.

Install it through `npx -y fortnox-mcp-server`, install the npm package globally, or build it from source. Local use requires Fortnox client credentials and an OAuth2 refresh token; Claude Desktop can launch the server through its MCP configuration.

Add `https://fortnox-mcp.vercel.app/mcp` to Claude.ai integrations or Claude Desktop, then authorize Fortnox in the browser. The remote setup is intended to avoid entering credentials in the client configuration.

It documents remote and local connections with Claude.ai and Claude Desktop, including a hosted MCP URL and a local stdio configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFortnox AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fortnox?style=directory)](https://allmcps.com/mcp/fortnox)
HTML Embed
<a href="https://allmcps.com/mcp/fortnox"><img src="https://allmcps.com/api/badge/fortnox?style=directory" alt="Fortnox on AllMCPs" /></a>