# Luminc/peil-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Luminc/peil-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/luminc-peil-mcp

## Description
Peil — financial orientation for Dutch freelancers (ZZP'ers): log hours, draft invoices from unbilled time, and ask where you stand — outstanding, overdue, and your net effective hourly rate. Scoped API keys with draft-by-default: putting email in front of a client needs a separate invoices:send permission the key can be issued without. uvx peil-mcp

## Tools
Capabilities this server exposes over MCP:

- **list_clients** — List your clients
- **get_client_details** — One client's details, incl. whether a default rate is set
- **list_unbilled** — Unbilled hours per client for a period
- **list_invoices** — List invoices, filterable by status / client
- **orientation_snapshot** — Outstanding / overdue / drafts / YTD position
- **get_reminder_copy** — Your custom reminder email copy + schedule
- **list_expenses** — A year's one-off expenses, and which have no receipt kept
- **log_hours** — Add a timesheet entry (client default rate unless given)
- **edit_hours** — Edit an entry (only the fields you pass change)
- **delete_hours** — Delete an entry (blocked if on a sent/paid invoice)
- **create_client** — Client CRUD (delete blocked if it has projects/sent invoices)
- **create_expense** — Add an expense as the receipt says it: total, Dutch btw, category (key or label). Your assistant can read the receipt; the photo itself is kept in the Peil app
- **draft_invoice** — Draft an invoice from unbilled hours (summary / by_project / per_day)
- **set_invoice_status** — Change status (e.g. mark paid) — does **not** email anyone
- **update_invoice** — Edit safe fields (due date, payment date, notes)
- **delete_invoice** — Delete (paid ones blocked) / archive
- **set_reminder_copy** — Write custom reminder email copy for one tone/language
- **send_invoice** — Email an invoice to the client now
- **schedule_send** — Schedule a draft to be emailed at a future time
- **cancel_scheduled_send** — Cancel a scheduled send
- **send_reminder** — Email a payment reminder for a sent/overdue invoice

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "peil-mcp": {
    "command": "uvx",
    "args": ["peil-mcp"],
    "env": {
      "PEIL_API_KEY": "",
      "PEIL_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `PEIL_API_KEY`, `PEIL_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Luminc/peil-mcp MCP server does

Luminc/peil-mcp MCP server exposes Peil’s freelancer-focused finance functions to an AI assistant. It connects to the Peil public API and supports common tasks around clients, timesheets, invoices, reminders, and financial orientation. A prompt can retrieve an overview of outstanding and overdue amounts, inspect year-to-date position, find unbilled hours, or list invoices by status or client.

The server also supports writes. You can create and manage clients, add or revise timesheet entries, remove eligible hour records, create invoice drafts from unbilled time, update safe invoice fields, change invoice status, and archive or delete invoices where Peil permits it. Invoice drafts can use summary, project-based, or per-day detail.

## How it works

The server is a client of Peil’s API rather than a standalone accounting database. Authentication uses an API key created in Peil under Settings → Developer. Permissions on that key scope what the assistant can do, including read access, timesheet changes, client changes, invoice changes, and sending invoices.

The email-related actions are separated from invoice preparation. `draft_invoice` creates only a draft. `set_invoice_status` can change an invoice state, such as marking it paid, but does not send email. Sending an invoice immediately, scheduling a future send, cancelling a scheduled send, or sending a payment reminder requires the separate `invoices:send` permission. A key without that permission cannot email clients through these tools.

## Setup and configuration

Install the published package with `uvx peil-mcp`, or run it with `pipx run peil-mcp`. Source-based setup supports Python 3.11 or newer using `uv`, `pipx`, or a standard virtual environment. Configure the MCP client with the launch command, its arguments, and `PEIL_API_KEY`.

The default API endpoint is `https://api.peil.app/api/v1`. Set `PEIL_API_URL` when connecting to another Peil backend, such as a local development instance. The server communicates over stdio, so a client must be able to launch a local command. The documented configuration pattern applies to Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Roo, and VS Code.

## Tools and capabilities

Read operations include client lists and details, unbilled hours for a period, invoice lists, an orientation snapshot, and saved reminder copy and schedule. Timesheet operations include adding, editing, and deleting hours. Deletion is blocked when an entry belongs to a sent or paid invoice.

Client operations cover creation, updates, and deletion, with deletion blocked for clients that have projects or sent invoices. Invoice operations include drafting from unbilled hours, editing due dates, payment dates, and notes, changing status, deleting or archiving, and setting reminder copy for a selected tone and language.

## Limitations and notes

Permissions and Peil’s business rules limit destructive or client-facing actions. Paid invoices cannot be deleted, and client deletion has dependency checks. Sending tools are irreversible client-facing actions and should be separately confirmed before use. A read- and draft-only key is suitable when the assistant should prepare work but not contact clients.

Luminc/peil-mcp MCP server does not replace Peil’s API or change its permission model. It requires a valid Peil API key, and its usefulness depends on the clients, projects, hours, invoices, and reminder settings available in the connected Peil account.

_Full upstream README: https://allmcps.com/mcp/luminc-peil-mcp/readme_

