KLARA

KLARA MCP

The MCP server for KLARA: connect your KLARA business software to your AI assistant and manage customers, articles, invoices, accounting and payroll straight from the conversation.

Overview

KLARA MCP is a server built on the open Model Context Protocol (MCP), operated by ePost Service Ltd. It connects MCP-capable AI assistants – such as Claude or ChatGPT – to your KLARA company. The assistant can search and maintain customers and articles, create invoices with line items and recipients, record bookings with receipts, and add variable salary items to open payslips.

Good to know: Every action directly affects your company's real data. That's why KLARA MCP prepares everything irreversible (deletions, invoices, sending, bookings, payroll) first, shows you a summary, and only executes once you confirm with a one-time code.

Connect

Step 1 for every client: create an API key in KLARA. In KLARA, under Users, create a new API key. Give it only the roles you actually need – KLARA MCP reaches exactly what the key's role opens. Login works exclusively with an API key; enter your KLARA password only on KLARA itself, never anywhere else.

Connect with Claude

  1. In Claude, go to Settings → Connectors, choose Add custom connector and enter https://mcp.klara.ch/mcp – or pick the KLARA entry in the connector directory.
  2. Claude opens the KLARA MCP login page: paste your API key and connect.

Connect with ChatGPT

  1. Open chatgpt.com/plugins and click the plus “New plugin”. Enter the address https://mcp.klara.ch/mcp.
  2. On first connection the KLARA MCP login page opens: paste your API key and connect.

Start with the prompt “KLARA whoami” – the assistant then shows which company you're connected to and which areas your role opens.

Examples

Typical requests to your AI assistant look like this (all details are made up):

Create an invoice“Create a draft invoice for Muster Ltd: 3 consulting hours at 180 francs, payable within 30 days.”
Maintain master data“Add the UID CHE-123.456.789 to Muster Ltd.”
Create an article“Create article A-1001: consulting hour, service, 180 francs incl. VAT, standard rate 8.1 percent.”
Record a booking“Book 250 francs of office supplies paid from the bank account, and attach this receipt PDF.”
Add a salary item“Record 8 overtime hours on Anna Muster's open payslip.”

Capabilities

AreaWhat the assistant can doAccess
Customers & articlesSearch, create and update: customers with addresses, contacts, UID and VAT number; articles with prices, VAT and images; categories and filters.Read Write
Invoices & ordersCreate invoices with line items and recipients and fetch them as PDF; delivery via email, ePost, eBill or print; look up order documents.Read Code
AccountingRecord manual bookings with receipts, look up the chart of accounts and VAT catalogues, read open bank-reconciliation positions and VAT reports.Read Code
PayrollBrowse the employee directory and add variable salary items (hours, allowances, bonuses) to open payslips.Read Code

The confirmation gate

Everything irreversible runs in two steps: the assistant prepares the action and shows you a summary with a one-time confirmation code. Only when you provide the code is it executed – and each action exactly once. This always applies to: deletions, creating and sending invoices, bookings, receipts, salary items, number counters, company master data and subscriptions. Unconfirmed preparations expire on their own after 30 minutes.

Available tools

KLARA MCP provides 34 tools. Read only retrieves data, Write executes directly, Code requires your confirmation with the one-time code.

Context and reference data

ToolPurposeAccess
klara_whoamiConnected company, login type and which areas your role opensRead
klara_reference_dataChart of accounts, VAT catalogues and cases, booking types, templates, bank accounts, exchange rates, cities, article categories and filtersRead

Customers and articles

ToolPurposeAccess
klara_search_customersSearch customers by name, email, phone or customer numberRead
klara_get_customerOne customer in detail, optionally with contacts and additional addressesRead
klara_search_articlesArticles via full-text search or list by product typeRead
klara_article_detailsOne article with variants, set items and imageRead
klara_lookup_articlesArticles by article numbers or as a resolved variant listRead
klara_prepare_customerCreate or update a customer – including UID, VAT and commercial register numberWrite Delete: code
klara_prepare_customer_contactCreate or update a customer's contact personWrite Delete: code
klara_prepare_customer_addressCreate or update a customer's additional addressWrite Delete: code
klara_prepare_articleCreate or update an article – including VAT type, case and codeWrite Delete: code
klara_prepare_articles_bulkCreate several articles in one callWrite
klara_prepare_article_catalogCreate and update article categories and filters, assign them to articlesWrite Delete: code
klara_prepare_article_imageAdd or replace an article image (PNG/JPEG)Write Delete: code

