Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encrata.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Encrata provides an MCP (Model Context Protocol) server that lets any compatible AI agent — Claude, ChatGPT, Cursor, Windsurf, VS Code Copilot — use Encrata as a tool natively. Ask your AI assistant to look up a person by email, and it calls Encrata directly. There are two ways to connect:
MethodTransportBest for
npm package (recommended)stdioClaude Desktop, ChatGPT, Cursor, VS Code, Windsurf
Remote endpointStreamable HTTPCustom integrations, any MCP client

Quick start

1. Get an API key

Sign up at encrata.com and create an API key in Settings → API Keys.

2. Install

npm install -g encrata-mcp
Or use npx — no install needed (shown in configs below).

Authentication

Pass your Encrata API key as an environment variable (npm package) or Bearer token (remote endpoint):
# npm package
ENCRATA_API_KEY=your-api-key

# Remote endpoint
Authorization: Bearer YOUR_API_KEY

Available tools

ToolDescriptionCredits
lookup_emailFull person intelligence from an email — name, company, role, socials, breaches, validity1 per fresh lookup
validate_emailQuick deliverability check — valid, invalid, or disposableFree
check_breachesData breach exposure — affected services and exposed data typesFree
ip_lookupIP intelligence — geolocation, VPN/proxy/Tor detection, ASN, companyFree
company_searchCompany intelligence — profile data, knowledge graph, organic search results1
domain_searchDomain lookup — WHOIS data, registrar, nameservers, knowledge graph1
darkweb_searchDark web intelligence — search by email, domain, IP, or free text1
google_searchGoogle search — web, news, images with country/language filters1
list_monitorsList all email monitorsFree
create_monitorCreate a new monitor to track email changes over timeFree
get_monitorGet details of a specific monitorFree
trigger_monitor_runTrigger an immediate enrichment run1 per email
list_runsList monitoring runs for a monitor or all monitorsFree
get_run_resultsGet enrichment results and detected changes for a runFree
list_contact_listsList all contact listsFree
create_contact_listCreate a reusable email listFree
get_contact_listGet details of a specific contact listFree
delete_contact_listDelete a contact list permanentlyFree
list_contact_list_emailsList all emails in a contact listFree
add_emails_to_listAdd emails to a contact listFree
remove_emails_from_listRemove emails from a contact listFree
list_bulk_jobsList async bulk enrichment jobsFree
get_bulk_jobGet status and download URL of a bulk jobFree
cancel_bulk_jobCancel a pending/in-progress bulk jobFree

lookup_email

ParameterTypeRequiredDescription
emailstringYesEmail address to look up
fieldsstringNoComma-separated fields to return (see field reference)

validate_email

ParameterTypeRequiredDescription
emailstringYesEmail address to validate

check_breaches

ParameterTypeRequiredDescription
emailstringYesEmail address to check

ip_lookup

ParameterTypeRequiredDescription
ipstringYesIP address to look up (IPv4 or IPv6)
ParameterTypeRequiredDescription
querystringYesCompany name or search query
ParameterTypeRequiredDescription
querystringYesDomain name to look up (e.g. example.com)
ParameterTypeRequiredDescription
querystringYesSearch query (email, domain, IP, or text)
typestringNoType of search: email (default), domain, ip, or search
offsetnumberNoPagination offset for results
ParameterTypeRequiredDescription
querystringYesSearch query
typestringNoType of search: search (default), news, or images
countrystringNoCountry code for localized results (e.g. us, uk, in)
langstringNoLanguage code (e.g. en, fr)
numnumberNoNumber of results to return

Connect to your AI tool

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
  "mcpServers": {
    "encrata": {
      "command": "npx",
      "args": ["-y", "encrata-mcp"],
      "env": {
        "ENCRATA_API_KEY": "your-api-key"
      }
    }
  }
}
Then ask Claude: “Look up satya@microsoft.com on Encrata”

Example prompts

Once connected, try asking your AI:
  • “Look up john@example.com
  • “Is sarah@company.io a valid email?”
  • “Check if mike@gmail.com has been in any data breaches”
  • “Find me everything about the person behind hello@startup.com
  • “Validate these emails and tell me which are deliverable: a@x.com, b@y.com
  • “Search for information about OpenAI as a company”
  • “Look up the domain tesla.com — who owns it and when does it expire?”
  • “Search the dark web for any mentions of leaked@company.com
  • “Google search for ‘AI agent frameworks 2025’ and summarize the top results”
  • “Find dark web mentions of the domain example.com”
  • “Search Google News for ‘Series A funding’ in the US”

How it works

┌─────────────────────────────────────────────┐
│           AI Agent (Claude, ChatGPT, etc.)  │
└─────────────┬───────────────────────────────┘
              │ MCP protocol

┌─────────────────────────────────────────────┐
│   npm package (stdio)    or    Remote HTTP  │
│   encrata-mcp                  /mcp         │
└─────────────┬───────────────────────────────┘
              │ REST API / JSON-RPC

┌─────────────────────────────────────────────┐
│             Encrata API                     │
│   10+ data sources in parallel              │
└─────────────────────────────────────────────┘
npm package: Runs locally as a stdio process. Calls Encrata’s REST API directly. No sessions, no state — each tool call is a simple HTTP request. Remote endpoint: Streamable HTTP transport (JSON-RPC 2.0 over POST) at https://encrata.com/mcp. Useful for custom integrations or clients that only support HTTP transport.

Source code

The MCP server is open source:
https://github.com/Encratahq/encrata-mcp

Advanced: raw JSON-RPC

If you’re building a custom integration against the remote endpoint:
curl -X POST https://encrata.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2025-03-26",
      "capabilities": {},
      "clientInfo": { "name": "my-app", "version": "1.0" }
    }
  }'