# csv2zugferd

> csv2zugferd is an MCP server for finance and payments. Lets an AI assistant draft and test the CSV mapping for csv2zugferd e-invoices. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** Windows, CLI
- **Website:** https://zugferd-tools.de/docs/mcp-server/
- **Repository:** https://github.com/rillsoft/csv2zugferd
- **MCP Registry name:** de.zugferd-tools/csv2zugferd
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-23

## About

The server ships inside the csv2zugferd command-line tool (version 1.3.0 and later) and starts with `csv2zugferd mcp`. Its job is narrow: setting up the YAML configuration that maps CSV columns to a ZUGFeRD or Factur-X invoice. The production run stays with the CLI, which the docs describe as local and deterministic, with no model involved.

The assistant reads a CSV header, pulls the configuration reference, drafts config.yml and then runs a dry run against the real mapping code. The dry run reports invoice number, type, totals, tax breakdown and warnings, so the model can correct the YAML until the numbers match.

It is explicitly not an invoice generator in chat: it writes no XML or PDF for production use. It needs csv2zugferd 1.3.1 or later, either the Windows exe or the NuGet tool package (which requires the .NET 10 SDK and runs through dnx). Logs go to a local folder, and the server uses no port or API key.

## Features

- **CSV header inspection:** Returns column names in file order, the row count and optionally up to three sample rows.
- **Config reference lookup:** Serves every YAML key with type, default and allowed values, or just one subtree such as mapping.lineItems.
- **Dry-run validation:** Reports unknown keys, invalid values, ignored sections and missing or unused CSV columns.
- **Real mapping preview:** Runs the actual mapping and shows totals, tax breakdown and warnings with code and path.
- **Saves checked config:** Writes the validated configuration to a file.
- **Local stdio transport:** The client starts the server itself; no port, session or API key.

## Good for

- Set up the column mapping for a first CSV-to-ZUGFeRD run
- Find missing or unused columns in an existing config.yml
- Check invoice totals and tax breakdown before production runs
- Let Claude Code or VS Code draft the YAML from a sample file

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add csv2zugferd -- dnx csv2zugferd --yes
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add csv2zugferd -- dnx csv2zugferd --yes
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.csv2zugferd]
command = "dnx"
args = ["csv2zugferd", "--yes"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user csv2zugferd dnx -- csv2zugferd --yes

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "csv2zugferd": {
      "command": "dnx",
      "args": [
        "csv2zugferd",
        "--yes"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 5 tools read data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `csv2zugferd_csv_header_get`: Reads CSV column names, row count and optional sample rows.
- `csv2zugferd_config_schema_get`: Returns the configuration reference, optionally for one section.
- `csv2zugferd_config_get` (name suggests: reads): Validates a config and reports unknown keys, bad values and column problems.
- `csv2zugferd_invoice_get` (name suggests: reads): Runs the real mapping as a dry run and shows totals, taxes and warnings.
- `csv2zugferd_config_file_create`: Writes the checked configuration to a file.

## FAQ

### Does csv2zugferd create the e-invoice files?

No. The docs say it produces no XML or PDF for production; the CLI does that.

### Which clients work?

Claude Desktop, Claude Code, VS Code or any client with stdio transport.

### What does csv2zugferd need installed?

csv2zugferd 1.3.1 or later, as the Windows exe or the NuGet package, which needs the .NET 10 SDK.

### Does data go to a cloud service?

The docs say the production run is local with no cloud upload by csv2zugferd. Your assistant's own model provider still sees whatever you share with it.

### How do I add csv2zugferd to Claude Code?

Run this command in your terminal: claude mcp add csv2zugferd -- dnx csv2zugferd --yes

### What are the best alternatives to csv2zugferd?

The closest alternatives to csv2zugferd are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Scholar Sidekick and Australian Economic Data (ABS, RBA & APRA).

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Scholar Sidekick](https://ai-powered.com/mcp/scholar-sidekick): Scholar Sidekick is a freemium MCP server for education and exams.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Stashpad](https://ai-powered.com/mcp/stashpad): Stashpad is an open-source MCP server for files and documents.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/csv2zugferd
