Skip to content
@DataFog

datafog

the embeddable PII engine. keep PII out of your LLM calls.
datafog: Keep PII out of your LLM calls.

Website · Documentation · MCP server · Core engine

datafog is the embeddable PII engine. Detect personal data and secrets inside your own process, in Rust, Python, Node or the browser, before they reach your model. No sidecar, no network call to scan.

  • Use it with Claude Code: datafog MCP scans local files and creates redacted, masked, or cleaned copies. The original stays unchanged. Tool responses report counts, locations, and copy paths without returning file contents or matched values.
  • Build it into your application: datafog core provides the Rust engine and SDKs for Python, Node.js, and browsers.

Start with a customer CSV

Have a customer export with emails and phone numbers? Ask Claude Code to check it, then create a copy with those fields redacted before analysis. Detection and transformation run locally.

Claude Code creates a redacted customer CSV with datafog MCP.

Install datafog MCP · Try the sample CSV · Privacy boundaries

Choose your starting point

Repository Role
datafog-mcp Local file scanning and redacted copies for AI agents. Stable v1.0.0, tested with Claude Code.
datafog-core Recommended starting point for new applications. Shared detection and transformation engine, with Rust, Python, Node.js, and browser SDKs.
datafog-python Established Python package, including the Claude Code hook and LiteLLM guardrail adapter. Moving to Core? Follow the migration guide.
datafog-claude-plugin Claude Code integration, with its own setup and release path.
fogclaw OpenClaw integration for PII detection and redaction.

Core is a separate package and API from the established datafog Python library. Existing integrations have their own capabilities and release paths; Core adoption is a separate next step.

Build with Core

  • Detect: scan text and parsed JSON records, including supported person-name fields, with local built-in detectors.
  • Transform: redact, mask, remove, pseudonymize, or tokenize selected values. Select entity types, apply per-entity rules, and exempt approved values.
  • Restore: restore provider-issued tokens under an exact request scope. Your provider owns storage and authorization.

Browser SDKs support detection and stateless transformations. Provider-backed pseudonymization, tokenization, and restoration are available in Rust, Python, and Node.js. See the SDK installation guide and transformation guide.

Core supplies detection and transformation. Your application or integration chooses where to invoke it and how to enforce policy.

Where we’re going

One shared privacy engine across more application, agent, and gateway workflows. Core owns detection and transformation; integrations connect that behavior to the places data moves, including workflow-specific interception and enforcement.

Follow the Core roadmap for implementation status and the Core releases for shipped capabilities.

Links

Website · Documentation · Installation · Contributing · Discord

Pinned Loading

  1. datafog-core datafog-core Public

    PII detection and privacy transformations for text and structured records. Built in Rust, with Python, Node.js, and browser SDKs.

    Rust 4 1

  2. datafog-python datafog-python Public

    Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

    Python 80 15

  3. datafog-mcp datafog-mcp Public

    MCP server for local PII scanning and redaction. Check sensitive files and create redacted copies from Claude Code. Powered by DataFog Core.

    Python

  4. fogvault fogvault Public

    Privacy vault, written in Rust

    Rust

Repositories

Showing 10 of 20 repositories
  • datafog-core Public

    PII detection and privacy transformations for text and structured records. Built in Rust, with Python, Node.js, and browser SDKs.

    DataFog/datafog-core's past year of commit activity
    Rust 4 MIT 1 22 4 Updated Nov 2, 2026
  • fogmachine Public

    Shared DataFog development environments, verification adapters, and pilot workspaces

    DataFog/fogmachine's past year of commit activity
    Python 0 0 1 2 Updated Oct 31, 2026
  • fogvault Public

    Privacy vault, written in Rust

    DataFog/fogvault's past year of commit activity
    Rust 0 MIT 0 0 0 Updated Oct 31, 2026
  • datafog-lance-context Public

    Real lance-context training exports reviewed with DataFog Core, with a local UI and reproducible synthetic data.

    DataFog/datafog-lance-context's past year of commit activity
    Python 0 MIT 0 0 0 Updated Oct 30, 2026
  • datafog Public

    Policy-first API and policy gate for AI/CLI workflows: detect sensitive data, decide allow/transform/deny, and emit auditable receipts.

    DataFog/datafog's past year of commit activity
    Go 1 MIT 0 0 2 Updated Oct 30, 2026
  • datafog-python Public

    Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

    DataFog/datafog-python's past year of commit activity
    Python 80 MIT 15 2 9 Updated Oct 30, 2026
  • .github Public
    DataFog/.github's past year of commit activity
    0 0 0 0 Updated Oct 30, 2026
  • datafog-mcp Public

    MCP server for local PII scanning and redaction. Check sensitive files and create redacted copies from Claude Code. Powered by DataFog Core.

    DataFog/datafog-mcp's past year of commit activity
    Python 0 MIT 0 3 5 Updated Oct 13, 2026
  • mintlify-docs Public
    DataFog/mintlify-docs's past year of commit activity
    MDX 0 MIT 0 0 0 Updated Aug 29, 2026
  • rust-poc Public
    DataFog/rust-poc's past year of commit activity
    Rust 0 0 0 0 Updated Aug 25, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.