Skip to content
MCP server

NinFenz Content Gate

Check AI-written documents against versioned contracts before release, with audit evidence

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally
Version
1.1.2
Listing updated
3 days ago

About NinFenz Content Gate

NinFenz Content Gate is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

NinFenz turns document requirements into versioned contracts that spell out sections, fields, parameters, approvals and forbidden patterns, then runs a deterministic gate over a draft. A failure returns a rule ID, a location and a fix hint, and the same checks run from the CLI, MCP, an agent or CI. Reports come as JSON and HTML that can be archived and re-verified, and combined with checksums, provenance and attestations.

It is explicit about its limits. It is not a DLP or IAM tool, does not block live prompt attacks and does not measure model drift or fairness. The project describes itself as a content contract layer that is domain-neutral and model-independent; the installer's doctor command and a read-only MCP mode started with nf serve are described in the README. The website and docs are in Chinese, with English and Japanese README versions.

The community edition is AGPL-3.0-only with CLI, MCP and LSP running locally. Paid offers include a four-week diagnostic, a Team Control pack with 40 control packs and 10 agent installers, and Enterprise terms with private deployment support and 4-hour first response on workdays. Prices are quoted per contract.

Install

Run in a terminal

claude mcp add ninfenz -- npx -y ninfenz

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ninfenz": {
      "command": "npx",
      "args": [
        "-y",
        "ninfenz"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ninfenz": {
      "command": "npx",
      "args": [
        "-y",
        "ninfenz"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "ninfenz": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ninfenz"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "ninfenz": {
      "command": "npx",
      "args": [
        "-y",
        "ninfenz"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "ninfenz": {
      "command": "npx",
      "args": [
        "-y",
        "ninfenz"
      ]
    }
  }
}

What it does

Versioned contracts
Write sections, fields, approvals and banned patterns as reproducible rules.
Deterministic gates
The same checks run in CLI, MCP, agents and CI, returning rule IDs and fix hints.
Audit evidence
JSON and HTML reports can be archived and re-verified.
Local-first
Core checks and reports run locally with no forced cloud service.
Read-only MCP mode
nf serve exposes the checks to MCP clients.
Commercial options
A diagnostic, Team Control packs and Enterprise licences are available.

Good for

  • Gate release notes or runbooks before publication
  • Give auditors evidence that a control was run
  • Check agent-written reports against a required structure
  • Attach reproducible evidence to a customer security questionnaire

Pricing

Open source

Community edition AGPL-3.0-only; commercial licences priced per contract

Prices change. Check ninfenz.dev before you buy.

NinFenz Content Gate FAQ

Does it verify facts?

No. It checks whether a document meets an explicit contract, not factual or legal correctness.

Is the open-source edition limited?

The site says the community edition keeps full core code, CLI, MCP and LSP under AGPL-3.0-only.

Can it run privately?

Yes, core checks and reports are local-first, and the Enterprise licence includes private deployment support.

How do I try the MCP server?

Run npx -y ninfenz doctor, then nf serve for the read-only MCP server.

Is NinFenz Content Gate free?

Yes. NinFenz Content Gate is open source, so you can use and self-host it for free.

How do I add NinFenz Content Gate to Claude Code?

Run this command in your terminal: claude mcp add ninfenz -- npx -y ninfenz

What are the best alternatives to NinFenz Content Gate?

The closest alternatives to NinFenz Content Gate are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to NinFenz Content Gate

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools