Skip to main content
Glama
searchanything

searchanything

README.md
# searchanything-mcp

**Zero-dependency Remote MCP Server & CLI for Agent-to-Agent B2B lead enrichment and DoH MX/ESP deliverability checks.**

Built for **Claude Code**, **Cursor**, **n8n**, and autonomous B2B workflows that need verified corporate contact signals without bloated JSON payloads or social-media scraping risks.

## Why Developers & B2B Teams Use It

- **Zero-Install Remote MCP**: Connect directly over Streamable HTTP (`https://searchanything-web.vercel.app/api/mcp`) — or use the included zero-dependency `stdio` bridge for local-only MCP hosts.
- **Token-Lean JSON Output**: Strips null/empty fields and verbose page metadata by default to cut downstream Agent token consumption.
- **3 Deterministic B2B Tools**:
  - `enrich_company_domain` — Public B2B website enrichment (verified emails, WhatsApp/phone fallbacks, DoH MX, ESP gateway, tech stack).
  - `verify_email_preflight` — Pre-flight deliverability & compliance guard for 1–20 emails/domains (blocks `legal@`, `dpo@`, `abuse@`, disposable domains, and no-MX targets; flags Mimecast/Proofpoint SEGs).
  - `check_domain_mx` — Fast DoH DNS/MX, SPF, DMARC & ESP strictness lookup with zero HTML scraping.
- **Fair Metering**: Zero credits charged when a target domain is unreachable or returns no actionable contact signals.

## Compliance & Risk Guardrails

- **Public Company Websites Only**: Hard blocklist rejects personal social-media and messaging domains (`x.com`, `twitter.com`, `linkedin.com`, `facebook.com`, `instagram.com`, `tiktok.com`, `xiaohongshu.com`, etc.) to avoid personal data & anti-scraping litigation exposure (ECPA/CIPA/GDPR).
- **No Personal Social Scraping**: Designed strictly for public corporate websites and business directories.

## Quick Start: Remote MCP (Recommended)

Add to `.cursor/mcp.json`, Claude Code, or your n8n MCP client:

```json
{
  "mcpServers": {
    "searchanything": {
      "url": "https://searchanything-web.vercel.app/api/mcp",
      "headers": {
        "Authorization": "Bearer sa_live_YOUR_API_KEY"
      }
    }
  }
}
```

> Get a free API key (50 verified domains) at [searchanything-web.vercel.app/login](https://searchanything-web.vercel.app/login). Anonymous calls also work with hourly demo rate limits.

## Local `stdio` Bridge (Optional)

For MCP hosts that only support local `stdio` transport:

```json
{
  "mcpServers": {
    "searchanything": {
      "command": "npx",
      "args": ["-y", "searchanything-mcp"],
      "env": {
        "SEARCHANYTHING_API_KEY": "sa_live_YOUR_API_KEY"
      }
    }
  }
}
```

## CLI Usage

```bash
# List available Remote MCP tools
npx -y -p searchanything-mcp searchanything tools

# Enrich a public company domain (token-lean JSON)
npx -y -p searchanything-mcp searchanything enrich stripe.com

# Pre-flight deliverability check before outreach
npx -y -p searchanything-mcp searchanything preflight sales@stripe.com legal@acme.com temp@mailinator.com

# Fast DoH MX / SPF / DMARC check
npx -y -p searchanything-mcp searchanything mx stripe.com
```

## Disclaimer

Live web enrichment and DNS/MX checks depend on public source availability and query scope. Results are provided "as is" without guarantee of specific lead volume, deliverability, or commercial outcomes. See [Terms of Service](https://searchanything-web.vercel.app/terms).

## License

MIT