Skip to main content
Glama
fiken-mcp

fiken-mcp

by gronnmann

fiken-mcp: Model Context Protocol Server for Fiken Accounting API

License: MIT npm version

A Model Context Protocol (MCP) server that connects AI assistants like Claude and Cursor to the Fiken accounting API. Manage invoices, contacts, purchases, journal entries, and more — directly from your AI assistant.

All mutating operations (POST, PUT, PATCH, DELETE) require explicit user approval before executing.

NOTE: This is an unofficial library and is not affiliated with or endorsed by Fiken AS. Use at own risk.

NOTE: Built using Claude Code. Use at own risk.


Features

  • Invoices & Credit Notes: Create, send, and manage invoices and credit notes with full draft support

  • Contacts: Full CRUD for customers and suppliers, including contact persons

  • Purchases & Sales: Record and manage purchases and sales transactions

  • Payments: List, register, and delete payments on existing sales and purchases; pay an invoice via fiken_create_invoice_payment

  • Offers & Order Confirmations: Create and send offers, convert to invoices

  • Accounting: Bookkeeping accounts, bank accounts, journal entries, transactions

  • Reports: Product sales reports, account balances

  • Time Tracking: Projects, time entries, activities, team members


Related MCP server: fortnox-mcp-server

Configuration

Add the server to your AI client config. No installation needed — npx/pnpx will fetch it automatically.

