Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-cyanheads-sanctions-screening-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/sanctions-screening-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "info",
"SANCTIONS_MIRROR_PATH": "./data/sanctions.db",
"SANCTIONS_FUZZY_MIN_SCORE": "0.85",
"SANCTIONS_NORMALIZE_INPUTS": "true",
"UN_SC_URL": "official UN URL",
"EU_FSF_URL": "official EU URL",
"OFAC_SDN_URL": "official SLS URL",
"MCP_HTTP_PORT": "3010",
"UK_SANCTIONS_URL": "official FCDO URL",
"MCP_TRANSPORT_TYPE": "stdio",
"OFAC_CONSOLIDATED_URL": "official SLS URL",
"SANCTIONS_REFRESH_CRON": "0 4 * * *",
"GLEIF_GOLDEN_COPY_BASE_URL": "https://goldencopy.gleif.org",
"SANCTIONS_FUZZY_MAX_RESULTS": "50"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MCP_LOG_LEVEL | No | Log level (RFC 5424). Default: info |
| SANCTIONS_MIRROR_PATH | No | Filesystem path for the SQLite mirror; a persistent volume on a hosted deployment. Default: ./data/sanctions.db |
| SANCTIONS_FUZZY_MIN_SCORE | No | Default Jaro-Winkler similarity floor for fuzzy matches when min_score is omitted. Default: 0.85 |
| SANCTIONS_NORMALIZE_INPUTS | No | Accept mixed-case LEIs and clamp oversized name-search page limits. Set false to enforce uppercase LEIs and page maxima at validation. Default: true |
| UN_SC_URL | No | Override for the UN Security Council consolidated XML file. Default: official UN URL |
| EU_FSF_URL | No | Override for the EU consolidated XML file. Default: official EU URL |
| OFAC_SDN_URL | No | Override for the OFAC SDN advanced-XML file. Default: official SLS URL |
| MCP_HTTP_PORT | No | Port for the HTTP server. Default: 3010 |
| UK_SANCTIONS_URL | No | Override for the UK Sanctions List (UKSL) XML file. Default: official FCDO URL |
| MCP_TRANSPORT_TYPE | No | Transport: stdio or http. Default: stdio |
| OFAC_CONSOLIDATED_URL | No | Override for the OFAC Consolidated advanced-XML file. Default: official SLS URL |
| SANCTIONS_REFRESH_CRON | No | Cron for the scheduled refresh of the sanctions lists + name index (HTTP transport only). Default: 0 4 * * * |
| GLEIF_GOLDEN_COPY_BASE_URL | No | Override for the GLEIF golden-copy / delta download API. Default: https://goldencopy.gleif.org |
| SANCTIONS_FUZZY_MAX_RESULTS | No | Hard cap on fuzzy candidates scored per query, to bound work on short queries. Default: 50 |