原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Lens MCP

作者:mrhpython版本 1.1.1i★ –i在你的电脑上运行
注册名称io.github.mrhpython/lens-mcp

安装

概览

作者提供的说明(英文原文)

Outside-in validation gate for AI-generated text; a separate model checks LLM output, fail-closed.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:SOULFIELD_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SOULFIELD_API_BASE, SOULFIELD_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "lens": {
      "command": "npx",
      "args": [
        "-y",
        "@soulfield/lens-mcp"
      ],
      "env": {
        "SOULFIELD_API_BASE": "your-value",
        "SOULFIELD_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add lens --env SOULFIELD_API_BASE=your-value --env SOULFIELD_API_KEY=your-value -- npx -y @soulfield/lens-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "lens": {
      "command": "npx",
      "args": [
        "-y",
        "@soulfield/lens-mcp"
      ],
      "env": {
        "SOULFIELD_API_BASE": "your-value",
        "SOULFIELD_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "lens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@soulfield/lens-mcp"
      ],
      "env": {
        "SOULFIELD_API_BASE": "your-value",
        "SOULFIELD_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SOULFIELD_API_BASE env
    Lens API base URL. Use https://api.soulfield.one for the hosted service.
  • SOULFIELD_API_KEY 机密 env
    API key for validate_content and scrub_pii. Get one free, self-serve, no card, at https://api.soulfield.one/pricing#signup. lens_health needs no key.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mrhpython 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7215 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7215 个服务器的 34% 更新
  • 基础检查结果等于或优于此分类中其他 7215 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Lens MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SOULFIELD_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.1)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT3天前更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT44天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Soulfield Lens — MCP server

Long jobs can use validation_submit followed by validation_receipt on a fresh MCP connection. Save the returned job ID with the candidate SHA-256 locally. Retrieve that ID after a polling timeout; do not submit the content again. Pending, failed, expired and incomplete jobs confer no clearance. An uncertain submission without a returned ID must not be automatically retried. The existing validate_content tool is unchanged. See test/validation-jobs.test.cjs for offline recovery and Rights-preservation fixtures.

Outside-in validation for AI-generated text, as an MCP tool.

Every AI tool asks the same model that wrote the answer whether it's any good. It says yes. The Soulfield Lens is outside-in: a separate model runs a fixed gate over your output. It checks text — it doesn't write it. This package puts that gate inside Claude Code, Cursor, and any other MCP-compatible agent, so output can be validated on the path where it's generated.

The gate is fail-closed: a borderline case returns UNKNOWN, never a silent pass. There is no generation step, so it can't fabricate claims of its own — only check. It can still be wrong about a judgment; that is exactly why borderline cases return UNKNOWN instead of a confident yes.

This is a local stdio boundary around the hosted Lens API (api.soulfield.one). It keeps repository access on the caller's machine and sends only the finished artifact text to the API gate. A scrub also sends the lines of your own identity file (LENS_PUBLIC_IDENTITY_FILE) that occur in that text, so they are not redacted.

It exposes two tiers. The gate tier (3 tools) needs nothing but an API key. The validator tier (7 tools) adds one local orchestration entry point plus the optional lens-kit cross-file checks and defect memory that the single-document gate cannot see. Skip local evidence inputs and the gate tier works exactly as before.

Try it before you install anything

The keyless demo endpoint runs the same gate — a few runs a day per IP, no signup:

curl -s https://api.soulfield.one/v1/demo \

-H 'content-type: application/json' \ -d '{"text": " "}'

Install

npm install -g @soulfield/lens-mcp

Or run without installing: npx @soulfield/lens-mcp.

Claude Code
claude mcp add soulfield-lens \

-e SOULFIELD_API_BASE=https://api.soulfield.one \ -e SOULFIELD_API_KEY= \ -- npx @soulfield/lens-mcp

Any MCP client (JSON config)
{

"mcpServers": { "soulfield-lens": { "command": "npx", "args": ["@soulfield/lens-mcp"], "env": { "SOULFIELD_API_BASE": "https://api.soulfield.one", "SOULFIELD_API_KEY": " " } } } }

Production calls need an API key — request one at hello@soulfield.one. lens_health works without one.

Tools

Gate tier — hosted API, works out of the box
ToolWhat it doesAuth
validate_contentRuns the outside-in gate over text. Returns pass/fail, score, per-dimension results, and violation details with reasoning. Optional domain (general, finance, marketing, legal, seo, agency) and context (audience/purpose).key
scrub_piiServer-side scan for structured PII and secrets — emails, UK/US phone numbers, credit-card numbers, US SSNs, UK NI/UTR numbers, database connection strings, and common API-key/credential patterns. Returns scrubbed text (each match replaced by a type marker) plus findings. Pattern-based, no LLM call. Targets structured identifiers — it does not detect personal names or free-form PII, and structured-format coverage is best-effort, not exhaustive.key
lens_healthChecks the Lens API is up. Returns status and version.none
Validator tier — local; consistency checks require lens-kit

Version note: the validator tier lands in 1.1.0. If npm view @soulfield/lens-mcp version still reports 1.0.0, the registry has not caught up with this repo yet and npx @soulfield/lens-mcp will give you the three gate-tier tools only. Install from source in the meantime.

Artifact orchestration: validate_artifact lands in 1.2.0. Its bounded local evidence search is built into this MCP package. Requested consistency checks still require lens-kit.

Side effect worth knowing: every validator-tier call appends a row to RUNS.md in its working directory — that is the kit's run ledger, by design. The directory is the cwd argument, or the server's own cwd if you omit it, so pass cwd explicitly if you care where the ledger lives. Sensitive flag values are redacted in the row (--deny ), so deny terms do not land on disk.

Prerequisite: pip install lens_kit (Apache-2.0, github.com/mrhpython/lens-kit), or set LENS_KIT_BIN to its path. Without it these six tools return UNKNOWN with an error — never a silent pass. No API key needed: they run locally and make no LLM call.

Why they run locally and not on the hosted API: they take file paths off your disk. A hosted endpoint that accepted arbitrary local paths would be a file-disclosure vector, not a feature. On stdio the paths are your own machine, so the capability is safe here and only here — and for that reason it will not be added to the hosted API.

ToolWhat it doesExit semantics
validate_artifactReads one local artifact, searches only explicitly permitted evidence roots, runs requested consistency checks, and sends only the artifact text to the API gate. It labels the result gate-only or evidence-preflight+gate. A literal match is a source location, not proof; a separate validator agent must read and adjudicate it before issuing a full-validator verdict.consistency violation → FAIL; incomplete evidence/check error → UNKNOWN; otherwise PENDING_AGENT_REVIEW
lens_consistency_leaksScans files for deny-list terms (case-insensitive literal). Run on every customer-facing file before an irreversible publish: catches a real client name, an internal codename or a banned absolute surviving into shipped copy. A credential scanner will not find these, because nothing here is a credential. Negation-blind: a banned phrase quoted in order to disclaim it matches identically to the same phrase asserted.hit proves the string is present — adjudicate the verdict
lens_consistency_numbersChecks every numeric literal in a summary actually appears in the body it summarizes. Catches the invented figure. Tripwire: literal matching only, no derived arithmetic, and a figure cited as *superseded* ("supersedes the ~471 estimate") flags exactly like a stale one. Review, don't auto-trust.violation / clean
lens_consistency_markersChecks evidence markers in a source survive into every rendered output — the caveat or citation dropped between formats. Case-SENSITIVE, unlike leaks above: TRIPWIRE will not match Tripwire and reads as dropped when nothing was. Tripwire: a deliberate subset render also under-counts legitimately.violation / clean

Choosing deny terms and markers. These three are tripwires, not oracles — on a live run over this project's own copy they produced six flags and zero true defects, across three distinct false-positive classes (negation, superseded-figure, casing). That is the designed behaviour, and it is why the doctrine is *adjudicate, never auto-apply*. Deny terms work best as strings that are wrong in every context — a real client name, an internal codename — rather than claims you do not make, which legitimately appear inside disclaimers. Markers work best when their casing is stable across source and render. | lens_catches_relevant | Reads the defect bank before you validate: prior named defects for an artifact type, most-recurrent first. Patterns at threshold are marked [PROMOTE] — they recur often enough to deserve a fixed check. | — | | lens_catches_add | Records a named defect so it is caught next time: what was wrong, the general pattern, the forward rule. Routine passes are rejected by design — only real defects. | — | | lens_catches_stats | Per-pattern recurrence counts with promote suggestions. Tells you what to harden next. | — |

The two tiers are complementary, not alternatives. The gate has no tools and no file access — that is precisely what makes it an independent check, and it is also why it cannot see a contradiction spread across two files. The validator tier sees the disk; the gate owns the score. Pair them: gather substrate evidence with the local tools, hand the text to the gate, and never argue a gate FAIL into a PASS. Full protocol: docs/VALIDATOR-AGENT.md.

One local entry point

validate_artifact makes the boundary explicit in one call:

{

"artifact_path": "output/candidate.md", "evidence_roots": ["reports", "output/proof"], "evidence_queries": [ { "claim": "measured-result", "query": "113/113 rows scored", "case_sensitive": true } ], "domain": "agency", "context": "Internal technical handoff" }

The response includes evidence_scope, files_read, searches_and_commands, claims_verified, and claims_unverified. claims_verified is deliberately empty: grep proves that text exists at a source location, not that the claim is true. The separate validator agent must read the located evidence, reason across the files, and attach the final full-validator receipt.

Evidence file contents and local absolute paths are never added to the API request. Directory searches skip .git, node_modules, symlinks, and binary files and fail closed when configured safety limits are exceeded.

What you get per run: receipts — what was checked, what passed, what was held, and why. Machine-readable, not a badge. We won't hand you a guaranteed accuracy number for your data: scores don't transfer across models, datasets, and runtimes, and a tool that promises a fixed figure on data it has never seen is making the exact claim this gate exists to catch.

Long inputs

Inputs of ~4,000 characters and up are submitted as an async job and polled to completion automatically, so a single long validation never dies on a request timeout. Short inputs use the fast synchronous path. No configuration needed.

Configuration (env vars)

VariableDefaultPurpose
SOULFIELD_API_BASEhttp://localhost:8002Lens API base URL. Use https://api.soulfield.one for the hosted service, or your own deployment.
SOULFIELD_API_KEY—Required for validate_content and scrub_pii.
SOULFIELD_VALIDATE_TIMEOUT_MS180000Per-request timeout for the sync path.
SOULFIELD_VALIDATE_BUDGET_MS600000Total wall-clock budget for the async poll loop.
SOULFIELD_ASYNC_MIN_CHARS4000Input length at which the async path kicks in.
LENS_KIT_BINlens-kitPath to the lens-kit CLI for the validator tier. Only needed if it is not on PATH.
LENS_KIT_TIMEOUT_MS120000Timeout for a validator-tier command. On timeout the verdict is UNKNOWN, never a pass.
LENS_CATCHES_DIR~/dev/tools/lens-kitDefault working directory for the three lens_catches_* tools, so every catch lands in one catches.jsonl. A leading ~ is expanded. Falls back to the server's cwd if the directory does not exist. A cwd argument still wins. Catches can hold verbatim snippets, so catches.jsonl must stay out of git; the lens-kit repo ignores it.

| LENS_PUBLIC_IDENTITY_FILE | ~/.config/soulfield-lens/public-identity.txt | Your own published details (name, postal address, contact email, phone), one per line. /v1/scrub calls send t

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx