Skip to main content

Claude Code Skill

Frihet's skill for Claude Code turns your terminal into a business management assistant. It goes beyond raw API access — adding Spanish tax context, workflow recipes, formatted financial reports, and natural-language commands.

Requirements​

Installation​

npx skills add Frihet-io/frihet-mcp

Installs the skill and configures it automatically. Works with Claude Code, Cursor, Copilot, Codex, Windsurf, Gemini CLI, and 30+ more agents.

Alternative: Manual copy​

curl -sL https://raw.githubusercontent.com/Frihet-io/frihet-mcp/main/skill/SKILL.md \
-o ~/.claude/skills/frihet-mcp/SKILL.md --create-dirs

Configure the MCP server​

If you haven't set it up yet, add this to your ~/.claude/mcp.json:

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

To get your API key: in app.frihet.io, go to Integrations → API Keys and click Create API Key.

Commands​

CommandDescription
/frihet statusAccount overview: recent invoices, pending payments, monthly expenses
/frihet invoiceCreate, list, or search invoices
/frihet expenseLog and query expenses
/frihet clientsManage your client database
/frihet quoteCreate and manage quotes
/frihet reportFinancial summaries (P&L, quarterly, overdue)
/frihet webhooksConfigure automation triggers
/frihet setupGuided setup and connection test

Usage examples​

Create an invoice​

/frihet invoice "Acme SL, 40 hours of consulting at 75 EUR/hour, due March 1st"

Claude creates the invoice with line items, calculates VAT at 21%, and confirms the assigned number.

Log expenses fast​

/frihet expense "47.50 gasoline Feb 15"
/frihet expense "Adobe CC 59.99 software"
/frihet expense "Client lunch 23.40 restaurant"

The skill infers the category and marks whether it is deductible under Spanish tax rules.

Prepare quarterly VAT​

/frihet report quarterly

Calculates automatically:

  • Output VAT (collected on invoices)
  • Input VAT (paid on deductible expenses)
  • Net result to pay or offset
  • Data ready for Modelo 303

Overdue follow-up​

/frihet report unpaid

Lists overdue invoices sorted by amount and days past due, and suggests follow-up actions.

Monthly close​

/frihet report

Full monthly summary: invoiced revenue, expenses, net result, net VAT, and unpaid invoices.

Built-in Spanish fiscal context​

The skill includes Spanish tax rules out of the box:

ConceptDetail
Standard VAT (IVA)21%
Reduced VAT10% (food, transport)
Super-reduced VAT4% (bread, books, medicine)
Professional IRPF withholding15% (7% during the first 3 years)
Modelo 303Quarterly VAT: Apr, Jul, Oct, Jan
Modelo 130Quarterly IRPF (direct estimation)
VeriFactuSIF users compliant before 6 October 2028 (RDL 43/2026); separate manufacturer and B2B e-invoicing duties

It also applies Spanish expense deductibility rules (fuel 50%, meals up to €26.67/day, etc.) when logging expenses.

Workflows​

The skill ships recipes for common multi-step operations:

  • Monthly close — Summary of revenue, expenses, VAT, and net profit
  • Modelo 303 prep — Quarterly VAT pre-calculation with line-by-line breakdown
  • Client onboarding — Create client + first invoice in a single step
  • Quote to invoice — Convert an accepted quote into an invoice
  • Expense batch — Log multiple expenses at once with automatic categorization
  • Overdue collection — Overdue invoices sorted by amount and days past due

Difference vs. the MCP server​

MCP ServerSkill
Scope158 toolsTools + business intelligence
ContextNoneSpanish tax rules, deductibility, fiscal calendar
WorkflowsAtomic operationsMulti-step recipes (close, 303, conversion)
FormatRaw JSONReadable tables and summaries
PrerequisiteAPI keyAPI key + MCP server

The skill uses the MCP server underneath. It does not duplicate logic — it adds domain context.

Security​

  • Your API key is managed exclusively via environment variables in your MCP configuration
  • The skill never displays, logs, or stores your API key
  • All traffic is encrypted between Claude Code, the MCP server, and the Frihet API
  • The MCP server is a stateless bridge — it stores nothing