Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Sichere ProgrammierungConnect Claude to Perplexity AI Pro with Zero Search API Fees(24.09.2026 um 09:57 Uhr)
•
Sichere ProgrammierungInvestigating Fraud with a Graph, Not Just a Prompt(24.09.2026 um 10:01 Uhr)
•
Sichere ProgrammierungA .docx does not store where its pages end(24.09.2026 um 10:01 Uhr)
•
Sichere Programmierung9 Best Enterprise AI Gateways With SSO, RBAC, and Audit Logs (2026)(24.09.2026 um 10:01 Uhr)
••
Sichere ProgrammierungThe Signal Contract for a 5-Minute TWAP Market(24.09.2026 um 10:03 Uhr)
•
Sichere ProgrammierungRemoteMac(24.09.2026 um 10:06 Uhr)
•
Sichere ProgrammierungDesigning a Batch Move That Handles Partial Failure(24.09.2026 um 10:07 Uhr)
•
Sichere ProgrammierungThe Model Was Never the Problem(24.09.2026 um 10:07 Uhr)
••
Sichere ProgrammierungConnect Claude to Perplexity AI Pro with Zero Search API Fees(24.09.2026 um 09:57 Uhr)
•
Sichere ProgrammierungInvestigating Fraud with a Graph, Not Just a Prompt(24.09.2026 um 10:01 Uhr)
•
Sichere ProgrammierungA .docx does not store where its pages end(24.09.2026 um 10:01 Uhr)
•
Sichere Programmierung9 Best Enterprise AI Gateways With SSO, RBAC, and Audit Logs (2026)(24.09.2026 um 10:01 Uhr)
••
Sichere ProgrammierungThe Signal Contract for a 5-Minute TWAP Market(24.09.2026 um 10:03 Uhr)
•
Sichere ProgrammierungRemoteMac(24.09.2026 um 10:06 Uhr)
•
Sichere ProgrammierungDesigning a Batch Move That Handles Partial Failure(24.09.2026 um 10:07 Uhr)
•
Sichere ProgrammierungThe Model Was Never the Problem(24.09.2026 um 10:07 Uhr)
••
Intelligence View
⚡ tsecurity.de Intelligence

I Built an MCP Server to Fix 21 Things LLMs Are Bad At

title: "I Built an MCP Server to Fix 21 Things LLMs Are Bad At" published: true tags: ai, mcp, opensource, tools cover_image: https://github.com/user-attachments/assets/364d3148-4c56-4b50-b504-28cc1de654ac The Problem:…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

title: "I Built an MCP Server to Fix 21 Things LLMs Are Bad At"

published: true

tags: ai, mcp, opensource, tools





cover_image: https://github.com/user-attachments/assets/364d3148-4c56-4b50-b504-28cc1de654ac





The Problem: When AI Hallucinates the Basics



Picture this: You're vibe coding with Claude, building something cool. You ask it to calculate 2^128 and it confidently tells you it's "340282366920938463463374607431768211456" — except it's wrong. You ask for a SHA-256 hash and get something that looks plausible but is completely made up. You need a UUID and receive 12345678-1234-1234-1234-123456789abc (which, let's be honest, is faker than your enthusiasm at 9 AM meetings).



LLMs are incredible at reasoning, writing, and creative tasks. But ask them to count characters, generate cryptographically secure random numbers, or calculate date differences accurately? Hallucination city.



Here's the thing: individual tools exist for some of these problems. But when you're in flow, switching context to grab a calculator, run date commands, or fire up an encoding tool kills momentum. I wanted something comprehensive that just works — automatically, locally, without thinking about it.



Hi, I'm Chataclaw (@chataclaw).



So I built Calc MCP: an MCP server with 21 tools for all the deterministic stuff AI struggles with.





What is Calc MCP?



