A Model Context Protocol (MCP) server that allows Large Language Models (LLMs) to interact with the basic Norman Finance API implementation. This server provides access to accounting, invoices, companies, clients, taxes, and more through a standardized protocol.
A Model Context Protocol (MCP) server that allows Large Language Models (LLMs) to interact with the basic Norman Finance API implementation. This server provides access to accounting, invoices, companies, clients, taxes, and more through a standardized protocol.
Here are some examples of how to use Norman Finance MCP with Claude Desktop:
Before using this MCP server, you need to:
To run the Norman Finance MCP server with Claude Desktop, follow these steps:
Follow the instructions here: Installing uv
Download Claude Desktop.
Launch Claude and navigate to: Settings > Developer > Edit Config.
Update your claude_desktop_config.json
file with the following configuration:
{
"mcpServers": {
"norman-mcp-server": {
"command": "<home_path>/.local/bin/uvx",
"args": [
"--from",
"norman-mcp-server@latest",
"norman-mcp"
],
"env": {
"NORMAN_EMAIL": "[email protected]",
"NORMAN_PASSWORD": "your-password",
"NORMAN_ENVIRONMENT": "production"
}
}
}
}
If you prefer to run the MCP server from source:
git clone https://github.com/norman-finance/norman-mcp-server.git
cd norman-mcp-server
pip install -e .
Then update your claude_desktop_config.json file to point to the Python module directly:
{
"mcpServers": {
"norman-mcp-server": {
"command": "<path_to_your_python>/python",
"args": ["-m", "norman_mcp"],
"env": {
"NORMAN_EMAIL": "[email protected]",
"NORMAN_PASSWORD": "your-password",
"NORMAN_ENVIRONMENT": "production"
}
}
}
}
The server requires authentication with your Norman Finance credentials. You can provide these through environment variables:
Create a .env
file with:
# .env
NORMAN_EMAIL=[email protected]
NORMAN_PASSWORD=your-password
NORMAN_ENVIRONMENT=production # or "sandbox" for the development environment
NORMAN_API_TIMEOUT=200 # Request timeout in seconds
Alternatively, you can provide the credentials through command line arguments:
norman-mcp --email [email protected] --password your-password --environment production
norman-mcp
You can install the server using the MCP CLI:
mcp install norman-mcp
Configure your Norman Finance credentials when prompted.
You can also run the server directly with:
python -m norman_mcp
This MCP server exposes the following resources:
company://current
- Details about your current companytransactions://list/{page}/{page_size}
- List of transactions with paginationinvoices://list/{page}/{page_size}
- List of invoices with paginationclients://list/{page}/{page_size}
- List of clients with paginationtaxes://list/{page}/{page_size}
- List of tax reports with paginationcategories://list
- List of transaction categoriesThe MCP server provides the following tools for Norman Finance API interaction:
get_company_details()
- Get detailed information about your companyupdate_company_details(name, profession, address, etc.)
- Update company informationget_company_balance()
- Get the current balance of the companyget_company_tax_statistics()
- Get tax statistics for the companyget_vat_next_report()
- Get the VAT amount for the next report periodsearch_transactions(description, from_date, to_date, min_amount, max_amount, etc.)
- Search for transactions matching criteriacreate_transaction(amount, description, cashflow_type, etc.)
- Create a new transactionupdate_transaction(transaction_id, amount, description, etc.)
- Update an existing transactioncategorize_transaction(transaction_amount, transaction_description, transaction_type)
- Detect category for a transaction using AIcreate_invoice(client_id, items, etc.)
- Create a new invoicecreate_recurring_invoice(client_id, items, etc.)
- Create a new recurring invoiceget_invoice(invoice_id)
- Get details about a specific invoicesend_invoice(invoice_id, subject, body, etc.)
- Send an invoice via emaillink_transaction(invoice_id, transaction_id)
- Link a transaction to an invoiceget_einvoice_xml(invoice_id)
- Get the e-invoice XML for a specific invoicelist_invoices(status, from_date, to_date, etc.)
- List invoices with optional filteringlist_clients()
- Get a list of all clientsget_client(client_id)
- Get detailed information about a specific clientcreate_client(name, client_type, address, etc.)
- Create a new clientupdate_client(client_id, name, client_type, etc.)
- Update an existing clientdelete_client(client_id)
- Delete a clientupload_bulk_attachments(file_paths, cashflow_type)
- Upload multiple file attachments in bulklist_attachments(file_name, linked, attachment_type, etc.)
- Get list of attachments with optional filterscreate_attachment(file_path, transactions, attachment_type, etc.)
- Create a new attachmentlink_attachment_transaction(attachment_id, transaction_id)
- Link a transaction to an attachmentlist_tax_reports()
- List all available tax reportsget_tax_report(report_id)
- Retrieve a specific tax reportvalidate_tax_number(tax_number, region_code)
- Validate a tax number for a specific regiongenerate_finanzamt_preview(report_id)
- Generate a test Finanzamt preview for a tax reportsubmit_tax_report(report_id)
- Submit a tax report to the Finanzamtlist_tax_states()
- Get list of available tax stateslist_tax_settings()
- Get list of tax settings for the current companyupdate_tax_setting(setting_id, tax_type, vat_type, etc.)
- Update a tax settingThe MCP server offers these guided prompts to help users interact with Norman Finance:
create_transaction_prompt(amount, description, cashflow_type)
- Create a prompt for adding a new transactioncreate_client_prompt(name, client_type)
- Create a prompt for adding a new clientsend_invoice_prompt(invoice_id)
- Create a prompt for sending an invoice via emailsearch_transactions_prompt(date_range)
- Create a prompt for searching transactionsHere are some example interactions with the Norman Finance MCP server:
You can view your company details by accessing the company resource.
[LLM accesses company://current]
To see your recent financial transactions:
[LLM accesses transactions://list/1/10]
To create a new expense transaction:
[LLM calls create_transaction with amount=-129.99, description="Office supplies", cashflow_type="EXPENSE"]
To create a new invoice, I'll use the create_invoice tool.
[LLM calls create_invoice with client_id, items, etc.]
This section is for contributors who want to develop or extend the Norman Finance MCP server.
Clone the repository:
git clone https://github.com/norman-finance/norman-mcp-server.git
cd norman-mcp-server
Create and activate a virtual environment:
# Using venv
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Or using uv (recommended)
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
Install development dependencies:
# Using pip
pip install -e ".[dev]"
# Or using uv
uv pip install -e ".[dev]"
Create a .env
file with your Norman Finance credentials:
cp .env.template .env
# Edit .env with your credentials
To run the MCP server in development mode with the MCP Inspector:
mcp dev norman_mcp/server.py
This will start the server and open the MCP Inspector in your browser, allowing you to test resources and tools interactively.