Skip to main content
Glama
bewary-app

bewary

by bewary-app

Bewary

Bewary is a scam detection API and MCP server for apps and AI agents: phishing, fraud and threat intelligence lookups for developers, trust and safety teams and agent builders. It looks up a link, domain, IP address, phone number, SMS short code, email address, crypto wallet, IBAN, mobile app or payment handle, and returns a verdict (scam, suspicious, safe or unknown), the probability that it is a scam, the facts behind it and reason codes your code can branch on. Unknown is never safe.

This repository holds the clients: the bewary CLI and the setup files for MCP clients (Claude Code, Cursor, Gemini CLI). The API and its data are a hosted service at bewary.app.

A free key gets 1,000 credits a month, no card: https://bewary.app/account. A lookup costs 1 credit. Prepaid credit packs start at $20 and never expire.

MCP: give an agent scam checks

Clients that support sign-in (Claude, ChatGPT, Claude Code, Cursor) can connect to https://api.bewary.app/mcp and sign in to Bewary with OAuth. Any client can send an API key as an Authorization: Bearer header instead.

Claude Code

claude mcp add --transport http bewary https://api.bewary.app/mcp \
  --header "Authorization: Bearer $BEWARY_API_KEY"

Or install this repository as a plugin, which adds the MCP server and a skill that tells the agent when to check:

/plugin marketplace add bewary-app/bewary
/plugin install bewary@bewary

Claude and ChatGPT apps: add a custom connector with the URL https://api.bewary.app/mcp and sign in when asked.

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "bewary": {
      "url": "https://api.bewary.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_BEWARY_API_KEY" }
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "bewary": {
      "type": "http",
      "url": "https://api.bewary.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_BEWARY_API_KEY" }
    }
  }
}

Windsurf (mcp_config.json):

{
  "mcpServers": {
    "bewary": {
      "serverUrl": "https://api.bewary.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_BEWARY_API_KEY" }
    }
  }
}

Gemini CLI: gemini extensions install https://github.com/bewary-app/bewary asks for your key and stores it in the keychain.

Tools

Tool

What it answers

lookup_url

Is this link safe to open, or a phishing or malware link? Resolves shorteners and redirects and checks where it really goes.

lookup_domain

Domain age, lookalike-brand technique, abused TLD, blocklist status and a verdict.

related_domains

Other domains that share an IP address, name servers, a certificate, a registrar or a page template with this one.

lookup_ip

Network owner, ASN, country, hosting type, reverse DNS.

lookup_phone

Country, number type, FTC and FCC complaints and a verdict for a phone number.

lookup_shortcode

Who operates a US SMS short code, and whether it is legitimate, shared or a scam code.

lookup_email

Mail server, disposable or free provider, role mailbox and the sender domain's facts.

lookup_wallet

Scam reports, OFAC sanctions and Tether and Circle freezes for a crypto wallet.

lookup_iban

Whether an IBAN is valid, its bank name and BIC, and a mismatch with the country the payee claims.

lookup_app

Whether an app is live on the App Store or Google Play, or was pulled.

lookup_payment_handle

Whether a Cash App, PayPal.me or Venmo handle exists, is active and is on a scam list.

watch, unwatch, list_watches, list_events

Follow a domain, phone number, wallet or brand and read the events when it changes.

Lookups are read-only. watch and unwatch change only your account's watches.

Related MCP server: unphurl-mcp

CLI: scam checks from the terminal

No install, Node 18 or newer:

export BEWARY_API_KEY="bw_..."
npx bewary url https://amazon-orders-help.top/confirm
Scam  ▂▄▆█  p_scam 0.9116

High    Fake domain (brand + suspicious TLD)  DOMAIN_BRAND_ON_ABUSED_TLD
Medium  Lookalike domain                      DOMAIN_LOOKALIKE_BRAND_WORD

url     https://amazon-orders-help.top/confirm  Scam
domain  amazon-orders-help.top                  Scam

Commands: url, domain, phone, shortcode, email, ip, wallet, iban, app, payment-handle, related, watch, watches, unwatch, events. --json prints the API's answer as it came, and --fail-on suspicious|scam exits 2 when the verdict reaches it, which fails a CI step. Source: cli/. Full guide: https://bewary.app/docs/cli

REST API

curl -s "https://api.bewary.app/v1/url?u=https://amazon-orders-help.top/confirm" \
  -H "Authorization: Bearer $BEWARY_API_KEY"

Every lookup returns the same envelope: verdict, p_scam, reason_codes, entities with typed facts, and signals with their source class. Verdicts come from evidence, not a language model: phishing and malware feeds, FTC Do Not Call and FCC complaints, CERT Polska, OFAC sanctions, certificate transparency logs and Bewary's own DNS history. Endpoints, prices and response formats: https://bewary.app/docs

What is in this repository

Path

What it is

cli/

Source of the bewary npm package

.claude-plugin/, .mcp.json, skills/

Claude Code plugin and marketplace

.cursor-plugin/, mcp.json

Cursor plugin

gemini-extension.json, GEMINI.md

Gemini CLI extension

server.json

The server's entry in the official MCP Registry

License

MIT for everything in this repository. Use of the Bewary API is covered by the terms and privacy policy. Questions: support@bewary.app

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    AI-powered threat verification across 6 channels: phone numbers, URLs, text messages, emails, documents, and QR codes. Analyzes threats against 10M+ intelligence records from FTC, FCC, URLhaus, ThreatFox, and community reports, returning risk scores, verdicts, and detailed signals.
    10
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    URL intelligence for AI agents. One URL in, structured security and data quality signals out across 7 dimensions. 13 tools, risk score 0-100 with 23 configurable weights.
    16
    22 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI agents with zero-cost, zero-dependency trust evaluation for domains, URLs, wallets, APIs, and IPs, returning a 0-100 score with SSL, DNS, WHOIS, security header, and content sub-scores, plus batch comparison to rank multiple targets.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Lets AI agents and assistants check domains or links for safety before opening them, returning verdicts, risk scores, advice, and DNS resolution details through DNS-over-HTTPS.
    3
    MIT