Calc MCP is a Model Context Protocol server that gives your AI assistant 21 specialized tools for precise, deterministic operations:




  • 🧮 Math evaluation with sandboxed execution

  • 🎲 Cryptographic randomness (real UUIDs, secure tokens)

  • 📅 Date/time arithmetic that doesn't hallucinate

  • 🔐 Hashing & encoding (base64, hex, URL, JWT, and more)

  • ✅ Validation & parsing (JSON, regex, cron, Luhn, IP, semver)

  • 🎨 Conversion utilities (colors, units, character info)





Why You Should Care



🔒 Secure by Design




  • Sandboxed math evaluation (no arbitrary code execution)

  • ReDoS protection for regex operations

  • Weak hash warnings (MD5/SHA-1 deprecation notices)



💰 Completely Free




  • No API keys required

  • Runs 100% locally

  • Works offline

  • MIT License





Before & After



Without Calc MCP:




You: "What's the SHA-256 hash of 'hello'?"
AI: "The hash is 2cf24dba5fb0a3... (hallucinates rest)"

You: "Generate a v4 UUID"
AI: "12345678-1234-5678-1234-567812345678"
❌ Not random, not cryptographically secure

You: "How many days until Christmas 2026?"
AI: "Let me calculate... approximately 280 days"
❌ Wrong, and "approximately" isn't good enough






With Calc MCP:




You: "What's the SHA-256 hash of 'hello'?"
AI: Uses hash tool → Returns actual SHA-256
✅ "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"

You: "Generate a v4 UUID"
AI: Uses random tool → Returns crypto.randomUUID()
✅ "f47ac10b-58cc-4372-a567-0e02b2c3d479"

You: "How many days until Christmas 2026?"
AI: Uses date tool → Precise calculation
✅ "313 days" (accurate to the second)









Quick Start



Install via npm:




npm install -g @coo-quack/calc-mcp






Then add to your MCP client configuration:






Claude Desktop



Edit ~/Library/Application Support/Claude/claude_desktop_config.json:




{
"mcpServers": {
"calc": {
"command": "calc-mcp"
}
}
}









Claude Code (openclaw)



In your workspace:




mcporter install calc-mcp









Cursor / VS Code



Add to your MCP settings:




{
"mcpServers": {
"calc": {
"command": "npx",
"args": ["-y", "@coo-quack/calc-mcp"]
}
}
}









Windsurf



Similar to VS Code — add the server to your MCP configuration file.



Restart your client, and you're ready to go. Full docs at coo-quack.github.io/calc-mcp.






The 21 Tools: A Showcase



Let me walk you through what's inside, organized by category.






🧮 Math & Calculation



math — Evaluate mathematical expressions safely




Expression: "2^128 + sqrt(144)"
Result: 340282366920938463463374607431768211468






Supports standard operators, functions (sin, cos, log, sqrt, etc.), constants (PI, E), and complex expressions. Sandboxed execution means no eval() risks.



count — Accurately count characters, words, lines, bytes




Text: "Hello 世界"
Characters: 8
Bytes (UTF-8): 12
Words: 2






Perfect for when you need exact counts for APIs with character limits.






📅 Date & Time



datetime — Current date/time in any format or timezone




Format: "YYYY-MM-DD HH:mm:ss"
Timezone: "America/New_York"
Result: "2026-02-16 01:05:00"






date — Date arithmetic and difference calculations




Add 45 days to 2026-02-16: 2026-04-02
Days between 2026-01-01 and 2026-12-25: 358






No more "roughly X days" hallucinations.






🎲 Cryptographic Randomness



random — Generate secure random values




  • UUIDs (v4, v7)

  • Cryptographically secure integers

  • Random strings (alphanumeric, hex, base64)

  • Secure tokens




UUID v4: "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
Random int (1-100): 73
Secure token (32 bytes): "a7f3c9..."









🔐 Hashing & Encoding



hash — Generate cryptographic hashes




MD5, SHA-1, SHA-256, SHA-384, SHA-512
Input: "password123"
SHA-256: "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"






Includes warnings when using weak algorithms (MD5/SHA-1).



base64 — Encode/decode base64




Encode: "Hello" → "SGVsbG8="
Decode: "SGVsbG8=" → "Hello"






encode — URL and HTML encoding/decoding




