I built a zero-network MCP server so you stop pasting JWTs and API keys into random websites
Every developer has done this under pressure: you copy a live JWT, a staging log full of emails and API keys, or a sensitive string, and paste it straight into the first online decoder or AI chat that shows up on Google.
Every developer has done this under pressure: you copy a live JWT, a staging log full of emails and API keys, or a sensitive string, and paste it straight into the first online decoder or AI chat that shows up on Google.
Even when a website claims it does not store your input, you are still sending live credentials to a third-party server — or leaving raw secrets inside an LLM transcript.
To fix that workflow for good, I built omnideck-mcp: a local, MIT-licensed Model Context Protocol (MCP) server that gives Claude, Cursor, and any stdio MCP client six privacy-sensitive utilities running 100% inside your own local process.
No outbound sockets. No telemetry. No analytics. No network calls, ever.
Why use an MCP server instead of asking the LLM?
LLMs are great at reasoning, but they are the wrong layer for deterministic utilities and raw secrets:
- Token math and cryptographic hashes must be deterministic, not approximated by a language model.
- Secret scrubbing needs strict local pattern matching before logs or configs ever hit an external API.
-
Auditability should take two minutes: the entire server has just three runtime dependencies (
@modelcontextprotocol/sdk,zod, andgpt-tokenizer) and lives in a single readableindex.jsfile so you can inspect every line before running it.
The 6 local tools
1. redact_sensitive_data
Masks emails, API keys, credit cards, IBANs, IP addresses, and phone numbers before text goes into an external prompt or shared transcript.
One subtle trap with redactors is regex order: if a generic phone-number regex runs first, it slices through long tokens before the API-key matcher catches them. Here, patterns run most-specific-first:
Input:
[WARN] [email protected] auth_key=sk-ant-abcdefghij1234567890
Output:
[WARN] user=[EMAIL REDACTED] auth_key=[API KEY REDACTED]
You can also pass an optional categories argument to mask only specific types.
2. decode_jwt
Decodes a JWT header and payload locally and reports whether the token is expired. It intentionally does not verify the signature — no secret is needed, and none should ever be pasted into a third-party site.
3. estimate_llm_cost
Counts exact tokens locally using gpt-tokenizer (or takes a raw input_tokens count) and compares the cost of a single request across nine GPT, Claude, and Gemini models, sorted cheapest first (list prices updated to October 2026). Handier than guessing before running a batch job.
4. split_for_context
Splits long documents to fit a target token budget, breaking cleanly on paragraph boundaries and falling back to sentence boundaries so no chunk cuts off mid-thought.
5. check_output_fidelity
Compares an AI-generated summary against the original source and flags names, numbers, and dates that appear in the output but not in the source — the most common footprint of fabricated details.
Honest caveat: this is a lexical heuristic, not a fact-checker. It catches invented specifics rather than bad logic, and it can flag a legitimately rephrased term. Treat the output as a fast shortlist of claims to verify manually.
6. hash_text
Computes MD5, SHA-1, SHA-256, or SHA-512 digests locally for passwords or private values that have no business touching an online hash generator.
Setup (10 seconds)
Run it directly with npx (no global install needed):
npx omnideck-mcp
Claude Code:
claude mcp add omnideck -- npx -y omnideck-mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"omnideck": {
"command": "npx",
"args": ["-y", "omnideck-mcp"]
}
}
}
Browser version (no CLI required)
If you want the same utilities in a browser — or need to share them with teammates who don't use MCP — they also run client-side alongside 120+ other developer, PDF, image, network, and AI tools (in both English and Spanish) at OmniDeck (omnideck.cc):
- Full MCP documentation (EN / ES): omnideck.cc/mcp
- Browser Prompt Redactor: omnideck.cc/ai-prompt-redactor
- GPT vs. Claude vs. Gemini Cost Comparator: omnideck.cc/ai-cost-comparator
- Source code (MIT): github.com/aapd-studio/omnideck-mcp
Built by AAPD Studio. If you run into a secret format that redact_sensitive_data misses or an edge case in check_output_fidelity, open an issue on GitHub, drop a comment below, or write to [email protected].
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.