Peil MCP logo

Peil MCP

by Luminc

Connects Peil to MCP clients for time tracking, invoice drafting, financial status checks, and optional client email.

Install Peil MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "luminc-peil-mcp": {
      "command": "uvx",
      "args": [
        "peil-mcp"
      ],
      "env": {
        "PEIL_API_KEY": "YOUR_VALUE_HERE",
        "PEIL_API_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PEIL_API_KEY=YOUR_VALUE_HERE --env PEIL_API_URL=YOUR_VALUE_HERE --transport stdio luminc-peil-mcp -- uvx peil-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx peil-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Luminc/peil-mcp MCP server connects an MCP-compatible assistant to Peil’s public API for Dutch freelance finance workflows. It can read clients, hours, invoices, reminders, and financial position, while also recording time, managing clients, and preparing invoices. The server uses a scoped Peil API key and communicates over stdio, with invoice drafting separated from client-facing email. Reach for it when you want to manage Peil data from Claude, Cursor, Windsurf, Cline, VS Code, or another stdio-capable MCP client.

Use cases

  • Log hours against a client
  • Draft invoices from unbilled time
  • Check outstanding and overdue amounts
  • Review your effective hourly rate
  • Schedule or send invoice reminders

Key features

  • Peil API access over MCP stdio
  • Scoped API key permissions
  • Timesheet and client management
  • Invoice drafting and status updates
  • Outstanding, overdue, and YTD snapshots
  • Optional invoice and reminder email actions

Tools21

What Peil MCP lets your agent do. Expand a tool for its parameters.

Self-reported~348 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · peil-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed21Callable tools this server registers over MCP.

How Peil MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Peil MCP

Luminc/peil-mcp is an MCP server that connects AI assistants to Peil’s public API for Dutch freelancer finance tasks. Its main tools list clients, log and edit hours, draft invoices from unbilled time, show outstanding or overdue amounts, update invoices, and optionally send invoices or reminders with a separately permitted API key.

Install it with `uvx peil-mcp` or run it with `pipx run peil-mcp`. Configure your MCP client with that command and the `PEIL_API_KEY` environment variable. Source setup is also available for Python 3.11 or newer using uv, pipx, or a standard virtual environment.

Yes, Luminc/peil-mcp works with Cursor through its MCP configuration. Add the server command and `PEIL_API_KEY` to `.cursor/mcp.json` for one project or `~/.cursor/mcp.json` for all projects, then enable the peil server in Cursor’s MCP settings.

Yes, but only with a Peil API key that has the separate `invoices:send` permission. Drafting an invoice does not send it, while `send_invoice`, `schedule_send`, and `send_reminder` perform client-facing email actions. A key without that permission can prepare invoices but cannot email clients.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPeil MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/luminc-peil-mcp?style=directory)](https://allmcps.com/mcp/luminc-peil-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/luminc-peil-mcp"><img src="https://allmcps.com/api/badge/luminc-peil-mcp?style=directory" alt="Peil MCP on AllMCPs" /></a>