Server data from the Official MCP Registry
PII/secret redaction, email checks, sanctions screening and OSV vulnerability lookups for AI agents.
About
PII/secret redaction, email checks, sanctions screening and OSV vulnerability lookups for AI agents.
Security Report
Valid MCP server (3 strong, 3 medium validity signals). 4 known CVEs in dependencies (0 critical, 4 high severity) Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: APIFY_TOKEN
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-fairquery-fairquery-agent-trust-mcp": {
"env": {
"APIFY_TOKEN": "your-apify-token-here"
},
"args": [
"-y",
"@fairquery/agent-trust-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Fairquery Agent Trust & Data Safety (MCP server)
One MCP server for AI agents that handle untrusted data. It covers four jobs:
- PII and secret redaction: check text before it reaches an LLM.
- Email checks: syntax, typos, disposable and role addresses, plus MX/SPF/DMARC in the paid tool.
- Sanctions screening: OFAC, EU, UK and UN lists.
- Dependency vulnerabilities: lookups against OSV.dev.
Free tools need no token or account and run on your machine. Paid tools are optional. They call public Fairquery Apify Actors with your own APIFY_TOKEN, and runs are billed to your Apify account.
Tools
| Tool | Cost | What it does |
|---|---|---|
pii_list_detectors | Free (local) | Catalog of detectors, redaction styles, and pricing for every paid tool |
pii_scan_text | Free (local) | Finds PII and secrets in text. Findings are paged and show masked values only |
pii_redact_text | Free (local) | Redacts with placeholder, mask or hash style. Can return a placeholder map |
pii_restore_text | Free (local) | Puts the original values back into placeholder text (e.g. an LLM answer) using that map; lists placeholders the map does not cover |
pii_guard_documents | $0.0015/doc + $0.0002/finding | Adds NER names/addresses, URLs and PDFs, and restore mode |
email_check_syntax | Free (local) | Syntax, normalization, typo suggestions, disposable/role/free-provider flags |
email_validate_deliverability | $0.00079/email | DNS/MX, null MX, SPF/DMARC, mail provider, verdict |
sanctions_list_sources | Free (local) | Lists covered, issuing authorities, disclaimer |
sanctions_screen_names | $0.003/name + $0.007/call | Fuzzy screening against OFAC SDN/Consolidated, EU, UK and UN |
osv_query_packages | Free (api.osv.dev) | Vulnerable or not, plus advisory IDs, for up to 200 exact versions |
osv_get_vulnerability | Free (api.osv.dev) | Full OSV advisory records |
osv_audit_dependencies | $0.0005/package + $0.0015/vuln | Manifest/lockfile audit with severity, fixes and recommended version |
trust_screen_lead | $0.00079/email + $0.003/name + $0.007/call | Email check and sanctions screening in parallel, merged into a pass/review/block decision per lead |
Every tool description has WHAT / WHEN / WHEN NOT / COST / RETURNS / EXAMPLE sections. Outputs are paged (limit, offset, nextOffset, hasMore). Errors use named codes: APIFY_TOKEN_MISSING, APIFY_TOKEN_INVALID, APIFY_PAYMENT_REQUIRED, APIFY_ACTOR_RUN_FAILED, APIFY_TIMEOUT, INPUT_EMPTY, INPUT_TOO_LARGE, INVALID_ECOSYSTEM, OSV_FETCH_FAILED and VULN_NOT_FOUND.
Paid tools use these Apify Actors: fairquery/llm-data-guard-pii-secrets, fairquery/email-validator-mx-disposable, fairquery/sanctions-watchlist-screener and fairquery/osv-dependency-vulnerability-check.
When to use which tool
| You want to… | Use | Cost |
|---|---|---|
| Check a prompt, ticket or log for PII and secrets before it reaches an LLM | pii_scan_text, then pii_redact_text | Free, local |
Put the original values back into the LLM's answer after pii_redact_text | pii_restore_text | Free, local |
| Also catch names and addresses, or scan PDFs or URLs | pii_guard_documents | Paid |
| Catch typos, disposable or role addresses on a signup form | email_check_syntax | Free, local |
| Check that an email's domain can receive mail (MX, null MX, SPF/DMARC) | email_validate_deliverability | Paid |
| See which sanctions lists are covered and the disclaimer | sanctions_list_sources | Free, local |
| Screen people or companies against OFAC, EU, UK and UN sanctions lists | sanctions_screen_names | Paid |
| Get a pass/review/block decision for a new lead (email and name together) | trust_screen_lead | Paid |
| Find out whether exact package versions have known vulnerabilities | osv_query_packages, then osv_get_vulnerability for details | Free (api.osv.dev) |
| Audit a whole manifest or lockfile with severity, fixed and recommended versions | osv_audit_dependencies | Paid |
Start with the free tools. Use a paid tool only when you need what it adds; each paid call runs an Apify Actor billed to your own token.
Install
Requires Node.js 20 or later. APIFY_TOKEN is optional and only needed for paid tools. Get one at https://console.apify.com/settings/integrations.
Quick start (stdio):
npx -y @fairquery/agent-trust-mcp
The configs below run the npm package with npx -y: no clone or build step needed.
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"fairquery-trust": {
"command": "npx",
"args": ["-y", "@fairquery/agent-trust-mcp"],
"env": { "APIFY_TOKEN": "<optional-your-apify-token>" }
}
}
}
Cursor (~/.cursor/mcp.json or .cursor/mcp.json)
{
"mcpServers": {
"fairquery-trust": {
"command": "npx",
"args": ["-y", "@fairquery/agent-trust-mcp"],
"env": { "APIFY_TOKEN": "<optional-your-apify-token>" }
}
}
}
VS Code (.vscode/mcp.json)
{
"inputs": [{ "type": "promptString", "id": "apify-token", "description": "Apify token (optional, paid tools only)", "password": true }],
"servers": {
"fairquery-trust": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@fairquery/agent-trust-mcp"],
"env": { "APIFY_TOKEN": "${input:apify-token}" }
}
}
}
Gemini CLI
gemini extensions install https://github.com/fairquery/fairquery-agent-trust-mcp
gemini-extension.json runs the npm package with npx and asks for one optional, sensitive setting: your own Apify API token (leave it empty for the free tools). Change it later with gemini extensions config fairquery-agent-trust.
From source / Docker
git clone https://github.com/fairquery/fairquery-agent-trust-mcp && cd fairquery-agent-trust-mcp
npm ci && npm run build && node dist/index.js # stdio
node dist/index.js --http # Streamable HTTP on http://127.0.0.1:3000/mcp (PORT, HOST env)
docker build -t fairquery-trust-mcp . && docker run -i --rm -e APIFY_TOKEN fairquery-trust-mcp
MCPB bundle (Smithery local install, Claude Desktop)
manifest.json describes an MCPB bundle that runs this server locally over stdio. The bundle asks for one optional, sensitive setting: your own Apify API token. Leave it empty to use only the free tools.
npm run build:mcpb # -> build/fairquery-agent-trust-mcp-<version>.mcpb (dist + production node_modules)
npm run test:mcpb # unpack, initialize, tools/list, free call, paid call without token -> APIFY_TOKEN_MISSING
build:mcpb also writes <name>-smithery.mcpb, the file to upload to Smithery. It is the same bundle with only manifest.json changed: each tool also carries its inputSchema, outputSchema and annotations, taken from the server's own tools/list. Smithery's publish API needs these for its server card, but the MCPB 0.3 manifest schema allows only name/description per tool, so the canonical .mcpb keeps the spec-valid manifest. test:mcpb tests both bundles and checks that they differ only in those tool schemas.
Tests
npm run smoke # initialize + tools/list + guide/annotation checks, no token
npm run test:live # every free tool live, ReDoS probes, paid tools without token -> APIFY_TOKEN_MISSING
npm run test:paid # also ONE paid call per family using APIFY_TOKEN from env (costs < $0.02)
Security
See SECURITY.md. Free tools never contact Apify or Fairquery, and the code contains no secrets.
Disclaimer
Sanctions results come from automated fuzzy matching and are not a certified screening service. Review every potential match yourself. Email checks do not probe SMTP mailboxes.
License
MIT © Fairquery
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