Getting Your Credentials

  • API Token: fiken.no → Profile → API → Personal tokens

  • Company Slug: Found in your Fiken URL: fiken.no/company/YOUR-SLUG/...


Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
    "mcpServers": {
        "fiken": {
            "command": "npx",
            "args": ["-y", "fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Or with pnpm:

{
    "mcpServers": {
        "fiken": {
            "command": "pnpx",
            "args": ["fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Claude Code

Add to ~/.claude.json under mcpServers:

{
    "mcpServers": {
        "fiken": {
            "command": "npx",
            "args": ["-y", "fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Cursor

Add to ~/.cursor/mcp.json:

{
    "mcpServers": {
        "fiken": {
            "command": "npx",
            "args": ["-y", "fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Available Tools

Category

Tools

User

fiken_get_user

Companies

fiken_list_companies, fiken_get_company

Accounts

fiken_list_accounts, fiken_get_account, fiken_list_account_balances, fiken_get_account_balance

Bank

fiken_list_bank_accounts, fiken_create_bank_account, fiken_get_bank_account, fiken_list_bank_balances

Contacts

fiken_list_contacts, fiken_create_contact, fiken_get_contact, fiken_update_contact, fiken_delete_contact, fiken_list_contact_persons, fiken_create_contact_person, fiken_get_contact_person, fiken_update_contact_person, fiken_delete_contact_person, fiken_list_groups

Invoices

fiken_list_invoices, fiken_create_invoice, fiken_get_invoice, fiken_update_invoice, fiken_get_invoice_attachments, fiken_send_invoice, fiken_get_invoice_counter, fiken_create_invoice_counter, fiken_list_invoice_drafts, fiken_create_invoice_draft, fiken_get_invoice_draft, fiken_update_invoice_draft, fiken_delete_invoice_draft, fiken_get_invoice_draft_attachments, fiken_create_invoice_from_draft

Credit Notes

fiken_list_credit_notes, fiken_get_credit_note, fiken_create_full_credit_note, fiken_create_partial_credit_note, fiken_send_credit_note, fiken_get_credit_note_counter, fiken_create_credit_note_counter, fiken_list_credit_note_drafts, fiken_create_credit_note_draft, fiken_get_credit_note_draft, fiken_update_credit_note_draft, fiken_delete_credit_note_draft, fiken_get_credit_note_draft_attachments, fiken_create_credit_note_from_draft

Offers

fiken_list_offers, fiken_get_offer, fiken_get_offer_counter, fiken_create_offer_counter, fiken_list_offer_drafts, fiken_create_offer_draft, fiken_get_offer_draft, fiken_update_offer_draft, fiken_delete_offer_draft, fiken_get_offer_draft_attachments, fiken_create_offer_from_draft, fiken_send_offer

Order Confirmations

fiken_list_order_confirmations, fiken_get_order_confirmation, fiken_get_order_confirmation_counter, fiken_create_order_confirmation_counter, fiken_create_invoice_draft_from_order_confirmation

Purchases

fiken_list_purchases, fiken_create_purchase, fiken_get_purchase, fiken_delete_purchase, fiken_get_purchase_attachments, fiken_add_purchase_attachment, fiken_list_purchase_drafts, fiken_create_purchase_draft, fiken_get_purchase_draft, fiken_update_purchase_draft, fiken_delete_purchase_draft, fiken_get_purchase_draft_attachments, fiken_create_purchase_from_draft

Sales

fiken_list_sales, fiken_create_sale, fiken_get_sale, fiken_delete_sale, fiken_get_sale_attachments, fiken_list_sale_drafts, fiken_create_sale_draft, fiken_get_sale_draft, fiken_update_sale_draft, fiken_delete_sale_draft, fiken_get_sale_draft_attachments, fiken_create_sale_from_draft

Journal Entries

fiken_list_journal_entries, fiken_get_journal_entry, fiken_get_journal_entry_attachments, fiken_create_journal_entry

Transactions

fiken_list_transactions, fiken_get_transaction, fiken_delete_transaction

Misc

fiken_create_product_sales_report, fiken_list_projects, fiken_list_time_entries, fiken_list_activities, fiken_list_time_users, fiken_list_inbox

Note: Amounts are in NOK øre (1/100 of a krone). Dates use YYYY-MM-DD format.


Local Development

git clone https://github.com/gronnmann/fiken-mcp.git
cd fiken-mcp
pnpm install       # Install dependencies
pnpm build         # Compile TypeScript → build/
pnpm dev           # Run with tsx (no build needed)

License

MIT

Available Tools

106 tools
fiken_add_purchase_attachmentD

Creates and adds a new attachment to a purchase

Inputs: no named parameters.

fiken_create_bank_accountC

Creates a new bank account for the company

Inputs: name (required), bic, iban, type, +3 more.

fiken_create_contactC

Creates a new contact (customer/supplier)

Inputs: name (required), email, groups, address, +9 more.

fiken_create_contact_personC

Adds a contact person to a contact

Inputs: contactId (required), name, email, address, +1 more.

fiken_create_credit_note_counterC

Creates the first credit note number counter

Inputs: value.

fiken_create_credit_note_draftC

Creates a new credit note draft

Inputs: type (required), customerId (required), daysUntilDueDate (required), bic, +14 more.

fiken_create_credit_note_from_draftC

Creates a finalized credit note from a draft

Inputs: draftId (required).

fiken_create_full_credit_noteA

Creates a credit note covering the full amount of an invoice

Inputs: invoiceId (required), issueDate (required), creditNoteText.

fiken_create_invoiceB

Creates a new invoice. Amounts are in NOK øre (cents).

Inputs: cash (required), lines (required), dueDate (required), issueDate (required), +12 more.

fiken_create_invoice_counterC

Creates the first invoice number counter

Inputs: value.

fiken_create_invoice_draftC

Creates a new invoice draft

Inputs: type (required), customerId (required), daysUntilDueDate (required), bic, +14 more.

fiken_create_invoice_draft_from_order_confirmationC

Creates an invoice draft from an order confirmation

Inputs: confirmationId (required).

fiken_create_invoice_from_draftC

Creates a finalized invoice from a draft

Inputs: draftId (required).

fiken_create_journal_entryB

Creates a new general journal entry. Amounts are in NOK øre (cents).

Inputs: journalEntries (required), open.

fiken_create_offer_counterC

Creates the first offer number counter

Inputs: value.

fiken_create_offer_draftC

Creates a new offer draft

Inputs: lines, currency, contactId, issueDate, +7 more.

fiken_create_offer_from_draftC

Creates a finalized offer from a draft

Inputs: draftId (required).

fiken_create_order_confirmation_counterC

Creates the first order confirmation number counter

Inputs: value.

fiken_create_partial_credit_noteA

Creates a credit note for a partial amount of an invoice. Lines must total less than the original invoice.

Inputs: lines (required), issueDate (required), project, currency, +8 more.

fiken_create_product_sales_reportC

Creates a product sales report for a date range

Inputs: to (required), from (required), projectId, includeZeroValues.

fiken_create_purchaseB

Creates a new purchase. Amounts in NOK øre.

Inputs: date (required), kind (required), paid (required), lines (required), +9 more.

fiken_create_purchase_draftC

Creates a new purchase draft

Inputs: cash (required), paid (required), lines (required), kid, +7 more.

fiken_create_purchase_from_draftB

Creates a finalized purchase from a draft

Inputs: draftId (required).

fiken_create_saleB

Creates a new sale. Amounts in NOK øre.

Inputs: date (required), kind (required), paid (required), lines (required), +11 more.

fiken_create_sale_draftC

Creates a new sale draft

Inputs: cash (required), paid (required), lines (required), kid, +7 more.

fiken_create_sale_from_draftC

Creates a finalized sale from a draft

Inputs: draftId (required).

fiken_delete_contactA
Destructive

Deletes a contact, or marks it inactive if it has associated records

Inputs: contactId (required).

fiken_delete_contact_personC
Destructive

Deletes a contact person

Inputs: contactId (required), contactPersonId (required).

fiken_delete_credit_note_draftC
Destructive

Deletes a credit note draft

Inputs: draftId (required).

fiken_delete_invoice_draftB
Destructive

Deletes an invoice draft

Inputs: draftId (required).

fiken_delete_offer_draftB
Destructive

Deletes an offer draft

Inputs: draftId (required).

fiken_delete_purchaseB
Destructive

Deletes a purchase

Inputs: purchaseId (required), description (required).

fiken_delete_purchase_draftB
Destructive

Deletes a purchase draft

Inputs: draftId (required).

fiken_delete_saleC
Destructive

Deletes a sale

Inputs: saleId (required).

fiken_delete_sale_draftC
Destructive

Deletes a sale draft

Inputs: draftId (required).

fiken_delete_transactionB
Destructive

Marks a transaction as deleted and creates a reversing transaction

Inputs: description (required), transactionId (required).

fiken_get_accountA
Read-only

Retrieves a specific bookkeeping account by account code

Inputs: accountCode (required).

fiken_get_account_balanceA
Read-only

Retrieves a specific account and its balance for a given date

Inputs: date (required), accountCode (required).

fiken_get_bank_accountA
Read-only

Retrieves a specific bank account by ID

Inputs: bankAccountId (required).

fiken_get_companyA
Read-only

Returns details of the company configured via FIKEN_COMPANY_SLUG

Inputs: no named parameters.

fiken_get_contactA
Read-only

Retrieves a specific contact by ID

Inputs: contactId (required).

fiken_get_contact_personB
Read-only

Retrieves a specific contact person

Inputs: contactId (required), contactPersonId (required).

fiken_get_credit_noteB
Read-only

Returns a specific credit note by ID

Inputs: creditNoteId (required).

fiken_get_credit_note_counterA
Read-only

Retrieves the current credit note number counter

Inputs: no named parameters.

fiken_get_credit_note_draftC
Read-only

Returns a specific credit note draft

Inputs: draftId (required).

fiken_get_credit_note_draft_attachmentsB
Read-only

Returns all attachments for a credit note draft

Inputs: draftId (required).

fiken_get_invoiceA
Read-only

Returns a specific invoice by ID

Inputs: invoiceId (required).

fiken_get_invoice_attachmentsB
Read-only

Returns all attachments for an invoice

Inputs: invoiceId (required).

fiken_get_invoice_counterA
Read-only

Retrieves the current invoice number counter

Inputs: no named parameters.

fiken_get_invoice_draftC
Read-only

Returns a specific invoice draft

Inputs: draftId (required).

fiken_get_invoice_draft_attachmentsB
Read-only

Returns all attachments for an invoice draft

Inputs: draftId (required).

fiken_get_journal_entryB
Read-only

Returns a specific journal entry by ID

Inputs: journalEntryId (required).

fiken_get_journal_entry_attachmentsA
Read-only

Returns all attachments for a journal entry

Inputs: journalEntryId (required).

fiken_get_offerA
Read-only

Returns a specific offer by ID

Inputs: offerId (required).

fiken_get_offer_counterA
Read-only

Retrieves the current offer number counter

Inputs: no named parameters.

fiken_get_offer_draftB
Read-only

Returns a specific offer draft

Inputs: draftId (required).

fiken_get_offer_draft_attachmentsB
Read-only

Returns all attachments for an offer draft

Inputs: draftId (required).

fiken_get_order_confirmationB
Read-only

Returns a specific order confirmation by ID

Inputs: confirmationId (required).

fiken_get_order_confirmation_counterA
Read-only

Retrieves the order confirmation number counter

Inputs: no named parameters.

fiken_get_purchaseB
Read-only

Returns a specific purchase by ID

Inputs: purchaseId (required).

fiken_get_purchase_attachmentsB
Read-only

Returns all attachments for a purchase

Inputs: purchaseId (required).

fiken_get_purchase_draftC
Read-only

Returns a specific purchase draft

Inputs: draftId (required).

fiken_get_purchase_draft_attachmentsA
Read-only

Returns all attachments for a purchase draft

Inputs: draftId (required).

fiken_get_saleA
Read-only

Returns a specific sale by ID

Inputs: saleId (required).

fiken_get_sale_attachmentsB
Read-only

Returns all attachments for a sale

Inputs: saleId (required).

fiken_get_sale_draftA
Read-only

Returns a specific sale draft

Inputs: draftId (required).

fiken_get_sale_draft_attachmentsC
Read-only

Returns all attachments for a sale draft

Inputs: draftId (required).

fiken_get_transactionA
Read-only

Returns a specific transaction by ID

Inputs: transactionId (required).

fiken_get_userA
Read-only

Returns information about the authenticated Fiken user

Inputs: no named parameters.

fiken_list_account_balancesA
Read-only

Retrieves accounts and closing balances for a given date

Inputs: date (required), page, pageSize, toAccount, +1 more.

fiken_list_accountsB
Read-only

Retrieves bookkeeping accounts for the current year

Inputs: page, pageSize, toAccount, fromAccount.

fiken_list_activitiesC
Read-only

Returns all activity types for the company

Inputs: page, pageSize.

fiken_list_bank_accountsB
Read-only

Retrieves all bank accounts for the company

Inputs: page, inactive, pageSize.

fiken_list_bank_balancesB
Read-only

Retrieves bank balances for the company at a given date

Inputs: date, page, pageSize.

fiken_list_companiesA
Read-only

Returns all companies the authenticated user has access to

Inputs: page, sortBy, pageSize.

fiken_list_contact_personsA
Read-only

Retrieves all contact persons for a contact

Inputs: contactId (required).

fiken_list_contactsC
Read-only

Retrieves all contacts for the company. Supports many filters.

Inputs: name, page, email, group, +19 more.

fiken_list_credit_note_draftsC
Read-only

Returns all credit note drafts for the company

Inputs: page, pageSize.

fiken_list_credit_notesC
Read-only

Returns all credit notes for the company

Inputs: page, settled, pageSize, issueDate, +7 more.

fiken_list_groupsC
Read-only

Returns all customer groups for the company

Inputs: page, pageSize.

fiken_list_inboxC
Read-only

Returns incoming documents in the company inbox

Inputs: name, page, sortBy, status, +2 more.

fiken_list_invoice_draftsC
Read-only

Returns all invoice drafts for the company

Inputs: page, uuid, pageSize, orderReference.

fiken_list_invoicesC
Read-only

Returns all invoices for the company

Inputs: page, settled, pageSize, issueDate, +12 more.

fiken_list_journal_entriesC
Read-only

Returns all general journal entries for the company

Inputs: date, page, dateGe, dateGt, +5 more.

fiken_list_offer_draftsC
Read-only

Returns all offer drafts for the company

Inputs: page, pageSize.

fiken_list_offersC
Read-only

Returns all offers for the company

Inputs: page, pageSize.

fiken_list_order_confirmationsC
Read-only

Returns all order confirmations for the company

Inputs: page, pageSize.

fiken_list_projectsC
Read-only

Returns all projects for the company

Inputs: page, pageSize, completed.

fiken_list_purchase_draftsB
Read-only

Returns all purchase drafts for the company

Inputs: page, pageSize.

fiken_list_purchasesB
Read-only

Returns all purchases for the company

Inputs: date, page, paid, dateGe, +10 more.

fiken_list_sale_draftsB
Read-only

Returns all sale drafts for the company

Inputs: page, pageSize.

fiken_list_salesC
Read-only

Returns all sales for the company

Inputs: date, page, dateGe, dateGt, +12 more.

fiken_list_time_entriesC
Read-only

Returns time entries for the company

Inputs: page, userId, endDate, pageSize, +3 more.

fiken_list_time_usersC
Read-only

Returns all time-tracking users for the company

Inputs: page, pageSize.

fiken_list_transactionsC
Read-only

Returns all transactions for the company

Inputs: page, pageSize, createdDate, createdDateGe, +5 more.

fiken_send_credit_noteC

Sends a credit note via email and/or EHF

Inputs: method (required), creditNoteId (required), includeDocumentAttachments (required), message, +6 more.

fiken_send_invoiceC

Sends an invoice via email and/or EHF

Inputs: method (required), invoiceId (required), includeDocumentAttachments (required), message, +6 more.

fiken_send_offerC

Sends an offer via email

Inputs: method (required), offerId (required), message, recipientName, +1 more.

fiken_update_contactC

Updates an existing contact

Inputs: contactId (required), name, email, groups, +9 more.

fiken_update_contact_personC

Updates a contact person

Inputs: contactId (required), contactPersonId (required), name, email, +2 more.

fiken_update_credit_note_draftC

Updates a credit note draft

Inputs: type (required), draftId (required), customerId (required), daysUntilDueDate (required), +15 more.

fiken_update_invoiceB

Updates an invoice (due date and/or manual send status)

Inputs: invoiceId (required), newDueDate, sentManually.

fiken_update_invoice_draftC

Updates an existing invoice draft

Inputs: type (required), draftId (required), customerId (required), daysUntilDueDate (required), +15 more.

fiken_update_offer_draftC

Updates an offer draft

Inputs: draftId (required), lines, currency, contactId, +8 more.

fiken_update_purchase_draftC

Updates a purchase draft

Inputs: cash (required), paid (required), lines (required), draftId (required), +8 more.

fiken_update_sale_draftC

Updates a sale draft

Inputs: cash (required), paid (required), lines (required), draftId (required), +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 106 tools

    Disambiguation3/5

    Most tools are clearly separated by resource and action, but the domain contains several easy-to-confuse pairs: invoices vs sales, generic transactions vs purchases/sales/journal entries, and bank balances vs account balances. Descriptions provide enough hints, but an agent often needs accounting domain knowledge to pick the right one.

    Naming Consistency5/5

    All tools share the fiken_ prefix and follow a predictable verb_noun pattern (list/get/create/update/delete/send), with regular conventions for drafts, attachments, counters, and 'from_draft' conversions. The naming is highly consistent across all 106 tools.

    Tool Count1/5

    106 tools is an extreme mismatch for an MCP server surface; it exposes the entire Fiken REST API as individual tools and will overwhelm agent context and selection. Even if every endpoint is useful, this should be split into multiple focused servers or consolidated where possible.

    Completeness3/5

    Core workflows are well covered: contacts, invoices, credit notes, offers, purchases, sales, drafts, attachments, and counters all have substantial CRUD/lifecycle support. However, several exposed resources are list-only (groups, projects, time entries, activities, time users, inbox), and finalized purchases/sales/credit notes have no update path, so the surface has notable gaps.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with the Tripletex accounting API to manage time tracking, projects, and timesheet approvals through natural language. It also supports searching and managing outgoing invoices and processing supplier invoice approvals.
      31
      2
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to manage invoices, customers, suppliers, accounting entries, orders, and more through Fortnox's cloud accounting platform via natural language.
      20
      68 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with the Tripletex accounting system via 56 tools and 18 skills for orders, invoices, bookkeeping, reports, projects, and travel expenses.
      23
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read and write accounting data in PowerOffice Go, including bookkeeping, sales, purchases, payroll, time tracking, and read-only bank access, with support for multiple companies and strict isolation.
      MIT