Castov
Castov is a local, privacy-first MCP server that exposes deterministic developer utilities to AI agents and developers with no network calls or telemetry.
Connect to MCP clients such as Claude Desktop, Cursor, Windsurf, or local LLMs over stdio JSON-RPC 2.0.
Convert Unix timestamps between seconds/milliseconds and UTC, ISO 8601, and localized human time.
Detect ID formats and decode creation timestamps from UUIDv7, ULID, MongoDB ObjectId, and Snowflake IDs.
Calculate IPv4 CIDR subnet masks, wildcard masks, network/broadcast addresses, usable IP ranges, and host counts.
Inspect ports for IANA service assignment, TCP/UDP protocol, and typical application purpose.
Explain cron expressions and calculate the next 5 runs in an IANA timezone.
Convert date/times between IANA timezones with offsets, abbreviations, and DST warnings.
Generate CSPRNG secrets in Hex, Base64URL, API-key, and UUIDv7 formats.
Decode JWTs offline and inspect headers, payload claims, and expiration status.
Compute SHA-256/384/512, SHA-1, MD5 hashes and Base64/Base64URL encodings.
Scan code snippets, .env text, or git diffs for leaked API keys, tokens, and private keys.
Castov
β‘ What is Castov?
Modern AI agents and developer workflows suffer from two critical flaws:
Agent Hallucinations on Exact Operations: LLMs frequently blunder arithmetic for CIDR network masks, time zone offsets, epoch milliseconds, and cryptographic key derivations.
Data & Secret Leakage: Sending system logs, environment variables, or tokens to third-party cloud APIs presents unacceptable security hazards.
Castov solves both. It acts as an in-situ Execution Layer for developer environments. It provides deterministic, offline, and instant utilities delivered directly to your terminal, editor, Docker containers, and AI agents through the Model Context Protocol (MCP).
Everything runs 100% locally. No external analytics, no telemetry, and zero cloud roundtrips.
π Castov vs Existing Solutions
Feature / Capability | β‘ Castov | π΅οΈ CyberChef | π οΈ DevToys | π Raycast | π¦ IT-Tools |
100% Client-Side Web Crypto | β Yes | β Yes | β Native Only | β Mac Only | β Yes |
Model Context Protocol (MCP) | β Grade A Server | β No | β No | β Proprietary | β No |
Terminal CLI ( | β Built-in | β No | β Separate | β Mac GUI | β No |
Zero Server Payload Logging | β Air-Gap Safe | β Yes | β Yes | β οΈ Telemetry | β Yes |
Cross-Platform (Web/OS/Docker) | β Universal | β οΈ Web Only | β οΈ Desktop Only | β macOS Only | β οΈ Web Only |
AI Editor Integration (Cursor/Claude) | β Native | β No | β No | β No | β No |
Process / Port Killer ( | β Built-in | β No | β No | β οΈ Extension | β No |
Secret & API Key Leak Scanner | β Built-in | β No | β No | β No | β No |
Open Source (MIT) | β Yes | β Apache 2.0 | β MIT | β Proprietary | β GPL-3.0 |
Related MCP server: agent-core-mcp
π€ AI Agent Setup (Model Context Protocol - MCP)
Castov ships with a built-in, production-grade JSON-RPC 2.0 stdio MCP server supporting both Content-Length framed and ndjson stream protocols.
1. Claude Desktop
Add Castov to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"castov": {
"command": "npx",
"args": ["-y", "castov", "mcp"]
}
}
}2. Cursor IDE & Windsurf
Go to Settings β Features β MCP Servers β Add New MCP Server:
Name:
castovType:
commandCommand:
npx -y castov mcp
Alternatively, add to your project's .cursor/mcp.json:
{
"mcpServers": {
"castov": {
"command": "npx",
"args": ["-y", "castov", "mcp"]
}
}
}Native Tools Exposed to Agents (10 Tools β All 100% Local & Read-Only)
MCP Tool | Capability | Example Agent Prompt |
| Identifies listening services, protocol mappings, and inspects process collision | "Why is port 3000 busy and what service uses it?" |
| Calculates IPv4 subnet masks, wildcard, broadcast, and usable host count | "Calculate usable IP range and subnet mask for 10.240.0.0/22" |
| Decodes embedded creation timestamps from UUIDv7, ULID, ObjectId, Snowflake | "When was this MongoDB ObjectId or Snowflake ID created?" |
| Bidirectional epoch conversion to ISO 8601, UTC, and localized representations | "Convert 1713456789 to human UTC and ISO format" |
| Parses 5-field cron schedules into plain English and computes next 5 runs | "Explain cron |
| Converts timestamps across IANA time zones with DST transition warnings | "Convert |
| Generates CSPRNG 256-bit Hex, Base64URL, API keys, and sortable UUIDv7 secrets | "Generate a 256-bit cryptographic secret for |
| Decodes JWT headers, payloads, and | "Decode this JWT offline and check if it is expired" |
| Computes SHA-256/384/512, SHA-1, MD5 digests and Base64/Base64URL encodings | "Compute the SHA-256 hex digest and Base64URL encoding of this webhook payload" |
| Audits code snippets, git diffs, or | "Scan this git diff for any accidentally hardcoded AWS, Stripe, or OpenAI keys" |
π¦ Multi-Channel Distribution
Castov is available everywhere modern engineering happens:
1. Terminal CLI (Node.js / npm)
Run instantly without installation:
npx castov --helpOr install globally:
npm install -g castov
castov --help2. Docker Container (Docker Hub)
Lightweight Alpine Linux container (node:20-alpine) running under a non-root node user:
# Run one-off command
docker run --rm castovdev/castov:latest uuid --v7
# Interactive diagnostic shell
docker run -it --rm castovdev/castov:latest3. Homebrew Tap (macOS & Linux)
Install natively via Brew:
brew tap castovdev/castov
brew install castov
# Verify installation
castov --version4. VS Code, Cursor & Windsurf Extensions
Install the official extension directly within your editor:
VS Code Marketplace: Search
Castovor installCastov.castov-vscodeOpen VSX Registry: Available for Cursor, Windsurf, VSCodium:
castov/castov-vscode
# Command line installation
code --install-extension Castov.castov-vscode5. GitHub Action (CI/CD Pipelines)
Automate security scans, secret leakage audits, and environment checks in your GitHub workflows:
- name: Run Castov Secret Scanner
uses: castovdev/castov-action@v1.0.0
with:
command: 'scan .'π οΈ CLI Quickstart & Core Commands
castov <command> [options]π Process & Port Manager (EADDRINUSE Killer)
Inspect what process is occupying a port or kill it cleanly:
# Inspect service and protocol
castov port 3000
# Inspect active process PID and terminate it immediately
castov port 3000 --killπ Cryptographic Secret Generator
Generate high-entropy keys for .env, NEXTAUTH_SECRET, JWT signing, and API authentication:
castov secret
castov secret --len 64π Subnet & CIDR Calculator
Calculate network masks, wildcard masks, and usable host ranges with zero external lookups:
castov cidr 192.168.1.0/24
castov cidr 10.0.0.0/16π‘οΈ Local Secret Leak Scanner
Recursively scan local directories for committed or uncommitted API tokens (AWS, Stripe, OpenAI, GitHub, Private Keys):
castov scan .π Crash Log & Terminal Error Healer
Pipe terminal crashes or paste error stack traces for instant, deterministic remediation:
castov fix "Error: listen EADDRINUSE: address already in use :::8080"
npm run build 2>&1 | castov fixπ§ AI Rules & System Prompt Generator
Bootstrap .cursorrules or CLAUDE.md with hardened engineering practices:
castov rules nextjs --write
castov rules fastapi
castov rules rustβ±οΈ Universal ID & Timestamp Detector
Extract metadata and epoch timestamps from any modern distributed identifier:
castov detect 018e3a2b-8a5c-7b00-9821-654321abcdef
castov detect 507f1f77bcf86cd799439011
castov ts 1713456789π Complete Suite of 63 Developer Tools
In addition to the CLI and MCP Server, Castov provides 63 client-side web tools accessible at castov.com:
Category | Featured Tools |
Security & Privacy | Steganography Env Vault, Client-Side Secret Scanner, Zero-Knowledge Env Vault, Hash Generator (SHA-256/512/MD5), JWT Decoder, Base64 Encoder/Decoder, UUID v4/v7 Generator. |
Networking & DevOps | EADDRINUSE Port Inspector, IPv4 CIDR Calculator, Dockerfile Visualizer, P2P Ghost Tunnel, Fetch Mock Generator, API Load Tester, DNS & Header Inspector. |
Data & Architecture | JSON to TypeScript Type Generator, 3D JSON Galaxy, Interactive JSON Formatter & Viewer, SQLite In-Browser Fiddle, Line-by-Line Diff Checker, AST Conflict Telepathy. |
Frontend & UI | Glassmorphism CSS Studio, App Mockup Generator, High-Resolution Code-to-Image Renderer, Favicon Generator, GitHub Profile README Builder. |
Time & Scheduling (25+ Tools) | Unix Timestamp Converter, Epoch Converter, ISO 8601 & RFC 3339 Parser, Timezone Converter & Simulator, Plain-English Cron Generator & Explainer, World Clock, Business Hours Matrix, Milliseconds to Date. |
π Privacy & No Behavioral Telemetry Guarantee
Engineering tools should never leak your IP, company secrets, or code snippets.
0 Analytics or Tracking Cookies: No PostHog, Google Analytics, or third-party telemetry scripts.
Offline First: All cryptographic operations rely on the browser and runtime's native
SubtleCrypto/ Web Crypto API.Air-Gap Compatible: Both the CLI, Docker image, and web application can run in offline and restricted intranet environments.
π» Local Development
Castov is built with Next.js 16 (App Router), TypeScript (Strict), and Tailwind CSS v4.
# 1. Clone repository
git clone https://github.com/castovdev/castov.git
cd castov
# 2. Install dependencies
npm install
# 3. Setup local environment
cp .env.example .env.local
# 4. Start development server
npm run dev
# 5. Build CLI and Web applications
npm run buildTo run tests across packages:
npm run testπ€ Contributing
Contributions from developers worldwide are welcomed and celebrated! Whether it's adding a new client-side tool, optimizing CLI performance, or improving documentation:
Check out our Contributing Guide to learn how to add a new tool in 5 minutes.
Check existing issues or open a discussion for feature suggestions.
π License
Castov is open-source software licensed under the MIT License β Copyright Β© 2026 Abdelmalik Benidir / Castov (castov.com). Free for personal, commercial, and enterprise usage.
Available Tools
10 toolscastov_cidrARead-onlyIdempotent
Calculate IPv4 CIDR subnet mask, wildcard mask, network address, broadcast address, usable IP range, and total host count.
Inputs: cidr (required).
castov_cronARead-onlyIdempotent
Parse a 5-field cron expression into plain English and calculate the next 5 upcoming execution times in a specified IANA timezone.
Inputs: expression (required), timezone.
castov_detect_idARead-onlyIdempotent
Detect identifier format and decode embedded creation timestamp from MongoDB ObjectId, UUIDv7, ULID, or Twitter/Discord Snowflake ID.
Inputs: id (required).
castov_hashARead-onlyIdempotent
Compute deterministic cryptographic hashes (sha256, sha384, sha512, sha1, md5) and Base64 / Base64URL encodings of input text locally.
Inputs: text (required), algorithm.
castov_jwt_decodeARead-onlyIdempotent
Decode a JSON Web Token (JWT) header and payload locally offline without external network calls, inspecting claims (exp, iat, nbf, sub, iss) and expiration status.
Inputs: token (required).
castov_portARead-onlyIdempotent
Inspect network port number (1-65535) for standard IANA service assignment, transport protocol (TCP/UDP), and typical application purpose.
Inputs: port (required).
castov_scan_secretsBRead-onlyIdempotent
Scan a code snippet, git diff, or .env configuration text locally for leaked credentials (AWS Access Keys, Stripe Live Keys, OpenAI API Keys, GitHub PATs, Slack Tokens, and RSA/OpenSSH Private Keys).
Inputs: content (required).
castov_secretARead-only
Generate cryptographically secure random secrets (CSPRNG) in Hex, Base64URL, API Key ('sk_live_...'), and sortable UUIDv7 formats for .env files and JWT signing.
Inputs: bytes.
castov_timestampBRead-onlyIdempotent
Inspect and convert a Unix epoch timestamp (seconds or milliseconds) to UTC, ISO 8601, and localized human time.
Inputs: value (required).
castov_timezoneARead-onlyIdempotent
Convert a date/time string between two IANA time zones with exact UTC offset, timezone abbreviation, and Daylight Saving Time (DST) transition warnings.
Inputs: toZone (required), dateTime (required), fromZone (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose targeting a specific resource or action (secrets, JWT, hash, scan, ID, CIDR, port, cron, timezone). The only mild overlap is within the time-related cluster (timestamp, timezone, cron) and the crypto cluster (secret vs hash vs scan_secrets), but descriptions distinguish them well enough that misselection is unlikely.
All tools share a consistent 'castov_' prefix and snake_case, giving a predictable namespace. However, the suffix style is mixed: mostly bare nouns (secret, hash, cidr, port, cron, timezone) with a few verb_noun forms (jwt_decode, scan_secrets, detect_id), which is a minor deviation rather than a real inconsistency.
At 10 tools, the set is well-scoped and each tool is a distinct, self-contained utility that earns its place. No redundancy or padding is present.
As a developer utility toolkit, coverage is broad across security, networking, and time domains. A few minor gaps exist (e.g., no Base64 decode counterpart to the hash/encode tool, and JWT decode has no accompanying sign/encode), but these are workable omissions.
Maintenance
Related MCP Connectors
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Exact hashing, base64/hex/URL encoding, JWT decoding and UUIDs for AI agents. No auth required.
JSON/YAML, regex, diff, JWT, SQL dialects β the keyless millisecond ops an agent needs mid-task.
Open-source IP address and CIDR tools for network calculations and public IP lookup.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI agents to perform accurate local computations including arbitrary-precision math, date handling, unit conversion, subnet calculations, encoding, hashing, and text analysis, all without network calls or API keys.27MIT
- AlicenseAqualityCmaintenanceEnables AI agents to perform exact, reproducible mechanical computation β text diffing, hashing, JSON querying, calendar arithmetic, deadline-bounded regex extraction, CSV parsing, similarity scoring, unit and base conversion β instead of relying on probabilistic guessing. Runs dependency-free, read-only and offline over stdio, with schema validation and hard caps on every operation so no call can hang the client.15MIT
- AlicenseNot gradedqualityCmaintenanceExposes 24 deterministic developer utilities as MCP tools β encoders and hashers, UUID/ULID and timestamp helpers, color, CSS, cron and permission converters, JSON/YAML/XML/SQL/TypeScript transformers, and a web page-to-markdown fetcher. Runs locally over stdio so agents get byte-exact results instead of approximating computations, with only the markdown fetcher making network requests.MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to perform everyday developer utility tasks locally and offline β Base64/URL encoding, hashing, JSON formatting, JWT decoding, timestamp conversion, cron scheduling, regex testing, password generation, and text conversion β with zero dependencies or API keys. Works with Claude Code, Cursor, VS Code, Windsurf, and any MCP client.17MIT