Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

SwissDocAI

Swiss-hosted OCR, classification and data extraction for documents, via API or MCP

Runs locally

SwissDocAI is a freemium MCP server for document processing. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally
What it can do
Can delete data (1 tool)
Access
Needs a secret key or token
Version
0.2.1

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add mcp --env SWISSDOCAI_API_TOKEN='<SWISSDOCAI_API_TOKEN>' -- uvx swissdocai-mcp

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "swissdocai-mcp"
      ],
      "env": {
        "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "swissdocai-mcp"
      ],
      "env": {
        "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
      }
    }
  }
}

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

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "swissdocai-mcp"
      ],
      "env": {
        "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
      }
    }
  }
}

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

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swissdocai-mcp"
      ],
      "env": {
        "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
      }
    }
  }
}

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --env SWISSDOCAI_API_TOKEN='<SWISSDOCAI_API_TOKEN>' -- uvx swissdocai-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
command = "uvx"
args = ["swissdocai-mcp"]
env = { SWISSDOCAI_API_TOKEN = "<SWISSDOCAI_API_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "swissdocai-mcp"
      ],
      "env": {
        "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e SWISSDOCAI_API_TOKEN='<SWISSDOCAI_API_TOKEN>' mcp uvx -- swissdocai-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "uvx",
          "args": [
            "swissdocai-mcp"
          ],
          "env": {
            "SWISSDOCAI_API_TOKEN": "<SWISSDOCAI_API_TOKEN>"
          }
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SWISSDOCAI_API_TOKENAPI token from the SwissDocAI console (https://console.swissdocai.ch, API-Tokens)Required
  • SWISSDOCAI_BASE_URLAnother API address, for example an on-premises installation

About SwissDocAI

SwissDocAI reads scanned and digital documents, recognises what kind of document each one is, and pulls out the fields you define, such as amounts, dates, senders and bank details. Processing takes place in Switzerland. Beyond the core pipeline it offers separate calls for plain OCR, layout analysis with word coordinates, and finding and blacking out personal data in PDFs and scans.

Document types are described as labels in a web console, and each label carries its own extraction fields and file name template. Labels can also be created and tuned through the API or the MCP server, so an AI agent can adjust them against test documents and roll back earlier revisions.

The MCP server runs locally and lets AI clients such as Claude, Cursor or Codex process files by path, so the document itself does not have to be pasted into a chat. It is aimed at developers building document workflows and at teams that need Swiss-hosted processing for sensitive records.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 12 tools deletes data and 2 change data; 5 names don't say.

From the server's own tool labels and tool names; not verified by us.

process_document
OCR, classification into labels and extraction of fields; can split PDFs and save each document.
ocr_document
Returns the text of a document as Markdown with page markers and tables.
analyze_layoutName suggests: reads
Returns words, lines, paragraphs, tables and checkboxes with coordinates.
redact_document
Finds personal data and writes a redacted PDF next to the source file.
list_labelsName suggests: reads
Lists the workspace's labels with descriptions, fields and revisions.
get_labelName suggests: reads
Returns one label with its description, examples, fields and revision.
create_labelName suggests: changes
Creates a new document label.
update_labelName suggests: changes
Changes fields of an existing label if it is still at the revision that was read.
delete_labelName suggests: deletes
Deletes a label and all its revisions permanently.
list_label_revisionsName suggests: reads
Lists a label's earlier states.
restore_label_revision
Restores a label to an earlier revision.
classify_text
Classifies a text into the workspace's labels.

What it does

Full document pipeline
A single call runs OCR, classification and field extraction on PDFs, PNGs and JPGs.
Custom labels and fields
Define document types and the fields to extract, and manage them through the console or API.
Splitting multi-document PDFs
Finds individual documents inside a scanned stack and processes each one separately.
Personal data redaction
Locates names, birth dates, addresses and account numbers and returns redacted PDFs.
Layout with coordinates
Returns text as Markdown with word, line, table and checkbox positions on the page.
Local MCP server
Lets Claude, Cursor and Codex process files on disk without copying them into the chat.

Good for

  • Extracting totals, dates and IBANs from invoices in bulk
  • Sorting a scanned mail stack into separate documents and naming them
  • Blacking out personal data in medical or administrative reports before sharing
  • Digitising forms with tables and checkboxes into structured data
  • Tuning document classification rules with test files from an AI assistant

Pricing

Freemium

Free plan with 10 pages per day; Pro plan with 3,000 pages per month

Prices change. Check swissdocai.ch before you buy.

SwissDocAI FAQ

Where are documents processed?

SwissDocAI processes documents in Switzerland. Texts and findings are neither stored nor logged.

Is there a free tier?

The Free plan includes 10 pages per day, and the Pro plan includes 3,000 pages per month.

Can I run SwissDocAI on my own infrastructure?

The MCP server's base URL can be changed to another address, for example an on-premises installation.

Which file formats are supported?

Uploads accept PDF, PNG, JPG and JPEG, with a request limit of 50 MB.

How do I add SwissDocAI to Claude Code?

Run this command in your terminal: claude mcp add mcp --env SWISSDOCAI_API_TOKEN='<SWISSDOCAI_API_TOKEN>' -- uvx swissdocai-mcp

Where this comes from

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

How AIPoweredBot checks servers