URL encode: "hello world" → "hello%20world"
HTML encode: "<div>" → "<div>"









✅ Validation & Parsing



json_validate — Validate and pretty-print JSON




Input: '{"name":"Alice","age":30}'
Valid: ✅
Pretty output with indentation






regex — Test regex patterns with ReDoS protection




Pattern: "^\d{3}-\d{4}$"
Test: "123-4567"
Match: ✅






cron_parse — Parse cron expressions to human-readable format




Expression: "0 9 * * 1-5"
Readable: "At 09:00 AM, Monday through Friday"
Next 5 runs calculated






luhn — Validate credit card numbers, generate check digits




Number: "4532015112830366"
Valid: ✅ (Luhn algorithm check)






ip — Validate and analyze IP addresses




IP: "192.168.1.1"
Version: IPv4
Private: ✅






semver — Parse and compare semantic versions




Version: "1.8.0"
Major: 1, Minor: 8, Patch: 0
Compare: "1.8.0" > "1.7.5" → true









🎨 Conversion Utilities



base — Convert between number bases (2-36)




Decimal 255 → Hex: "FF"
Binary "1111" → Decimal: 15






diff — Character and word-level text diffs




Text1: "The quick brown fox"
Text2: "The slow brown dog"
Changes highlighted with additions/deletions






color — Convert between color formats




Hex "#FF5733" → RGB: "rgb(255, 87, 51)"
RGB → HSL: "hsl(14, 100%, 60%)"






convert — Unit conversions (length, weight, temperature, etc.)




100 cm → 39.37 inches
32°F → 0°C






char_info — Character information and Unicode details




Character: "€"
Unicode: U+20AC
Category: Currency Symbol
Name: EURO SIGN






jwt_decode — Decode JWT tokens (header + payload)




Token: "eyJhbGciOiJIUzI1..."
Header: {"alg": "HS256", "typ": "JWT"}
Payload: {"sub": "1234", "name": "John"}






url_parse — Parse URLs into components




URL: "https://example.com/path?q=search#section"
Protocol: https
Host: example.com
Path: /path
Query: q=search
Hash: #section









Security Design



I didn't just slap together a bunch of eval() calls and call it a day. Security matters:






🔒 Sandboxed Math Evaluation



The math tool uses a safe expression parser, not JavaScript's eval(). You can't execute arbitrary code like process.exit() or require('fs'). It evaluates mathematical expressions in a controlled environment.






🛡️ ReDoS Protection



The regex tool includes timeouts and complexity checks to prevent Regular Expression Denial of Service attacks. No hanging your AI session with catastrophic backtracking patterns.






⚠️ Weak Hash Warnings



Using MD5 or SHA-1 for hashing? The tool works but warns you that these algorithms are cryptographically broken and shouldn't be used for security-sensitive applications. Gentle nudge toward SHA-256+.






Why This Matters



When you're coding with AI, context-switching kills flow. Having these tools available automatically means:




  • No more "let me open a calculator"

  • No more "hold on, lemme check that date"

  • No more copy-pasting to encoding websites

  • No more trusting hallucinated hashes



Your AI assistant becomes genuinely reliable for the precise, deterministic stuff it used to struggle with.






Get Started





Version 1.8.0 is live now. MIT License. No API keys, no tracking, no nonsense.






Have you run into similar AI hallucination problems? What tools do you wish existed? Drop a comment below 👇

IoC Intelligence (2 Indikatoren)
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f
CTI Threat Relationship Graph3 Knoten / 2 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - I Built an MCP Server to Fix 21 Things LLMs Are Bad At
id: b7e8074b-5683-4e3a-93ad-25b08b208fb5
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $h1 = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824" ascii wide
        $h2 = "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich I Built an MCP Server to Fix 21 Things L.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I Built an MCP Server to Fix 21 Things LLMs Are Bad At

Thematisch verwandte Begriffe: Built, Server, Things, LLMs · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97056 | SigNoz versions from v0.98.0 up to (but not including) v0.143.0, when co…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger • Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick