fiken-mcp
Connects an AI assistant to the Fiken accounting API to read and (with approval) mutate company accounting data.
User & companies: get authenticated user, list/get companies.
Accounting: list/get bookkeeping accounts, account balances by date, bank accounts and bank balances; create bank accounts.
Contacts: CRUD contacts and contact persons, list customer groups.
Invoices: list/get/update, create, send (email/EHF/SMS), attachments, number counters, full draft lifecycle and draft-to-invoice conversion.
Credit notes: list/get, full and partial creation, send, counters, draft lifecycle and conversion.
Offers & order confirmations: list/get, send offers, counters, drafts, attach, convert order confirmation to invoice draft.
Purchases & sales: list/get/create/delete, attachments, full draft lifecycle and draft conversion.
Journal entries & transactions: list/get entries with attachments and create entries; list/get/delete transactions (reversing entry).
Conventions: amounts in NOK øre, dates as YYYY-MM-DD; reads annotated read-only, destructive ops flagged.
Note: README-advertised payment, reporting, project/time-tracking and inbox tools are absent from the schema.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fiken-mcp list recent invoices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fiken-mcp: Model Context Protocol Server for Fiken Accounting API
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_paymentOffers & 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 |
|
Companies |
|
Accounts |
|
Bank |
|
Contacts |
|
Invoices |
|
Credit Notes |
|
Offers |
|
Order Confirmations |
|
Purchases |
|
Sales |
|
Journal Entries |
|
Transactions |
|
Misc |
|
Note: Amounts are in NOK øre (1/100 of a krone). Dates use
YYYY-MM-DDformat.
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 toolsfiken_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_contactADestructive
Deletes a contact, or marks it inactive if it has associated records
Inputs: contactId (required).
fiken_delete_contact_personCDestructive
Deletes a contact person
Inputs: contactId (required), contactPersonId (required).
fiken_delete_credit_note_draftCDestructive
Deletes a credit note draft
Inputs: draftId (required).
fiken_delete_invoice_draftBDestructive
Deletes an invoice draft
Inputs: draftId (required).
fiken_delete_offer_draftBDestructive
Deletes an offer draft
Inputs: draftId (required).
fiken_delete_purchaseBDestructive
Deletes a purchase
Inputs: purchaseId (required), description (required).
fiken_delete_purchase_draftBDestructive
Deletes a purchase draft
Inputs: draftId (required).
fiken_delete_saleCDestructive
Deletes a sale
Inputs: saleId (required).
fiken_delete_sale_draftCDestructive
Deletes a sale draft
Inputs: draftId (required).
fiken_delete_transactionBDestructive
Marks a transaction as deleted and creates a reversing transaction
Inputs: description (required), transactionId (required).
fiken_get_accountARead-only
Retrieves a specific bookkeeping account by account code
Inputs: accountCode (required).
fiken_get_account_balanceARead-only
Retrieves a specific account and its balance for a given date
Inputs: date (required), accountCode (required).
fiken_get_bank_accountARead-only
Retrieves a specific bank account by ID
Inputs: bankAccountId (required).
fiken_get_companyARead-only
Returns details of the company configured via FIKEN_COMPANY_SLUG
Inputs: no named parameters.
fiken_get_contactARead-only
Retrieves a specific contact by ID
Inputs: contactId (required).
fiken_get_contact_personBRead-only
Retrieves a specific contact person
Inputs: contactId (required), contactPersonId (required).
fiken_get_credit_noteBRead-only
Returns a specific credit note by ID
Inputs: creditNoteId (required).
fiken_get_credit_note_counterARead-only
Retrieves the current credit note number counter
Inputs: no named parameters.
fiken_get_credit_note_draftCRead-only
Returns a specific credit note draft
Inputs: draftId (required).
fiken_get_credit_note_draft_attachmentsBRead-only
Returns all attachments for a credit note draft
Inputs: draftId (required).
fiken_get_invoiceARead-only
Returns a specific invoice by ID
Inputs: invoiceId (required).
fiken_get_invoice_attachmentsBRead-only
Returns all attachments for an invoice
Inputs: invoiceId (required).
fiken_get_invoice_counterARead-only
Retrieves the current invoice number counter
Inputs: no named parameters.
fiken_get_invoice_draftCRead-only
Returns a specific invoice draft
Inputs: draftId (required).
fiken_get_invoice_draft_attachmentsBRead-only
Returns all attachments for an invoice draft
Inputs: draftId (required).
fiken_get_journal_entryBRead-only
Returns a specific journal entry by ID
Inputs: journalEntryId (required).
fiken_get_journal_entry_attachmentsARead-only
Returns all attachments for a journal entry
Inputs: journalEntryId (required).
fiken_get_offerARead-only
Returns a specific offer by ID
Inputs: offerId (required).
fiken_get_offer_counterARead-only
Retrieves the current offer number counter
Inputs: no named parameters.
fiken_get_offer_draftBRead-only
Returns a specific offer draft
Inputs: draftId (required).
fiken_get_offer_draft_attachmentsBRead-only
Returns all attachments for an offer draft
Inputs: draftId (required).
fiken_get_order_confirmationBRead-only
Returns a specific order confirmation by ID
Inputs: confirmationId (required).
fiken_get_order_confirmation_counterARead-only
Retrieves the order confirmation number counter
Inputs: no named parameters.
fiken_get_purchaseBRead-only
Returns a specific purchase by ID
Inputs: purchaseId (required).
fiken_get_purchase_attachmentsBRead-only
Returns all attachments for a purchase
Inputs: purchaseId (required).
fiken_get_purchase_draftCRead-only
Returns a specific purchase draft
Inputs: draftId (required).
fiken_get_purchase_draft_attachmentsARead-only
Returns all attachments for a purchase draft
Inputs: draftId (required).
fiken_get_saleARead-only
Returns a specific sale by ID
Inputs: saleId (required).
fiken_get_sale_attachmentsBRead-only
Returns all attachments for a sale
Inputs: saleId (required).
fiken_get_sale_draftARead-only
Returns a specific sale draft
Inputs: draftId (required).
fiken_get_sale_draft_attachmentsCRead-only
Returns all attachments for a sale draft
Inputs: draftId (required).
fiken_get_transactionARead-only
Returns a specific transaction by ID
Inputs: transactionId (required).
fiken_get_userARead-only
Returns information about the authenticated Fiken user
Inputs: no named parameters.
fiken_list_account_balancesARead-only
Retrieves accounts and closing balances for a given date
Inputs: date (required), page, pageSize, toAccount, +1 more.
fiken_list_accountsBRead-only
Retrieves bookkeeping accounts for the current year
Inputs: page, pageSize, toAccount, fromAccount.
fiken_list_activitiesCRead-only
Returns all activity types for the company
Inputs: page, pageSize.
fiken_list_bank_accountsBRead-only
Retrieves all bank accounts for the company
Inputs: page, inactive, pageSize.
fiken_list_bank_balancesBRead-only
Retrieves bank balances for the company at a given date
Inputs: date, page, pageSize.
fiken_list_companiesARead-only
Returns all companies the authenticated user has access to
Inputs: page, sortBy, pageSize.
fiken_list_contact_personsARead-only
Retrieves all contact persons for a contact
Inputs: contactId (required).
fiken_list_contactsCRead-only
Retrieves all contacts for the company. Supports many filters.
Inputs: name, page, email, group, +19 more.
fiken_list_credit_note_draftsCRead-only
Returns all credit note drafts for the company
Inputs: page, pageSize.
fiken_list_credit_notesCRead-only
Returns all credit notes for the company
Inputs: page, settled, pageSize, issueDate, +7 more.
fiken_list_groupsCRead-only
Returns all customer groups for the company
Inputs: page, pageSize.
fiken_list_inboxCRead-only
Returns incoming documents in the company inbox
Inputs: name, page, sortBy, status, +2 more.
fiken_list_invoice_draftsCRead-only
Returns all invoice drafts for the company
Inputs: page, uuid, pageSize, orderReference.
fiken_list_invoicesCRead-only
Returns all invoices for the company
Inputs: page, settled, pageSize, issueDate, +12 more.
fiken_list_journal_entriesCRead-only
Returns all general journal entries for the company
Inputs: date, page, dateGe, dateGt, +5 more.
fiken_list_offer_draftsCRead-only
Returns all offer drafts for the company
Inputs: page, pageSize.
fiken_list_offersCRead-only
Returns all offers for the company
Inputs: page, pageSize.
fiken_list_order_confirmationsCRead-only
Returns all order confirmations for the company
Inputs: page, pageSize.
fiken_list_projectsCRead-only
Returns all projects for the company
Inputs: page, pageSize, completed.
fiken_list_purchase_draftsBRead-only
Returns all purchase drafts for the company
Inputs: page, pageSize.
fiken_list_purchasesBRead-only
Returns all purchases for the company
Inputs: date, page, paid, dateGe, +10 more.
fiken_list_sale_draftsBRead-only
Returns all sale drafts for the company
Inputs: page, pageSize.
fiken_list_salesCRead-only
Returns all sales for the company
Inputs: date, page, dateGe, dateGt, +12 more.
fiken_list_time_entriesCRead-only
Returns time entries for the company
Inputs: page, userId, endDate, pageSize, +3 more.
fiken_list_time_usersCRead-only
Returns all time-tracking users for the company
Inputs: page, pageSize.
fiken_list_transactionsCRead-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
Scored across 106 tools
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.
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.
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.
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
Related MCP Connectors
Fiken MCP server for ChatGPT, Claude and any AI agent: create invoice, send invoice, book purchase, add contact and list unpaid invoices in your own Fiken account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Fiken yourself; Cotlet does not store your password and you need no Fiken API key. About the official Fiken API: Yes, Fiken has a documented REST API (v2) for invoices, sales, purchases, contacts, offers, credit notes and attachments (checked 14 Oct 2026), but it is a paid add-on: 99 NOK per month for a company registered in Brønnøysundregistrene. Apps that serve other companies must register an OAuth2 app, and Fiken publishes no MCP server of its own. Setup and FAQ: https://cotlet.dev/integrations/fiken-api-mcp-server
Read invoices, bills, contacts, ledger and bank balances; create drafts and contacts in Fiken.
Connect ChatGPT and Claude to Fortnox: invoices, customers, reports. Every write needs your OK.
Query your books, company data, business health, and ship invoices from your AI assistant.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables 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.312ISC
- AlicenseBqualityDmaintenanceEnables AI agents to manage invoices, customers, suppliers, accounting entries, orders, and more through Fortnox's cloud accounting platform via natural language.2068 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Tripletex accounting system via 56 tools and 18 skills for orders, invoices, bookkeeping, reports, projects, and travel expenses.23MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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