contact-verification-mcp
contact-verification-mcp
An MCP server wrapping Melissa's Global Address, Global Email, Global Phone verification APIs. Built for the SD Times / Melissa developer article "Building an MCP Server for a Verification API".
What this is
Agents can call following three tools to check whether contact data is real before acting on it; also includes a batch tool and per-session call budget to prevent agents from falling into an endless loop and incurring runaway charges:
verify_postal_addressverify_emailverify_phoneverify_batch
For design decisions behind tool descriptions, the three result types (confirmed / partially confirmed / not confirmed), and why phone line type is deliberately not exposed, see src/melissaClient.ts.
Related MCP server: email-verify
Setup
npm install
cp .env.example .env
# edit .env and set MELISSA_LICENSE_KEY to your own key
npm run build
npm startThis server communicates via MCP over stdio, so it is designed to be started by an MCP client (Claude Code, Claude Desktop, or another MCP-compatible host), not to be run standalone and interactively.
Testing
npm test # runs entirely against recorded fixtures, no network calls, no key required
npm run typecheck # type-checks src/ and tests/ togetherFixtures in tests/fixtures/ include a _source field: REAL indicates verbatim copies from Melissa’s published OpenAPI examples (github.com/MelissaData/MelissaCloudOpenAPI-Specifications); SYNTHETIC indicates fixtures built for test coverage because such cases don't exist in Melissa's public spec (mostly failure scenarios). Do not treat synthetic fixture result codes as if they were verified against a live account.
Running live tests
MELISSA_LICENSE_KEY=your-real-key npm run test:liveThis makes real calls to Melissa’s API and consumes API credits. It is never run as part of npm test or CI. Do not commit real keys; set them as environment variables at runtime.
Results code provenance
Every Melissa result code used in this codebase (AV24, ES01, ES07, ES08, ES21, PS01, PS20, PS22) was confirmed via Melissa’s published OpenAPI spec examples—not guessed or carried over from an older article draft. Specifically:
AV24is the onlyAV-prefixed code anywhere in Melissa’s Global Address spec examples. There is no confirmed code for a separate "confirmed to subpremises" tier, so this client does not claim one.Global Email spec examples only show
ES-prefixed codes. NoEE-prefixed code appears in that spec.Global Phone line-type detection (mobile/landline/VoIP) is documented as Premium-only and US/CA-only, so it's not surfaced as a general capability here.
If your account's real responses include codes not in this list, that’s a sign this client needs updating—not that the new code is wrong.
What's not done yet
Redis-backed cache for multi-instance deployments (currently in-process LRU only, see
src/cache.ts).Line-type detection behind a feature flag for Premium-enabled accounts.
Broader country coverage testing for Global Address beyond US/UK/DE examples in Melissa's own spec.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to validate and standardize US addresses using the official USPS Address Validation API with secure OAuth2 authentication.1
- AlicenseAqualityBmaintenanceEnables real-time email verification via MCP tools, checking syntax, MX, disposable domains, and optional SMTP probe to determine deliverability with a VALID/RISKY/INVALID verdict.213MIT

MadTaco MCP Serverofficial
AlicenseAqualityBmaintenanceProvides verification and utility APIs for AI agents to validate tax IDs, screen sanctions, verify companies, and inspect domains using prepaid USD credits, with no charge for failed checks.13155MIT- AlicenseAqualityBmaintenanceEnables agents to validate data safety before storing, transmitting, or logging data, preventing GDPR/HIPAA/PCI-DSS violations with clear verdicts like SAFE_TO_PROCESS, REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE.3161MIT
Related MCP Connectors
Address validation & geocoding for AI agents: 240+ countries, UK PAF, free US/CA enrichment
Verify emails — deliverability, disposable/role/free detection, MX validity, domain age.
Phone carrier lookup, append, verification, DNC, and fraud data services.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/D2Emerge/contact-verification-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server