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
Choose the right mode
Every entry point runs the same Swedish rules and local AI model.
| Mode | Best when | Command / entry point |
|---|---|---|
| Browser extension | You use web AI chats such as Copilot, ChatGPT and Claude in the browser. | maskera.dev/en/services |
| Local proxy with MCP | Every 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 stdio | Your 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 SDK | You embed Swedish masking inside your own web app or Node service. | npm install maskera @huggingface/transformers |
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.
npx -y @maskera/mcp wrap -- claudeMarkdown, 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.