Skip to main content
Glama
README.md
# looktwice-mcp

[![npm version](https://img.shields.io/npm/v/looktwice-mcp)](https://www.npmjs.com/package/looktwice-mcp)
[![license](https://img.shields.io/npm/l/looktwice-mcp)](./LICENSE)
[![MCP](https://img.shields.io/badge/MCP-registry-blue)](https://registry.modelcontextprotocol.io/v0/servers?search=looktwice)

MCP (Model Context Protocol) server for the [LookTwice API](https://looktwice.dev). Validate
emails, EU VAT numbers, IBANs, and domains, and screen products against U.S. CPSC recalls and
Product Safety Warnings — directly from Claude Desktop, Cursor, or any MCP client.

```bash
npx -y looktwice-mcp
```

## Setup

1. Create a LookTwice account at [looktwice.dev](https://looktwice.dev/sign-up) — verified
   accounts receive 100 free API units each month, no credit card required.
2. Create an API key in the [dashboard](https://looktwice.dev/dashboard).
3. Add the server to your MCP client configuration:

```json
{
  "mcpServers": {
    "looktwice": {
      "command": "npx",
      "args": ["-y", "looktwice-mcp"],
      "env": {
        "LOOKTWICE_API_KEY": "lt_live_..."
      }
    }
  }
}
```

## Tools

| Tool                | What it does                                                                | Cost       |
| ------------------- | --------------------------------------------------------------------------- | ---------- |
| `email_check`       | Syntax, MX, disposable, role, free-provider signals (no mailbox probing)    | 2 units    |
| `vat_check`         | Live EU VIES validation with returned business data and request evidence    | 1 unit     |
| `iban_check`        | Country structure, length, and MOD-97 checksum (no account-existence claim) | 1 unit     |
| `domain_check`      | DNS, MX, TLS, and RDAP state for a registrable domain                       | Free quota |
| `cpsc_recall_match` | Evidence-backed candidate matching against CPSC recalls and warnings        | 3 units    |
| `credits_balance`   | Current workspace credit balance                                            | Free       |

## Compared with a single-purpose MCP

Most VAT or email MCP servers wrap one upstream. This server keeps the same evidence rules across email, VIES, IBAN, domain, and CPSC: timestamps, official sources, and no mailbox / account / safety claims.

## Honest boundaries

- `email_check` never claims a mailbox exists (`mailbox_status: not_checked`).
- `iban_check` never claims an account exists or belongs to a person.
- `cpsc_recall_match` returns screening candidates with official sources, not safety, legality,
  or compliance decisions.

## Environment variables

| Variable             | Required | Default                     |
| -------------------- | -------- | --------------------------- |
| `LOOKTWICE_API_KEY`  | Yes      | —                           |
| `LOOKTWICE_BASE_URL` | No       | `https://api.looktwice.dev` |

## License

MIT

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct entity type—email, IBAN, VAT, domain, product recall, and credits—so there is no overlap or ambiguity in purpose. An agent can clearly differentiate them without confusion.

Naming Consistency4/5

Most tools follow a consistent [entity]_check pattern (email_check, iban_check, vat_check, domain_check), but cpsc_recall_match and credits_balance deviate from this verb convention. The naming is still mostly predictable and readable.

Tool Count5/5

With six tools, the set is well-scoped for a validation/lookup server. Each tool serves a specific, justified function without redundancy or excessive specialization.

Completeness4/5

The set covers the main validation types a user would expect (email, IBAN, VAT, domain, product recall) and includes a balance check for the API. Minor gaps exist, such as phone or IP validation, but these are not critical to the core purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues