Skip to main content

Byteplant's Email Validator, Phone Validator and Address Validator MCP Server

Project description

Byteplant Validator MCP Server

Email, Phone Number, and Address Validation for the Model Context Protocol (MCP)

This package provides an MCP server that uses Byteplant’s Email Validator, Phone Validator, and Address Validator APIs to deliver real-time validation inside any MCP-compatible client.

Features

  • Email validation
  • Phone number validation
  • Postal address validation
  • Fast stdio MCP server
  • Local execution
  • Easy integration with Claude Desktop

Requirements

MCP Configuration (Claude Desktop)

1. Installation

First, install the python module. You can use local installation (like venv) or global.

pip install byteplant-mcp

2. Configuration

Next, add the MCP server to Claude configuration.

{
	"mcpServers": {
		"byteplant": {
			"command": "path/to/python/installation",
			"args": ["-m", "byteplant-mcp"],
			"env": {
				"EV_TOKEN": "<EMAIL VALIDATOR API TOKEN>",
				"PV_TOKEN": "<PHONE VALIDATOR API TOKEN>",
				"AV_TOKEN": "<ADDRESS VALIDATOR API TOKEN>"
			}
		}
	}
}	

Tools

1. validate_email

Validates an email address.

Parameters:

  • email: An email address to validate [required]
  • timeout: timeout in seconds [optional; default 10s, min 5s, max 300s]

2. validate_phone

Validates a phone number. Parameters:

  • phone: Phone number to validate [required]
  • code: Two letter ISO 3166-1 country code [optional; if phone number is in international format, empty string if not specified]
  • locale: IETF language tag for Geocoding (string) [optional; default 'en-US']
  • mode: express (static checks only)/extensive (full validation) [optional; default = extensive]
  • timeout: timeout in seconds (int) [optional; default 10s, min 5s, max 300s]

3 validate_address

Validates a postal address. Paraters:

  • code: two-letter ISO 3166-1 country code (string), set to 'XX' for international [required]
  • street_adr: street/housenumber/building, may include unit/apt etc. (string)[required]
  • street_num: housenumber/building [optional] (string), housenumber/building can either be part of StreetAddress or be provided separately.
  • additional_info: building/unit/apt/floor etc. [optional] (string)
  • city: city or locality (city, district) [optional] (string)
  • postal: zip/postal code [optional] (string)
  • State: state/province [optional] (string)
  • geocoding: enable Geocoding [true|false]; default: false [optional] (bool)
  • locale: output language for countries with multiple postal languages - use only to translate addresses, always leave empty for address validation [IETF language tag]; default: local language [optional] (string)
  • charset: output character set [us-ascii|utf-8]; default: 'utf-8' [optional] (string)
  • timeout: timeout in seconds (int) [optional; default 10s, min 5s, max 300s]

Environment Variables

  • EV_TOKEN: Your Email Validator API Token
  • PV_TOKEN: Your Phone Validator API Token
  • AV_TOKEN: Your Address Validator API Token You may use only the tokens for the services you use (e.g. only Email Validator), in that case leave the others tokens empty.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

byteplant_mcp-1.0.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

byteplant_mcp-1.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file byteplant_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: byteplant_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for byteplant_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb489630d82fc48598053c267a53b0acc808ded2144d3524495a3735b4376ca6
MD5 82696d2c043593c66699c6861297c61b
BLAKE2b-256 95109390c9fd77cd8e3eb8d2595c5811279520d966d3267ae31aebb887693356

See more details on using hashes here.

File details

Details for the file byteplant_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: byteplant_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for byteplant_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8771034e78f6065938b653ba3f2dc961073337463e93642c3b148d576a1b5e
MD5 273866e4cc908f78fe8686510d89039e
BLAKE2b-256 88bfa89b00c2f3478846534844838d8265e9a112bcc621ef4fc750e1e1aa7fa6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page