SuperAPI AI Directory

mcp-bytesmith

Offline byte toolbox: hex/Base64/Base58 encoding, cryptographic and CRC hashing, base conversion, secure tokens, plus optional Ethereum/EVM tools.

Open website

About this tool

Purpose: mcp-bytesmith is a pure Python Model Context Protocol server built on the official MCP SDK (MCPServer), providing AI clients with byte-processing and cryptography primitives tools; all computation is performed locally and genuinely, with no network or remote API calls.

Main capabilities: The core toolset depends only on the Python standard library and works out of the box. It includes encode/decode (hex, the Base64/Base32 family, Base58/Base58check, Base45, etc.), hash (cryptographic, CRC, and fast non-cryptographic digests), hash_file (verify files and softly validate an expected digest), hmac, num_convert (base conversion), bytes_edit (pad/trim/slice/concatenate), data_uri, otpauth_uri, unicode_normalize, charset_transcode, string_escape/unescape, codepoints, random (CSPRNG bytes, tokens, passphrases), id_generate (UUID v1/v4/v5/v7, ULID, nanoid), password_hash (scrypt, PBKDF2; bcrypt and argon2 supported after installing the crypto extra dependency), derive_key (PBKDF2, scrypt, HKDF).

Optional toolsets: Enable EVM tools via the ethereum extra dependency, such as eth_hash (keccak-256, EIP-191/712/7702), eth_userop_hash (ERC-4337), abi_codec, rlp_codec, eth_selector, abi_inspect, eth_calldata, eth_log_decode, eth_revert_decode, eth_bytecode, eth_tx_codec, eth_storage_slot, eth_address_case, ens_namehash, bip39, bip32_derive, eth_eoa_address, eth_contract_address, eth_sign(private keys are read from a file, with no inline parameter). Enable serialize_codec via the serialize extra dependency, supporting CBOR, MessagePack, bencode, ASN.1 DER/BER, SSZ, and protobuf decoding. There is also an info tool that reports the activated toolsets and version.

Usage: Connect it as an MCP server to an MCP-capable client; the distribution name is mcp-bytesmith and the import package is mcp_bytesmith.

Applicable scenarios: development and security scenarios that require performing encoding conversion, hash verification, key derivation, random generation, Ethereum data encoding/decoding, and signature verification locally.

Limitations: Some toolsets require installing extra dependencies; protobuf only supports decoding; the remaining toolsets (the rest of crypto, IDs, and validation) are still on the roadmap. The project is licensed under GPLv3 and bundles the EFF large wordlist (CC BY 3.0 US) and the BIP-39 English wordlist (MIT).