contact-verification-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@contact-verification-mcpCheck if john.doe@example.com is a valid email address before we send the invoice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
contact-verification-mcp
An MCP server wrapping Melissa's Global Address, Global Email, and Global Phone verification APIs. Built to accompany the SD Times / Melissa developer article "Building an MCP Server for a Verification API."
What this is
Three tools an agent can call to check whether contact data is real before acting on it, plus a batch tool and a per-session call budget so an agent can't loop itself into a runaway bill:
verify_postal_addressverify_emailverify_phoneverify_batch
See src/melissaClient.ts for the design choices behind the tool
descriptions, the three-state (confirmed / partially confirmed / not
confirmed) results, and why phone line-type is deliberately not exposed.
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 startThe server speaks MCP over stdio, so it's meant to be launched by an MCP client (Claude Code, Claude Desktop, or any other MCP-compatible host), not run standalone for interactive use.
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/ are marked with a _source field: REAL means
copied verbatim from Melissa's published OpenAPI examples
(github.com/MelissaData/MelissaCloudAPI-OpenAPI-Specifications); SYNTHETIC
means constructed for test coverage because no real example of that shape
exists in Melissa's public spec (failure cases, mainly). Don't treat a
synthetic fixture's exact result codes as verified against a live account.
Running live tests
MELISSA_LICENSE_KEY=your-real-key npm run test:liveThis makes real calls against Melissa's API and costs API credits. It is
never run as part of npm test or CI. Do not put a real key in any committed
file; set it as an environment variable at run time only.
Result code provenance
Every Melissa result code referenced in this codebase (AV24, ES01,
ES07, ES08, ES21, PS01, PS20, PS22) was confirmed by grep-ing
Melissa's own published OpenAPI spec examples, not guessed or carried over
from an older article draft. Specifically:
AV24is the onlyAV-prefixed code that appears anywhere in Melissa's Global Address spec examples. There is no confirmed code for a distinct "confirmed to subpremises" tier, so this client does not claim one.Global Email's spec examples only ever show
ES-prefixed codes. NoEE-prefixed code appears anywhere in that spec.Global Phone's line-type detection (mobile/landline/VoIP) is documented as Premium-mode-only and US/CA-only, so it is not surfaced as a general capability here.
If your account's real responses include codes not listed above, 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 accounts with Premium mode enabled.
Broader country coverage testing for Global Address beyond the US/UK/DE examples in Melissa's own spec.
Available Tools
4 toolsverify_batchVerify many addresses, emails, or phone numbers in one callA
Use this instead of calling verify_postal_address, verify_email, or verify_phone in a loop. Checks a local cache before calling Melissa, and is subject to the same per-session call budget as the single-record tools. Provide exactly one of addresses, emails, or phoneNumbers.
| Name | Required | Description | Default |
|---|---|---|---|
| emails | No | ||
| addresses | No | ||
| phoneNumbers | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the tool checks a local cache before calling Melissa and is subject to the same per-session call budget as the single-record tools. This adds meaningful context beyond a simple 'verify' action, though it does not mention return format or error behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, tightly packed with actionable guidance. The primary usage directive is front-loaded, and the constraints (cache, budget, mutual exclusivity) follow logically. No filler or redundancy; every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (batch verification, three mutually exclusive parameters, no annotations, no output schema), the description covers the essential context: when to use it, the mutual exclusivity rule, and key behavioral constraints. However, it omits the return structure, any batch size limits beyond the budget, and error semantics, so it is not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for parameter documentation. It clarifies that exactly one of the three arrays must be provided, which is a crucial semantic not encoded in the schema. However, it does not describe the structure of address objects or the format of email/phone strings, leaving much to the schema. This partially compensates for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool verifies addresses, emails, or phone numbers in batch, and explicitly contrasts it with the single-record siblings by saying 'Use this instead of calling verify_postal_address, verify_email, or verify_phone in a loop.' This distinguishes it from related tools and conveys a specific verb-resource pair.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives an explicit directive: 'Use this instead of calling ... in a loop,' which tells the agent exactly when to choose this tool over the single-record ones. It also states the cardinality constraint, 'Provide exactly one of addresses, emails, or phoneNumbers,' covering a key usage rule that the schema does not enforce.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_emailVerify an email address against mailbox and domain reference dataA
Checks whether an email address is deliverable, not merely well-formed. Returns a deliverability confidence score (0-100) and result codes. Call this before sending anything time-sensitive or before treating an email address as a verified contact channel. Do NOT use this as an identity check; a deliverable mailbox does not confirm who controls it.
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address to verify |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the return values (confidence score 0-100 and result codes) and clarifies a key limitation (deliverable does not confirm control). It does not mention error handling, rate limits, or side effects, but for a read-only verification tool, these are minor. This is solid transparency for the core behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loading the core purpose, then covering return values, recommended usage, and a critical caveat. There is no fluff or repetition; each sentence earns its place. The structure is well organized and easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool with no output schema, the description covers the what, the return type, when to use, and a limitation. The only gap is not detailing the specific result codes or their meanings, but this may be acceptable given the lack of an output schema and the tool's simplicity. It is largely complete for an agent to call correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter is well-described ('Email address to verify'). The description adds semantic nuance by clarifying that the email is checked for deliverability, not just format, which goes beyond the schema's literal definition. This adds value without redundancy.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Checks whether an email address is deliverable, not merely well-formed') with a clear resource (email). It distinguishes from siblings by focusing on deliverability, not format validation, and the sibling names (verify_phone, verify_postal_address) clearly differ. It is unambiguous and specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance ('Call this before sending anything time-sensitive or before treating an email address as a verified contact channel') and an explicit exclusion ('Do NOT use this as an identity check'). It also explains why the exclusion matters, which helps an agent choose correctly among alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_phoneVerify a phone number against carrier reference dataA
Checks whether a phone number is valid and returns a standardized version. Does NOT report line type (mobile/landline/VoIP): Melissa exposes that only in Premium mode for US/CA numbers, which this tool does not assume is enabled. Do not use this tool's output to infer SMS deliverability.
| Name | Required | Description | Default |
|---|---|---|---|
| phoneNumber | Yes | Phone number to verify, any common format |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility and does well: it discloses that line type is not reported (a common expectation), that Premium mode is not assumed, and warns against using output for SMS deliverability. This goes beyond the basic 'validates' claim and informs the agent of significant behavioral limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the primary purpose, followed by critical limitations. Every sentence adds value, and it is compact without any filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter verification tool with no output schema or annotations, the description covers validity checks, standardization, and critical exclusions. It stops short of specifying the exact return structure or error behavior, but given the simplicity, it is adequately complete for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter phoneNumber is fully covered by the schema description ('any common format'). The tool description adds no additional parameter constraints or format details beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool verifies phone number validity and returns a standardized version, with a specific verb and resource. It also distinguishes itself from siblings (verify_email, verify_postal_address) by focusing on phone, and explicitly notes a limitation (no line type detection). This allows an agent to select it correctly among siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear context of use: validating and standardizing phone numbers. It includes an explicit exclusion: 'Do not use this tool's output to infer SMS deliverability,' which prevents misuse. However, it does not directly reference alternative tools for other data types, so it leaves a small gap in routing to siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_postal_addressVerify a postal address against authoritative postal dataA
Checks whether a postal address exists and is deliverable, using maintained postal reference data. Returns a verification level, a corrected and standardized version of the address, and a persistent identifier for the physical location. Call this before any action that depends on an address being real: shipping, billing, account creation, or writing an address to a system of record. Do NOT use this to look up who lives at an address, and do not treat a verified address as evidence that a particular person is associated with it. This tool cannot confirm an address that is newly built or not yet in postal records; a 'not confirmed' result means unknown, not fabricated.
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3166 country code or country name | |
| locality | No | City or town | |
| postalCode | No | ||
| addressLine | Yes | Street address as entered, single line | |
| administrativeArea | No | State, province, or region |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the return values (verification level, corrected address, persistent identifier), discloses a limitation (cannot confirm newly built addresses), and interprets results ('not confirmed' means unknown, not fabricated). It also warns against misinterpreting verification as evidence of person association. This is thorough transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is comprehensive yet efficient. It opens with the core function, then covers return values, usage guidance, and important limitations without redundancy. Every sentence contributes to the agent's understanding, making it well-structured and appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema, and the description compensates by naming the three return components (verification level, corrected address, persistent identifier). It also covers usage, limitations, and interpretation. However, it doesn't describe the specific response structure or possible verification levels, which would be useful for full completeness. Overall, it provides sufficient context for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, so the schema already documents most parameters. The description does not add parameter-specific semantics beyond the schema's descriptions; it only mentions 'using maintained postal reference data,' which pertains to data source rather than parameter meaning. This aligns with the baseline of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's function with a specific verb and resource: 'Checks whether a postal address exists and is deliverable.' It is unambiguous about the resource type, which inherently differentiates it from siblings like verify_email and verify_phone. However, it does not explicitly name or contrast itself against sibling tools, so it falls short of full explicit differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit when-to-use guidance ('Call this before any action that depends on an address being real: shipping, billing, account creation, or writing an address to a system of record') and explicit when-not-to-use guidance ('Do NOT use this to look up who lives at an address, and do not treat a verified address as evidence that a particular person is associated with it'). It covers both positive and negative use cases clearly, even though it doesn't name alternative tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- First observed
verify_batch - First observed
verify_email - First observed
verify_phone - First observed
verify_postal_address
TDQS
Scored across 4 tools
Each tool targets a distinct resource (address, email, phone) or a batch wrapper that explicitly replaces the single-record tools. The descriptions clearly differentiate purposes (e.g., email verification ≠ identity check).
All tool names follow the consistent pattern 'verify_' + a clear noun (postal_address, email, phone, batch). The convention is uniform and predictable.
Four tools cover the core verification operations (address, email, phone, plus a batch version). This is well-scoped and avoids unnecessary bloat or redundancy.
The tool surface covers the essential contact verification methods (postal, email, phone) and adds batch processing for efficiency. The descriptions explicitly disclaim unsupported features (e.g., phone line type, identity confirmation), making the scope clear with no obvious gaps.
Maintenance
Related MCP Connectors
Verify addresses, email addresses, and phone numbers with confidence scores.
Verify emails and domains for routing, disposable providers, role accounts, and SMTP risk.
Email, phone, domain, URL & OFAC verification; phishing and IBAN checks via x402.
Address validation & geocoding for AI agents: 240+ countries, UK PAF, free US/CA enrichment
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.28 npmMIT

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.1379 npmMIT- 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.383 npmMIT