Castov MCP Server
Give Claude Desktop, Cursor, Windsurf, and VS Code Copilot deterministic local execution superpowers. 10 hardened, read-only developer tools with zero telemetry and zero cloud roundtrips.
Quick Setup for AI Coding Agents
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) • %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"castov": {
"command": "npx",
"args": ["-y", "castov@latest", "mcp"]
}
}
}Interactive MCP Live Playground
Interactive JSON-RPC 2.0 Inspector
Select any tool below and edit the payload to inspect the exact stdio JSON-RPC messages exchanged with Claude & Cursor.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "castov_cidr",
"arguments": {
"cidr": "10.240.0.0/22"
}
}
}{
"cidr": "10.240.0.0/22",
"inputIp": "10.240.0.0",
"networkAddress": "10.240.0.0",
"broadcastAddress": "10.240.3.255",
"subnetMask": "255.255.252.0",
"wildcardMask": "0.0.3.255",
"firstUsableHost": "10.240.0.1",
"lastUsableHost": "10.240.3.254",
"usableHosts": 1022,
"totalAddresses": 1024
}Hardened Security Annotations
Every MCP tool declares strict readOnlyHint: true, destructiveHint: false, and openWorldHint: false annotations, using execFileSync argument arrays to eliminate shell injection.
Zero LLM Arithmetic Hallucinations
Eliminate AI errors on CIDR subnet masks, RFC 3021 point-to-point ranges, IANA Daylight Saving Time shifts, Snowflake bit-shifting, and Cron schedule predictions.
100% Local & Air-Gapped
JWT tokens, .env files, and cryptographic secrets never leave your machine. Dual-framing stdio supports both Content-Length and ndjson transports.
Available MCP Tools
All tools include comprehensive JSON Schema validation, explicit type constraints, and deterministic JSON output.
castov_portPort & Process Inspector
Identifies standard service registrations for TCP/UDP ports (1–65535) and inspects active local processes listening on the port across Linux, macOS, and Windows.
{ port: number }castov_cidrIPv4 CIDR & Subnet Calculator
Calculates exact IPv4 network address, subnet mask, wildcard mask, broadcast address, first/last usable host IPs, and total host capacity (including RFC 3021 /31 and /32).
{ cidr: string }castov_detect_idDistributed ID & Timestamp Decoder
Detects and extracts embedded creation timestamps from UUIDv7, UUIDv1/v4, ULID, MongoDB ObjectId, and Discord/Twitter Snowflake IDs.
{ id: string }castov_timestampUnix Epoch & ISO 8601 Converter
Converts Unix epoch timestamps (seconds or milliseconds) or ISO date strings into UTC, ISO 8601, local time, and relative time offsets.
{ value: string }castov_uuidCryptographic UUIDv4 / UUIDv7 / ULID Generator
Generates cryptographically secure RFC 9562 UUIDv4, time-ordered UUIDv7, or lexicographically sortable ULID identifiers in batches up to 50.
{ format?: 'uuidv4' | 'uuidv7' | 'ulid', count?: number }castov_cronCron Schedule Explainer & Next Run Predictor
Parses 5-field POSIX cron expressions into human-readable descriptions and computes the exact next 5 execution timestamps in any IANA timezone.
{ expression: string, timezone?: string }castov_timezoneIANA Timezone Converter
Converts dates, times, or timestamps accurately between any two IANA timezones with automatic DST offset calculation.
{ dateTime: string, fromZone: string, toZone: string }castov_secretCSPRNG Cryptographic Secret Generator
Generates high-entropy cryptographic secrets (16 to 128 bytes) in Hex, Base64, Base64URL, and ready-to-use .env key formats via Node.js crypto.randomBytes.
{ bytes?: number }castov_jwt_decodeOffline JWT Header & Claims Inspector
Decodes JWT header and payload claims locally, formatting issued-at (iat), not-before (nbf), and expiration (exp) timestamps without transmitting tokens over the network.
{ token: string }castov_hashCryptographic Digest Calculator
Computes deterministic cryptographic digests (MD5, SHA-1, SHA-256, SHA-384, SHA-512) in both hexadecimal and Base64 encodings.
{ text: string, algorithm?: 'md5' | 'sha1' | 'sha256' | 'sha384' | 'sha512' }castov_scan_secretsIn-Memory Secret & Credential Leak Scanner
Audits code snippets, .env files, or terminal logs in-memory for leaked AWS keys, GitHub PATs, Stripe live keys, OpenAI keys, Slack tokens, and PEM private keys with redacted output.
{ content: string }Ready to supercharge your AI coding assistant?
Run Castov directly via npx -y castov@latest mcp or explore all 63+ interactive browser utilities and CLI commands.