Claude Code model router

Pasteguard

AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents.

Install

From source
git clone https://github.com/sgasser/pasteguard.git

From the README

AI gets the context. Not your private data.
  PasteGuard masks PII and secrets before they reach ChatGPT, Claude, Gemini, your API provider, Codex, or Claude Code.

  Browser Chat ·
  Apps & APIs ·
  Coding Agents ·
  Documentation

  You keep the originals. Providers see placeholders.
  Run it locally or self-host it in your own infrastructure.

What PasteGuard Protects

PasteGuard is a local-first privacy layer for teams that cannot send raw client data, customer records, logs, credentials, or production details directly to model providers.

It works in three places:

Browser Chat

ChatGPT, Claude, and Gemini. Paste customer notes, contracts, support tickets, candidate details, or internal context without sending the raw private values to the chat provider. You see the originals; the AI sees placeholders.

The experimental browser extension is available for ChatGPT, Claude, and Gemini.

Install the extension → · Chat docs →

Apps & APIs

Apps, SDKs, and internal AI products. Point your application to PasteGuard instead of the provider directly.

Change one base URL. PasteGuard masks the request, forwards it to the configured provider, and restores supported placeholders in the response.

Apps & APIs docs

Coding Agents

Codex, Claude Code, Cursor, Windsurf, Copilot, and other coding agents. Agent prompts often include logs, stack traces, tickets, config files, test fixtures, and codebase context. PasteGuard masks secrets and PII before that context leaves your machine.

Coding Agents docs

Built For Strict Privacy Rules

PasteGuard is a privacy control point before AI providers. It can support regulated workflows, but it does not replace your legal, security, or compliance program.

Use it when your current options are:

- Do not use cloud AI for sensitive work
-…
Read the full README on GitHub

Details

Language
TypeScript
License
Apache-2.0
Last updated
13 October 2026
Topics
anthropicbrowser-extensionchatgptclaudecodexdata-protectionllmllm-privacylocal-firstopenaipiipii-detection

FAQ

What is Pasteguard?

AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents. It is a model router for Claude Code, from sgasser/pasteguard on GitHub.

How do I install Pasteguard?

Clone sgasser/pasteguard from GitHub and follow the setup steps in its README.

Is Pasteguard popular?

sgasser/pasteguard has 805 GitHub stars and 44 forks. It was last updated on 13 October 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.