Frihet MCP Server
An official MCP server that lets AI assistants run Frihet ERP work — invoicing, tax compliance, banking, CRM, HR and POS — in natural language.
- Source repo
- Frihet-io/frihet-mcp
- Stars
- ★ 13
- Last updated
- 2d ago
- FARS reviewed
- Nov 15, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 71/100 · Some gaps
At a glance
- Works with
- Universal · cross-platformChatGPT · Codex · Claude Code · Claude.ai
- You'll need
- Typical use
- A freelance consultant in Claude Code says “create an invoice for TechStart SL, 40 hours at 75 EUR/hour, due March 1st” and create_invoice produces a draft invoice including 21% IVA.
- Main limitation
- Requires a Frihet account and API key; one key maps to one workspace, so it is unusable standalone.
- Website
- frihet.io/en/mcp ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-21
- Source review
- 71/100 · Some gaps
What does this agent do, and when should you use it?
frihet-mcp is the official MCP server for Frihet ERP, exposing invoicing, expenses, clients and CRM, banking, HR and attendance, payroll, POS and Spanish tax compliance as tools an AI assistant can call. The catalogue holds 158 canonical operations, 5 fiscal aliases and 10 prompts; the local full profile serves 163 tool names and 11 resources, while the hosted Worker runs in grouped mode with 166 tool names and the 7 static resources. You can run it locally over stdio with npx and a FRIHET_API_KEY, or connect straight to https://mcp.frihet.io/mcp using OAuth 2.1 PKCE or a Bearer key. Every tool returns typed JSON through outputSchema, and each tools/list entry carries _meta["io.frihet/capability"] with callability, writesFrihet and externalSideEffects so an agent can judge side effects. Writes default to drafts, and anything that emails a client, fires a webhook, moves money or reaches a tax authority requires confirm=true. Note that parts of the catalogue (KSeF, Modelo 180/200/202, the IGIC models, AIEM) currently return NOT_DEPLOYED, so catalogue membership does not guarantee a live backing API in your workspace.
The server maps the Frihet REST API onto MCP: initialize returns an instructions string, and tools/list returns each name with its input schema and capability metadata. Calls land in handlers — create_invoice builds a draft invoice from line items, list_invoices and get_invoice page through records, get_invoice_pdf returns bounded base64 PDF bytes and get_invoice_einvoice returns XML or Factur-X bytes. Tax and e-invoicing chains run through get_modelo_303_summary, get_modelo_130_summary, get_modelo_347_summary, get_quarterly_taxes, verifactu_status, verifactu_resubmit, ticketbai_submit, face_submit, send_einvoice, validate_einvoice_xml and export_datev. The rest covers intelligence summaries (get_business_context, get_monthly_summary), expenses and vendors, clients plus CRM contacts, activities and notes, quotes, webhooks, bank accounts and transaction categorization, deposits, time tracking, recurring invoices, team management, gestoría cross-client messaging and AR aging, HR leave and attendance, payroll exports, POS terminals and kitchen tickets. Seven static resources (frihet://tax/rates, frihet://tax/calendar, frihet://config/currencies and others) plus four API-backed workspace resources supply reference context, and ten prompts (monthly-close, quarterly-tax-prep, cash-flow-forecast and others) drive guided multi-step workflows.
- A freelance consultant in Claude Code says “create an invoice for TechStart SL, 40 hours at 75 EUR/hour, due March 1st” and create_invoice produces a draft invoice including 21% IVA.
- A Spanish SME owner preparing quarterly filings pulls figures with get_quarterly_taxes and get_modelo_303_summary, reading frihet://tax/rates instead of recalling a tax rate.
- An accountant at a gestoría sends a document request to up to 500 client workspaces with gestoria_template_bulk_send and reviews cross-client AR aging via gestoria_aging_consolidated.
- A restaurant running Frihet POS spots a slow station through list_kitchen_tickets and kitchen_flow_summary, then issues a refund with refund_sale.
- An HR admin handles leave with leave_approve, punches time with attendance_clock_in and attendance_clock_out, and reviews overtime_report, anomaly_list and payroll_checklist before payroll.
- A developer building an in-house agent reads docs/agent-onboarding.json and runs FRIHET_TOOL_MODE=grouped so search_tools and describe_tool load schemas only on demand.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add Frihet-io/frihet-mcp
- Environment variables
FRIHET_API_KEYFRIHET_API_URL- Runtime
- Node.js 22.23.4+
How do you install or deploy this agent?
Hosted, no local install — add the remote server to any OAuth-capable client and sign in through the browser:
claude mcp add --transport http frihet https://mcp.frihet.io/mcpLocal installs need Node 22.23.4+, 24.22.1+ or 26.12.1+, plus an API key created in app.frihet.io under Settings > API (it starts with fri_ and is shown once).
claude mcp add frihet -s user -e FRIHET_API_KEY=fri_your_key_here -- npx -y @frihet/mcp-serverCodex CLI reads TOML, so use the command rather than pasting a JSON block:
codex mcp add frihet --env FRIHET_API_KEY=fri_your_key_here -- npx -y @frihet/mcp-serverNo account yet? Demo mode answers from example data, persists nothing and makes no network calls:
FRIHET_DEMO=1 npx -y @frihet/mcp-serverClaude Desktop, Cursor, Windsurf and Cline use the same JSON shape:
{
"mcpServers": {
"frihet": {
"command": "npx",
"args": ["-y", "@frihet/mcp-server"],
"env": {
"FRIHET_API_KEY": "fri_your_key_here"
}
}
}
}Install the coding-agent skill:
npx skills add Frihet-io/frihet-mcpOr build from source:
git clone https://github.com/Frihet-io/frihet-mcp.git
cd frihet-mcp
npm install
npm run build
FRIHET_API_KEY=fri_xxx node dist/index.jsHow do you use this agent?
For clients without OAuth, point at the hosted server with a bearer key instead:
{
"mcpServers": {
"frihet": {
"type": "streamable-http",
"url": "https://mcp.frihet.io/mcp",
"headers": {
"Authorization": "Bearer fri_your_key_here"
}
}
}
}Configuration: FRIHET_API_KEY is required for stdio; FRIHET_API_URL defaults to https://api.frihet.io/v1; FRIHET_TOOL_MODE defaults to full and can be set to grouped, which collapses each tool description to one line and adds the discovery tools list_tool_groups, search_tools and describe_tool without changing operation names, schemas or handlers.
Once connected, orient with get_business_context and frihet://tax/rates before issuing fiscal requests. Then ask in plain language: “show me all unpaid invoices”, “log a 59.99 EUR expense for Adobe Creative Cloud, category: software, tax-deductible”, “match this bank transaction to INV-2026-089”, or for a first write, “create an invoice for Acme SL with 10h of consulting at 95/hour”. Tools that email third parties (send_invoice, send_quote) or submit to a tax authority additionally require confirm=true, which records a human decision.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- confirmation before acting
- disclosed external effects
What are this agent's strengths and limitations?
- Unusually broad coverage: 158 canonical operations spanning invoicing, expenses, CRM, banking, deposits, time tracking, recurring invoices, team, gestoría, HR attendance, payroll, POS and kitchen tickets.
- Two delivery paths from one catalogue: a hosted server reached with OAuth 2.1 PKCE or a Bearer key, or a local npx stdio process with identical operation names and handlers.
- Explicit safety model: create_invoice, create_quote and create_credit_note default to status=draft with no fiscal number or hash, and tools with externalSideEffects additionally require confirm=true.
- Agent-oriented evidence: _meta["io.frihet/capability"] reports callability, writesFrihet and externalInteraction per tool, plus a machine-readable contract in docs/agent-onboarding.json.
- Concrete Spanish fiscal and e-invoicing support: VeriFactu, TicketBAI, FACe, Facturae, Modelo 303/130/347/390, IGIC and VIES validation each have dedicated tools.
- MIT licensed and listed on the official MCP Registry (io.frihet/erp), the GitHub MCP Registry, npm and a published ChatGPT app.
- Requires a Frihet account and API key; one key maps to one workspace, so it is unusable standalone.
- Catalogue membership is not availability: KSeF, Modelo 180/200/202, Modelo 415/425/418 and AIEM tools currently return NOT_DEPLOYED and depend on workspace enablement.
- No OCR, PDF scanning, file upload or image processing — paper invoices must be digitized elsewhere first.
- Local installs are version-sensitive: Node 22.23.4+, 24.22.1+ or 26.12.1+ is required.
- The fiscal depth is Spain-specific; outside Spain the value concentrates on generic invoicing and CRM.
- The ChatGPT app is a separately reviewed 33-operation profile (17 reads, 16 writes), far narrower than the full catalogue.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Frihet MCP Server This agent | 71 · Some gaps | — | ★ 13 | 2d ago | TypeScript | ChatGPT · Codex · Claude Code · Claude.ai |
| Hermes Studio | 78 · Good | Desktop appFree + model costs | ★ 12k | today | TypeScript | Codex · Claude Code · OpenAI API |
| Kody Personal Assistant Platform | 76 · Good | CLIFree + model costs | ★ 989 | today | TypeScript | — |
| SwarmVault | 75 · Good | CLIFree + model costs | ★ 739 | 4mo ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Least privilege: API key is bound to one workspace, FRIHET_API_URL is constrained to frihet.io hosts, and OpenAI/Claude profiles apply tool allowlists with exclusion counts; however the full profile still exposes 158+ operations with no per-tool scope declaration visible, so deducted. User confirmation: README, SKILL.md and AGENTS.md consistently require showing affected records before writes, confirm=true recording a human decision, and draft-by-default, well evidenced. Data flow transparency: AGENTS.md states requests go only to api.frihet.io and Langfuse, but Langfuse telemetry is on by default and not surfaced to end users in the README, deducted. Sensitive data: masking of NIF/IBAN/email in logs and non-echoing of credentials are stated conventions, but no implementation code is in the packet, deducted. Dependency security: one pinned runtime dependency, overrides, lockfile hash checks and --ignore-scripts in CI, but no vulnerability scanning step, deducted. External effects: externalSideEffects metadata, confirm guards, draft defaults and NOT_DEPLOYED labels are handled thoroughly. Rollback: only delete has soft-delete/cancel semantics; no general undo or recovery path is shown, deducted. Source attribution: LICENSE copyright is BRTHLS while the author is Frihet, an attribution inconsistency, deducted.
Self-consistency: multiple counts (158/163/166/33) are explicitly distinguished and said to be pinned by a generated contract, but README and CLAUDE.md disagree on Node version (22.23.4+ vs >=20), deducted. Dependency availability: engines and CI pin Node 22.23.4 and dependencies are locked, but the required zod peer dependency is not emphasized in install notes, deducted. Failure messages: index.ts gives human-readable plus machine-readable JSON with recovery paths for a missing API key and errors are sanitized via shared helpers, but only the entry point is visible.
Audience and scenarios: multi-client setup, demo mode, skill and domain-grouped prompt examples are thorough. Capability boundaries: explicit statements that OCR/PDF/file upload are out of scope, NOT_DEPLOYED tools, one key per workspace and profile differences are thorough. Trigger precision: SKILL.md descriptions include Spanish trigger words and scenarios, but several skills (frihet-mcp/clientes/cobros/documentos) overlap with no stated routing priority, deducted. Environment fit: stdio, remote HTTP, OAuth, Smithery and Gemini extension are supported, but Node version requirements are strict and documented inconsistently, deducted.
Information architecture: README is clear but very long with a collapsed catalogue, and AGENTS.md/CLAUDE.md roles are distinct, adequate. Install notes: commands and config file paths for many clients are complete, thorough. Naming stability: canonical snake_case and a generated contract are claimed, but multiple counts and aliases (158/163/166) invite confusion, deducted. Examples and FAQ: real prompt examples and a demo exist, but there is no dedicated FAQ, deducted. Known limitations: OCR absence, NOT_DEPLOYED tools and single-workspace limits are listed but not consolidated into one section, deducted. License: MIT file exists and matches package.json, but the copyright holder BRTHLS differs from publisher Frihet, deducted. Versioning/changelog: package.json 2.0.2, plugin 1.18.0-preview.4 and marketplace 2.0.2 coexist and no CHANGELOG file is present, deducted. Maintenance responsibility: SECURITY.md contact, support link and maintainer statement exist, but publisher identity is unverified, deducted.
Output usability: human-readable content plus schema-valid structuredContent, pagination and currency-grouping rules are required, but no concrete output sample is shown. Marginal value: connecting ERP operations to any MCP client is clearly useful, but most operations are REST CRUD wrappers, limiting increment. Cost benefit: a single dependency and demo mode lower trial cost, but 158+ tools consume context, partly mitigated by the grouped profile.
Claim traceability: README counts are said to be pinned by a generated contract and CI gates with named scripts and tests, but the contract file itself is not in the packet. Cross-source corroboration: README, AGENTS.md, SKILL.md and package.json corroborate the safety and confirmation rules, but conflict on version and Node requirements. Fact/inference separation: SKILL.md explicitly requires separating confirmed results from unknown outcomes and not treating timeouts as success, which is strong; however some README badges and registry statuses are self-asserted and not verifiable inside the package.
- Langfuse telemetry is enabled by default and its outbound scope is not disclosed to end users in the README; confirm it can be disabled before use.
- The LICENSE copyright holder is BRTHLS, inconsistent with publisher Frihet; attribution should be verified.
- README and CLAUDE.md disagree on Node version requirements (22.23.4+ vs >=20), which may cause install failures.
- Multiple version numbers coexist across package.json, plugin manifest and marketplace, and no CHANGELOG is present, making version tracking difficult.
- The full profile exposes 158+ tools, consuming significant model context; prefer the grouped or restricted profiles.
- Publisher identity is unverified; maintenance and update paths should be confirmed independently.
FAQ
Is Frihet MCP Server open source?
Is Frihet MCP Server safe to use?
Is Frihet MCP Server still maintained?
Who makes Frihet MCP Server?
What is Frihet MCP Server's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.