Skip to content
@DataFog

DataFog

Open-source privacy tools for AI workflows. Local PII detection and redaction with DataFog MCP and DataFog Core.

DataFog

DataFog

Keep sensitive data out of AI workflows.

Website · Documentation · MCP server · Core engine

DataFog builds open-source tools for local PII detection and privacy transformations.

  • 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 2 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 78 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

Repositories

Showing 10 of 17 repositories

People

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

Top languages

Loading…

Most used topics

Loading…