Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Locally pseudonymizes sensitive text before cloud LLM work and restores the tokens afterward.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"pseudonym": {
"command": "npx",
"args": [
"-y",
"pseudonym-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add pseudonym -- npx -y pseudonym-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pseudonym": {
"command": "npx",
"args": [
"-y",
"pseudonym-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pseudonym": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pseudonym-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 woladi 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.9.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Local pseudonymisation tools for LLM workflows — replace detected PII with opaque tokens before you hand text to a cloud LLM, then restore those tokens afterward.
Expose MCP tools (mask_text and unmask_text) that your client or agent can call as an explicit privacy step. The server detects PII locally, replaces it with opaque tokens, and keeps the token mapping in memory for later restoration.
It is a defense-in-depth measure, not a compliance silver bullet. Read the Limitations and GDPR & AI Compliance sections before assuming this stack does more than it does.
--lang narrows that set when you want fewer false positives — see Locale coverage is fail-closed. Heuristic language detection (detectLanguage()) infers the language from text content — --lang remains the authoritative override.[PERSON:1] map back to originals in an isolated, per-request session. Multiple round-trips preserve token coherence.mask_text returns auto_unmask for clients that want to honor that preference, but this server does not intercept arbitrary LLM responses automatically.regex only (no Ollama required), llm only, or hybrid (default).❌ Without pseudonym-mcp:
"John Smith, SSN 123-45-6789, card 4111 1111 1111 1111" → sent verbatim to the LLM provider✅ With pseudonym-mcp used before the cloud call:
"[PERSON:1], SSN [SSN:1], card [CREDIT_CARD:1]" when you call mask_text firstunmask_text before reaching the userThis is a meaningful reduction in cleartext PII exposure. It is not "no personal data leaves your machine" — see Limitations.
pseudonym-mcp is relevant to compliance work, but it is a technical control, not a compliance product. Whether you are compliant with any specific regulation depends on your full stack, your role (controller/processor), your contracts, your DPIA, and your jurisdiction.
The EU General Data Protection Regulation (GDPR) classifies names, national ID numbers (like SSN or PESEL), bank account numbers (IBAN), email addresses, credit card numbers, and phone numbers as personal data under Article 4(1). Sending this data to a cloud LLM provider constitutes processing under Article 4(2). Pseudonymisation is explicitly recognised under Art. 4(5) as a risk-reduction measure — but, critically, pseudonymised data is still personal data (Recital 26).
| GDPR Article | Obligation | Where pseudonym-mcp helps | Where it doesn't |
|---|---|---|---|
| Art. 5(1)(c) | Data minimisation | Strips detected direct identifiers before transmission | Doesn't minimise context, structure, or undetected PII |
| Art. 25 | Privacy by design and by default | Provides a technical layer that fits into a privacy-by-design architecture | Architecture and policy decisions are still your responsibility |
| Art. 32 | Security of processing | Recognised technical measure under Recital 83 (pseudonymisation) | One control among many; doesn't replace access control, logging, encryption |
| Art. 44 | Transfers to third countries | Reduces the cleartext PII you transfer | Pseudonymised personal data is still personal data — transfer rules still apply |
| Art. 4(5) | Pseudonymisation definition | The mapping store is opaque to the cloud LLM; re-identification requires the local session | Re-identification is possible from context for anyone with side knowledge |
The honest bottom line: pseudonymisation under GDPR Art. 4(5) is not anonymisation. The data remains personal data in your system, and Art. 44 transfer obligations are not switched off just because you tokenised the name field.
The EU AI Act places additional requirements on high-risk AI systems that process personal data. Using pseudonym-mcp as an intermediary layer can:
It does not change your AI Act risk classification on its own — classification is a function of use-case and deployment context, not of the masking step in front of the model.
The tool is also relevant outside the EU, with the same caveats:
| Sector | Relevant regulation | PII types commonly handled |
|---|---|---|
| Healthcare | GDPR + HIPAA + national health data laws | Patient names, SSN, diagnoses |
| Banking & Finance | GDPR + PCI DSS + PSD2 + DORA | Credit cards, IBAN, SSN, PESEL |
| HR & Recruitment | GDPR Art. 9 (special categories) | Names, national IDs, contact details |
| Legal | GDPR + attorney–client privilege | Names, case numbers, personal details |
| Insurance | GDPR + Solvency II | Personal identifiers, health data |
| Public Sector (US) | CCPA + state privacy laws | SSN, driver's license numbers |
| Public Sector (PL) | GDPR + UODO + KRI | PESEL, NIP, REGON |
In every row of this table, pseudonym-mcp is a useful building block. None of those regimes can be satisfied by a masking tool alone.
Your App / Claude Desktop
│ │ explicit mask_text tool call with PII ▼ ┌─────────────────────────┐ │ pseudonym-mcp │ │ │ │ Phase 1: Pattern NER │ ← 46 rules: national IDs, tax numbers, │ │ IBAN, VAT, cards, wallets, devices │ │ scored, checksum-verified, context-aware │ Phase 2: Ollama NER │ ← PERSON, ORG (local LLM) │ MappingStore (session) │ ← [TAG:N] ↔ original value └────────────┬────────────┘ │ masked text returned to the client/agent ▼ Your workflow sends the masked text ▼ Cloud LLM API (Claude / GPT-4 / Gemini) │ │ response with [TAG:N] tokens ▼ ┌─────────────────────────┐ │ pseudonym-mcp │ │ unmask_text / revert │ ← tokens → originals └────────────┬────────────┘ │ restored response ▼ Your App / User
US / English identifiers (en pack):
[PERSON:1] John Smith [SSN:1] 123-45-6789 [CREDIT_CARD:1] 4111 1111 1111 1111 [ORG:1] Acme Corp [EMAIL:1] john@acme.com [PHONE:1] (555) 123-4567
Polish identifiers (pl pack): [PERSON:1] Jan Kowalski [PESEL:1] 90010112318 [ORG:1] Auto-Lux [NIP:1] 526-000-00-05 [REGON:1] 123456785 [IBAN:1] PL27114020040000300201355387 [EMAIL:1] jan@example.pl [PHONE:1] +48 123 456 789
The mapping is stored in a session-scoped in-memory store. Each mask_text call returns a session_id; pass it back to unmask_text to restore originals.
You have a note:
Meeting with Jan Kowalski (PESEL: 90010112318) from Acme sp. z o.o.
We discussed a contract for 45 000 zł. Contact: jan.kowalski@acme.pl
In Claude Code you type:
Use mask_text on this note, then summarise the key points of the meeting.
**First, call mask_text; pseud
只显示了开头部分;其余内容请在仓库中阅读