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

Ofac Match

作者:krunalsolanki版本 2.0.0i★ –i在你的电脑上运行
注册名称io.github.krunalsolanki/ofac-match

安装

概览

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

Explainable OFAC sanctions name screening against the SDN list. Runs locally, no API key.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 法律与政府数据

安装

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

安装之前

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "ofac-match": {
      "command": "dnx",
      "args": [
        "OfacMatch.Mcp",
        "--yes"
      ],
      "env": {
        "OFACMATCH_DATA_DIR": "your-value",
        "OFACMATCH_REFRESH_HOURS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ofac-match --env OFACMATCH_DATA_DIR=your-value --env OFACMATCH_REFRESH_HOURS=your-value -- dnx OfacMatch.Mcp --yes

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "ofac-match": {
      "command": "dnx",
      "args": [
        "OfacMatch.Mcp",
        "--yes"
      ],
      "env": {
        "OFACMATCH_DATA_DIR": "your-value",
        "OFACMATCH_REFRESH_HOURS": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "ofac-match": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "OfacMatch.Mcp",
        "--yes"
      ],
      "env": {
        "OFACMATCH_DATA_DIR": "your-value",
        "OFACMATCH_REFRESH_HOURS": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • OFACMATCH_DATA_DIR env
  • OFACMATCH_REFRESH_HOURS env

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“法律与政府数据”中的其他服务器比较i

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

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

常见问题

Ofac Match 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.0.0)于4天前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Agent Data Hub, Sanctions screening, KYB due diligence

替代选择

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

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

Agent Data Hub

Official statistics and economic data for agents, with source and licence per answer. No key.

作者:Jona1245起步阶段今天更新

在云端运行

Sanctions screening

Screen names and crypto wallets against OFAC, UK, EU and UN sanctions lists, with list dates

作者:Bosco-Labs起步阶段今天更新

在云端运行

KYB due diligence

KYB counterparty checks: company register, insolvency, sanctions, VAT, IBAN, from official sources

作者:Bosco-Labs起步阶段今天更新

在云端运行

作者的 README

打开 README

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

OfacMatch

OFAC sanctions name screening for .NET that tells you *why* a name matched.

[Try it in your browser](https://krunalsolanki.github.io/ofac-match/): no install, and the names you type never leave your browser.

Why I built this

I spent ten years building title and mortgage systems at First American, including OFAC screening that stops a loan from going to someone on the Treasury's sanctions list. Name matching sounds simple until a compliance analyst asks why a name was flagged, or why a misspelled one wasn't.

Many teams still search OFAC's website by hand or rely on screening logic they can't see inside. I wanted something small and open: load the official list, score names the way OFAC describes in its own FAQ, and show the reasoning behind every score.

What it does

OfacMatch downloads the Specially Designated Nationals (SDN) list from OFAC, screens names against it, and gives each potential match a score from 0 to 100, the same scale OFAC's search tool uses. Every match comes with an explanation: which name or alias it hit, and how each part of the name paired up.

It handles the messy parts of real names: accents, LAST, First ordering, apostrophes and hyphens, titles like "Dr.", company endings like LLC or LTD (even misspelled), and aliases. If you pass a year of birth or country that disagrees with the listed record, the match is flagged rather than hidden, because that call belongs to a person.

It has no dependencies, runs inside your own process (names never leave your systems), and works on modern .NET as well as .NET Framework 4.7.2+.

I measured it on the real list rather than guessing, on names it was never tuned on: at a threshold of 85 it finds all 4,235 realistic variations of listed names in a held-out test, and 99.6% of 2,160 harder ones such as a wrong first letter, a nickname or an extra middle name. It is also compared with eight standard name-matching methods. The results below have the details, including where a simpler method does better.

Version 2.0 changes how a searched name with extra parts is scored; see the changelog. Feedback, bug reports and name variations that score badly are very welcome.

OfacMatch helps you screen; it doesn't make compliance decisions and isn't legal advice. A score says how alike two names are written, not whether two records are the same person. Pick your threshold from your own risk assessment and have someone review every potential match. More in Using OfacMatch responsibly.

Quick start

dotnet add package OfacMatch
using OfacMatch.Data;

using OfacMatch.Screening;

using var http = new HttpClient(); var list = await SanctionsList.DownloadAsync(http, saveToDirectory: "ofac-data");

var screener = new SanctionsScreener(list, new ScreeningOptions { MinScore = 85 });

foreach (var match in screener.Screen("Aymen Zawahri")) { Console.WriteLine(match.Explain()); }

Output against the SDN list published 27 October 2026:

Score 95.8 via NameParts against Primary name "AL ZAWAHIRI, Dr. Ayman"

Entry 2676: AL ZAWAHIRI, Dr. Ayman (Individual; programs: SDGT) Full-name score 84.5; name-parts score 95.8 AYMEN -> AYMAN: similarity 0.907, sounds alike ZAWAHRI -> ZAWAHIRI: similarity 0.946, sounds alike

How scoring works walks through this example step by step.

Screening with more context
var request = new ScreeningRequest("John Michael Doe")

{ Type = EntryType.Individual, // a borrower is a person, so skip companies and vessels YearOfBirth = 1971, // flags matches whose listed dates of birth disagree Country = "United States", // flags matches whose listed addresses are all elsewhere };

var matches = screener.Screen(request);

Offline use
var list = SanctionsList.LoadFromDirectory("ofac-data"); // SDN.CSV, ALT.CSV, ADD.CSV

OFAC updates the list often. Reload it at least daily, and screen against the current list before every decision.

Use it from an AI assistant (MCP server)

OfacMatch.Mcp lets Claude, GitHub Copilot and other MCP clients screen names, look up SDN entries and explain scores. It runs locally and needs no API key.

Claude Desktop: download the extension for your computer from the latest release (ofac-match-windows.mcpb or ofac-match-mac-*.mcpb) and double-click it. No .NET or config file needed.

Claude Code plugin (adds the server plus a skill for reporting results responsibly; needs the .NET 10 SDK):

/plugin install ofac-match --marketplace krunalsolanki/ofac-match

Claude Code and other clients (needs the .NET 10 SDK):

claude mcp add ofac-match -- dnx OfacMatch.Mcp --yes

Tools: screen_name, screen_names, get_sanctions_entry, compare_names, get_list_info. See the MCP server guide for other clients and settings.

Command line
dotnet run --project samples/OfacMatch.Cli -- "Aymen Zawahri" --min 85 --yob 1951

Results on the real SDN list

OfacMatch was improved on a development set of names, then frozen and tested once on a separate held-out set: 600 other listed parties (400 individuals, 200 companies) and 3,000 ordinary names from a vocabulary never used during development, against the SDN list published 27 October 2026. The evaluation protocol explains the rules.

ThresholdVariations found (4,235)Harder variations found (2,160)Two-part ordinary names that alertThree-part ordinary names that alert
80100.0%99.9%75.7%51.0%
85100.0%99.6%37.5%10.3%
90100.0%98.4%10.2%2.2%
9599.6%83.4%2.1%0.0%
  • Variations: exact, surname first, lower case without punctuation, one wrong letter, two letters swapped, one letter missing, different transliteration, joined particles ("ALZAWAHIRI"), middle name left out, and changed company suffix.
  • Harder variations: wrong first letter ("Qassim" for "Kassim"), two wrong letters, a nickname or the same name in another language ("Sasha" for "Aleksandr"), first name as an initial, and an extra middle name that is not on the list.

Compared with other methods. The same cases were screened with eight standard methods, including Levenshtein, Jaro-Winkler, RapidFuzz-style token ratios and trigram TF-IDF (full comparison). To compare them fairly, each method gets the threshold at which the same share of ordinary names alerts. The strongest simple method, a token set ratio, found slightly more of the harder variations than OfacMatch (98.9% against 96.7% when 5% of ordinary names alert). OfacMatch raised clearly fewer alerts on names that share a first name with a listed person, such as "Ayman Smith" (11.9% against 16.4%), and it explains every score. For a review team, fewer alerts and a reason for each one is usually worth more than the last two points of recall, but that trade-off is yours to make.

Three things stand out in these numbers. Screening on a name alone alerts a lot: at 85, more than a third of ordinary two-part names look like *something* on the list. Date of birth and country are what let a reviewer clear those quickly. Moving the threshold from 85 to 90 cut those alerts by about three quarters while still finding every variation and 98.4% of the harder ones, so the threshold deserves a deliberate choice rather than a default. And since 2.0, a listed two-part name inside a longer searched name scores high, so three-part names alert more often at 85 than in 0.1.2 (10.3% against 3.3%).

You can re-run it yourself on the development set:

dotnet run -c Release --project eval/OfacMatch.Evaluation -- --data ofac-data --out docs/evaluation.md

dotnet run -c Release --project eval/OfacMatch.Evaluation -- --data ofac-data --baselines --out docs/baselines.md

Documentation

GuideWhat it covers
Why OfacMatchBenefits and comparison with other options
How scoring worksEvery step, with a worked example
API and configuration referenceTypes, options and defaults
Using OfacMatch responsiblyThresholds, review, record keeping, limits
Evaluation protocolHow the development and held-out sets are kept apart, and how settings were chosen
Held-out results and comparisonResults on names never used during development, and against eight standard methods
Development results, comparison and tuningThe set used while improving the method
MCP serverUsing OfacMatch from AI assistants

What's next

Things I'd like to work on, roughly in order:

  • Evaluation on the real list
  • Comparison with standard methods, and a held-out test
  • Extra middle names in the search (2.0)
  • Nicknames and equivalent names (Sasha, Aleksandr), from an independent source so they can be tested fairly
  • Give rare words more weight ("CUBA" should count more than "BANK"), to cut alerts on common names
  • Catch typos at the start of company endings ("LTMITED")
  • Support OFAC's Consolidated (non-SDN) list and the Advanced XML format
  • Faster batch screening
  • An ASP.NET Core sample and a dotnet tool package

If you'd like to help with any of these, or have a case that scores badly, open an issue. CONTRIBUTING.md has the details.

Citation

If you use OfacMatch in research or a write-up, please cite the paper:

Solanki, K. (2026). *Explainable Name Screening Against the OFAC SDN List: An Open Implementation and Reproducible Evaluation* (preprint). Zenodo. https://doi.org/10.5281/zenodo.23930926

@misc{solanki2026ofacmatch,

author = {Solanki, Krunal}, title = {Explainable Name Screening Against the {OFAC} {SDN} List: An Open Implementation and Reproducible Evaluation}, year = {2

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

问 PopNx