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
- Claude Code installed
- Frihet account with API access (paid plans)
- Frihet MCP server configured (see instructions)
Installation
Recommended: Single command (30+ agents)
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
| Command | Description |
|---|---|
/frihet status | Account overview: recent invoices, pending payments, monthly expenses |
/frihet invoice | Create, list, or search invoices |
/frihet expense | Log and query expenses |
/frihet clients | Manage your client database |
/frihet quote | Create and manage quotes |
/frihet report | Financial summaries (P&L, quarterly, overdue) |
/frihet webhooks | Configure automation triggers |
/frihet setup | Guided 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:
| Concept | Detail |
|---|---|
| Standard VAT (IVA) | 21% |
| Reduced VAT | 10% (food, transport) |
| Super-reduced VAT | 4% (bread, books, medicine) |
| Professional IRPF withholding | 15% (7% during the first 3 years) |
| Modelo 303 | Quarterly VAT: Apr, Jul, Oct, Jan |
| Modelo 130 | Quarterly IRPF (direct estimation) |
| VeriFactu | SIF 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 Server | Skill | |
|---|---|---|
| Scope | 158 tools | Tools + business intelligence |
| Context | None | Spanish tax rules, deductibility, fiscal calendar |
| Workflows | Atomic operations | Multi-step recipes (close, 303, conversion) |
| Format | Raw JSON | Readable tables and summaries |
| Prerequisite | API key | API 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