Skip to content
Automation
Skill

/frihet-mcp

Business-aware ERP management skill for Frihet MCP server. Manages invoices, expenses, clients, products, quotes, and webhooks with embedded Spanish tax knowledge (IVA/IGIC/IRPF), automatic expense categorization, and multi-step workflows like monthly close and quarterly tax

From plugin
frihet-erp
91 skill1 MCP
Install
$ npx -y skills add Frihet-io/frihet-mcp --skill frihet-mcp --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/frihet-mcp

Context preview

The summary Claude sees to decide when to auto-load this skill.

Business-aware ERP management skill for Frihet MCP server. Manages invoices, expenses, clients, products, quotes, and webhooks with embedded Spanish tax knowledge (IVA/IGIC/IRPF), automatic expense categorization, and multi-step workflows like monthly close and quarterly tax

SKILL.md

frihet-mcp.SKILL.md
name: frihet-mcp
description: >-
  Business-aware ERP management skill for Frihet MCP server. Manages invoices,
  expenses, clients, products, quotes, and webhooks with embedded Spanish tax
  knowledge (IVA/IGIC/IRPF), automatic expense categorization, and multi-step
  workflows like monthly close and quarterly tax prep. Use when the user says
  "create invoice", "log expense", "list clients", "tax report", "monthly close",
  "cierre mensual", "factura", "gasto", "presupuesto", "frihet", "303", "IVA
  trimestral", "overdue invoices", "morosos", or any business management task
  with a Frihet MCP server connected. Supports both English and Spanish. Do NOT
  use for general accounting questions without Frihet MCP server configured.
license: MIT
metadata:
  author: BRTHLS
  version: 1.18.0
  mcp-server: frihet-mcp
  category: business-management
  tags: [erp, invoicing, expenses, tax-compliance, ai-business, spain, mcp]
  documentation: https://docs.frihet.io/desarrolladores/mcp-server
  support: ayuda@frihet.io

Frihet MCP Skill

Business assistant inside Claude Code. Manage invoices, expenses, clients, products, and quotes in plain language — with built-in Spanish tax intelligence.

**Requires:** Frihet account with API access + `@frihet/mcp-server` configured as MCP server.

Setup

1. Configure the MCP server

Add to your Claude Code MCP config (`~/.claude/mcp.json` or project `.mcp.json`):

{
  "mcpServers": {
    "frihet": {
      "command": "npx",
      "args": ["@frihet/mcp-server"],
      "env": {
        "FRIHET_API_KEY": "fri_your_api_key_here"
      }
    }
  }
}

Get your API key at **app.frihet.io > Settings > API**.

2. Verify

Run `/frihet status` — if you see your account info, you're ready.

Commands

| Command | What it does | Example | |---------|-------------|---------| | `/frihet status` | Account overview: recent invoices, pending payments, month's expenses | `/frihet status` | | `/frihet invoice` | Create, list, search invoices | `/frihet invoice "Acme 3500 EUR consulting enero"` | | `/frihet expense` | Log and query expenses | `/frihet expense "47.50 gasolina 15 feb"` | | `/frihet clients` | Manage client database | `/frihet clients "Acme"` | | `/frihet quote` | Create and manage quotes | `/frihet quote create` | | `/frihet report` | Financial summaries and P&L | `/frihet report quarterly` | | `/frihet webhooks` | Configure automation triggers | `/frihet webhooks` | | `/frihet setup` | Guided connection setup | `/frihet setup` |

MCP catalogue (158 canonical operations)

The table below lists the core resource groups. The catalogue contains **158 canonical operations across 20+ domains**; alias and discovery names are profile-specific. See the [README catalogue](https://github.com/Frihet-io/frihet-mcp#catalogue-operations-158) for the full list and capability semantics.

| Resource | Tools | Operations | |----------|-------|------------| | Intelligence | 4 | get_business_context, get_monthly_summary, get_quarterly_taxes, duplicate_invoice | | Invoices | 6 | list, get, create, update, delete, search | | Expenses | 5 | list, get, create, update, delete | | Clients | 5 | list, get, create, update, delete | | Products | 5 | list, get, create, update, delete | | Quotes | 5 | list, get, create, update, delete | | Webhooks | 5 | list, get, create, update, delete | | Banking | 5 | list_bank_accounts, get_bank_account, list_transactions, categorize_transaction, match_transaction_to_invoice | | Fiscal | 8 | modelo_303/130/390/180/347, verifactu_status, verifactu_resubmit, ticketbai_status | | Stay | 5 | list_reservations, get_reservation, create_reservation, list_properties, sync_channel | | POS | 4 | list_terminals, get_sale, list_sales, refund_sale | | Time Tracking | 4 | list_time_entries, create_time_entry, update_time_entry, delete_time_entry | | Recurring Invoices | 2 | list_recurring_invoices, run_recurring_now |

Core Decision Logic

Tax Rate Selection

Determine the correct tax based on the client's fiscal zone:

| Fiscal Zone | Tax | General Rate | Reduced | Super-reduced | |-------------|-----|-------------|---------|---------------| | `peninsula` | IVA | 21% | 10% | 4% | | `canarias` | IGIC | 7% | 3% | 0% | | `ceuta_melilla` | IPSI | 10% | — | — | | `eu` | Reverse charge | 0% | — | — | | `world` | Exempt | 0% | — | — |

**Decision flow for invoices:** 1. Check the client's address/fiscal zone 2. If `peninsula` → apply IVA at the rate matching the product/service type 3. If `canarias` → apply IGIC instead of IVA 4. If `eu` → 0% with "Inversión del sujeto pasivo" / "Reverse charge" note 5. If `world` → 0% exempt, no tax line

**IRPF retention (professional services only):**

  • Standard: 15%
  • New autónomo (first 3 years): 7%
  • Only applies when invoicing as a professional to a business (B2B peninsula)

For full tax details including quarterly models, deadlines, and expense deductibility rules, see `references/tax-guide.md`.

Expense Categorization

Auto-categorize expenses by matching keywords in the description:

| Category | Keywords (ES/EN) | |----------|-----------------| | `office` | oficina, papelería, material, supplies, stationery | | `technology` | software, SaaS, hosting, dominio, hardware, cloud | | `travel` | viaje, vuelo, tren, hotel, parking, flight, train | | `food` | comida, restaurante, café, meal, lunch, dinner | | `vehicle` | gasolina, combustible, fuel, peaje, toll, mantenimiento | | `professional` | asesoría, gestoría, abogado, notario, consulting | | `marketing` | publicidad, ads, diseño, campaign, SEO, social | | `general` | anything that doesn't match above |

Invoice Status Flow

draft → sent → paid
              → overdue → paid
                        → cancelled

Rectificativa (credit note) types, per the LIVA article each one keys on: R1 (art. 80.1-2 / 80.6 — error in law, returns, retroactive discounts), R2 (art. 80.3 — concurso de acreedores, i.e. a court has declared the cust

Read more
Ships withfrihet-erp

Official MCP server for Frihet ERP — 157 tools for AI-powered invoicing, tax & e-invoicing compliance (VeriFactu, TicketBAI, Facturae), banking, CRM, HR/payroll & POS. Works with Claude, ChatGPT, Cursor, Windsurf, Cline, Antigravity, Codex, Copilot, Gemini CLI — and any MCP-compatible client.

Get the whole plugin
Stats
9
Stars
2
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1d ago
Last commit
7mo ago
Created

Repo: Frihet-io/frihet-mcp