Documentation

All masking in Maskera runs locally on your device. Pick the mode that fits where your text lives and verify with made-up data.

Let your agent set up Maskera

Open llms.txt

Choose the right mode

Every entry point runs the same Swedish rules and local AI model.

ModeBest whenCommand / entry point
Browser extensionYou use web AI chats such as Copilot, ChatGPT and Claude in the browser.maskera.dev/en/services
Local proxy with MCPEvery prompt and tool output from your agent must be masked, and several clients should share one model and one session vault.npx -y @maskera/mcp proxy --root .
MCP over stdioYour client has no custom API URL and the agent reads and writes local files.npx -y @maskera/mcp --root . --no-raw-restore
Guard (hooks and pipes)You want to block PII in agent hooks (exit 2) or redact Unix pipes.npx -y @maskera/mcp guard
npm SDKYou embed Swedish masking inside your own web app or Node service.npm install maskera @huggingface/transformers
Diagram of Maskera's two layers: your text is split between rules for fixed-format data and a Swedish AI model for free text, then merged into masked text.Diagram of Maskera's two layers: your text is split between rules for fixed-format data and a Swedish AI model for free text, then merged into masked text.
See exactly what is maskedOpen full sizeOpen full size

Quickstart

One command starts a local proxy, checks that nothing leaks, and runs your agent through it. The background service and client installer are in the @maskera/mcp reference.

Terminal
npx -y @maskera/mcp wrap -- claude

Markdown, llms.txt, and built-in skill

Every page on maskera.dev has a plain Markdown sibling via Accept: text/markdown or a .md suffix (for example /en/docs.md and /en/docs/mcp.md). For a ready-made coding-agent prompt, see /setup-prompt.md and the full index at /llms.txt.

  • The MCP server also serves the full workflow skill directly as resource maskera://skills/maskera/SKILL.md and prompt maskera-workflow.
  • Pass --no-raw-restore when an agent may read and write local files without ever pulling raw PII back into chat.