Invoices and order documents

ToolPurposeAccess
klara_get_invoiceOne invoice with recipient, line items and booking statusRead
klara_recent_invoicesLog of invoices created through KLARA MCP (the KLARA API has no invoice list)Read
klara_invoice_pdfFetch the invoice as PDF and extract its textRead
klara_order_documentsLook up order documents and read the numbering configurationRead
klara_prepare_invoiceCreate an invoice with recipient and line items, or edit a draftCode
klara_prepare_send_invoiceDeliver a booked invoice: smart delivery or a fixed channel (email, ePost, eBill, print)Code
klara_prepare_next_numberPull the next order or document number (advances the counter irreversibly)Code

Accounting

ToolPurposeAccess
klara_bank_open_positionsOpen positions of the bank reconciliationRead
klara_vat_reportRead the VAT report of a period (without recalculation)Read
klara_prepare_bookingRecord a manual booking, optionally with a receipt PDF; debit/credit is checked upfrontCode
klara_prepare_receipt_attachmentAttach a receipt PDF to an existing bookingCode

Payroll

ToolPurposeAccess
klara_search_employeesEmployee directory with search, filter and sortingRead
klara_addable_salary_itemsWhich salary types may be added to a person's open payslipRead
klara_payroll_exportGenerate the payroll interface file (content only on explicit request)Read
klara_prepare_salary_itemRecord a variable salary item (hours, allowances, bonuses) on an open payslipCode

Company and confirmation gate

ToolPurposeAccess
klara_prepare_profileUpdate or create your own company's master dataCode
klara_prepare_subscriptionCreate a KLARA subscription (paid, own contractual terms)Code
klara_pending_actionsShow prepared actions that are not yet confirmedRead
klara_confirmExecute a prepared action with the confirmation codeCode
klara_cancel_pendingDiscard a prepared actionWrite

Security & data

Troubleshooting

“Access denied” or an area is missing

Your API key's role lacks the permission, or your company lacks the matching KLARA subscription – without it, a function stays closed even for administrators. Ask the assistant for “KLARA whoami”: the answer shows which areas are open. For more access, create a key with the right role in KLARA under Users and reconnect.

A city is rejected when creating a record

KLARA validates cities against its own registry and knows some only with the canton suffix – for example “Studen BE” instead of “Studen”. Adjust the spelling and retry; the error message points this out.

Creating an invoice demands a document number

Your company numbers invoices manually. KLARA MCP then deliberately pulls no number from the counter – tell the assistant the next number in your series, and it is used as the document number. With automatic numbering this happens by itself.

No invoice PDF is created on booking

That's KLARA API behaviour: unlike the UI, it renders no document when booking. Ask the assistant to create the PDF afterwards – on request it attaches it to the booking.

New features don't show up

AI assistants memorise a server's tool list when connecting. After KLARA MCP updates, disconnect once and reconnect.

The first answer takes long

After a longer pause the server restarts (cold start). The first request can therefore take a few seconds; after that it's fast.

“This action is no longer valid”

Prepared actions expire after 30 minutes without confirmation – for safety. Simply ask the assistant to prepare the action again.

Server error with an incident id on booking, PDF or sending

Known issues in the KLARA interface (as of August 2026, reported to KLARA): booking invoices, rendering PDFs and sending can fail through the interface with a server error, while the same action works in the KLARA user interface. Perform the action in KLARA; the incident id from the message helps support.

Support

Questions, problems or security concerns about KLARA MCP: support@klara.ch

Helpful for a quick answer: the error message from your AI assistant – for KLARA errors it contains an incident id that makes the case unambiguous. Never include API keys or passwords.

More about KLARA: klara.ch · For developers: developer.klara.ch