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-0.1.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-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: byteplant_mcp-0.1.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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0df63b3bc5189d99fd09d4691cba99f6930d0824e834c2f79ec9a5f13805493d
MD5 697b81a31fe0476ac4c2e4da63cf46d7
BLAKE2b-256 3b0e9ee260919b1e55c41762c6520562cb6345376c9e3dbc85c4c02c1209777e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: byteplant_mcp-0.1.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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13d4606e94cbd2fe262b26663a26cb984aa8c157dbcc5dd7479e4d766968c33d
MD5 f4630397d84a24b4b75fc66364872ed7
BLAKE2b-256 b5a56805e7ce6518ce1b0812225f730f3c48501c35b6a734ebf069c643793149

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