# NinFenz Content Gate

> NinFenz Content Gate is an open-source MCP server for developer tools. Check AI-written documents against versioned contracts before release, with audit evidence. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, API
- **Website:** https://ninfenz.dev
- **Repository:** https://github.com/monyeah777/ninfenz
- **MCP Registry name:** io.github.Monyeah777/ninfenz
- **Categories:** developer tools, files and documents
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add ninfenz -- npx -y ninfenz
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ninfenz-content-gate
