Skip to main content
ClaudeWave

Unofficial read-only MCP server for the wFirma API v2 (api2.wfirma.pl)

MCP ServersOfficial Registry1 stars0 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
87/100
Trusted
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Documented (README)
Last scanned: 8/28/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/agente-dev/wfirma-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "wfirma-mcp": {
      "command": "node",
      "args": ["/path/to/wfirma-mcp/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/agente-dev/wfirma-mcp and follow its README for install instructions.
Use cases

MCP Servers overview

# wFirma MCP

Unofficial, read-only MCP server for the [wFirma](https://wfirma.pl/) API v2
(`api2.wfirma.pl`). Gives MCP-compatible AI assistants typed, read-only access
to company data, invoices, contractors, expenses, and payments — with
credentials that never leave your machine and no commercial middleware between
you and wFirma.

Not affiliated with wFirma. "wFirma" is a trademark of its respective owner.

## Tools (9, all read-only)

| Tool | Endpoint |
|---|---|
| `wfirma_list_companies` | `GET /user_companies/find` |
| `wfirma_list_invoices` | `GET /invoices/find` |
| `wfirma_get_invoice` | `GET /invoices/get/{id}` |
| `wfirma_list_contractors` | `GET /contractors/find` |
| `wfirma_get_contractor` | `GET /contractors/get/{id}` |
| `wfirma_list_expenses` | `GET /expenses/find` |
| `wfirma_get_expense` | `GET /expenses/get/{id}` |
| `wfirma_list_payments` | `GET /payments/find` |
| `wfirma_get_payment` | `GET /payments/get/{id}` |

Every company-scoped tool requires the internal `companyId` returned by
`wfirma_list_companies`. A Polish NIP is **not** accepted as a company id.

## Why read-only

The server intentionally contains no add, edit, delete, send, fiscalization,
KSeF, or payment-mutation operation. The full list of excluded categories,
reviewed against the official documentation at
[doc.wfirma.pl](https://doc.wfirma.pl/), is recorded in
[`coverage-manifest.json`](coverage-manifest.json). If you need writes, use
wFirma's own tooling — not this server.

## Setup

### Credentials

wFirma API keys are created in your wFirma panel (Integrations → API).
Required environment variables:

- `WFIRMA_ACCESS_KEY`
- `WFIRMA_SECRET_KEY`
- `WFIRMA_APP_KEY`

See [`.env.example`](.env.example). Never commit real values.

### Build

```bash
pnpm install
pnpm build      # → dist/index.js (self-contained esbuild bundle)
pnpm test       # all HTTP traffic is mocked; no live account needed
```

### Claude Desktop / any stdio MCP client

```json
{
  "mcpServers": {
    "wfirma": {
      "command": "node",
      "args": ["/absolute/path/to/wfirma-mcp/dist/index.js"],
      "env": {
        "WFIRMA_ACCESS_KEY": "your-access-key",
        "WFIRMA_SECRET_KEY": "your-secret-key",
        "WFIRMA_APP_KEY": "your-app-key"
      }
    }
  }
}
```

### Claude Code / Cursor (scope: project)

```bash
claude mcp add wfirma -- node /absolute/path/to/wfirma-mcp/dist/index.js
```

## Design notes

- **No runtime dependencies beyond the MCP SDK and zod.** The client uses
  Node's stdlib `https` with a hard 20s timeout and a bounded response-size
  guard.
- **Fail-closed error taxonomy.** Missing credentials, non-numeric company
  ids, oversized responses, and auth failures each raise a distinct
  `wfirma_*` error code instead of a generic failure.
- **No PII in logs.** Tool parameters are never logged.
- **Coverage manifest.** `coverage-manifest.json` maps every tool to its
  endpoint, risk class, and the test that proves it; a CI test enforces the
  manifest stays in sync with the source.

## License

[MIT](LICENSE)

What people ask about wfirma-mcp

What is agente-dev/wfirma-mcp?

+

agente-dev/wfirma-mcp is mcp servers for the Claude AI ecosystem. Unofficial read-only MCP server for the wFirma API v2 (api2.wfirma.pl) It has 1 GitHub stars and its last recorded update is dated 2026-08-27.

How do I install wfirma-mcp?

+

You can install wfirma-mcp by cloning the repository (https://github.com/agente-dev/wfirma-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is agente-dev/wfirma-mcp safe to use?

+

Our security agent has analyzed agente-dev/wfirma-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains agente-dev/wfirma-mcp?

+

agente-dev/wfirma-mcp is maintained by agente-dev. The last recorded GitHub activity is dated 2026-08-27, with 0 open issues.

Are there alternatives to wfirma-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy wfirma-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: agente-dev/wfirma-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/agente-dev-wfirma-mcp)](https://claudewave.com/repo/agente-dev-wfirma-mcp)
<a href="https://claudewave.com/repo/agente-dev-wfirma-mcp"><img src="https://claudewave.com/api/badge/agente-dev-wfirma-mcp" alt="Featured on ClaudeWave: agente-dev/wfirma-mcp" width="320" height="64" /></a>

More MCP Servers

wfirma-mcp alternatives