APIShed
A modular HTTP API server. Each module owns its own versioned route prefix.
The math LLMs get wrong — as a deterministic API and MCP server.
Checksums, date arithmetic, exact character counts, token counts — a language model guesses at these instead of computing them. apished runs the actual algorithm and gives you a real answer, over plain HTTP or as MCP tools an agent can call directly. That also makes it useful on edge devices and IoT boards: an agent running somewhere it can't spin up a Python interpreter or install a package still gets exact computation, one HTTP call away.
GPT-4's accuracy on timezone questions vs. date-difference questions, on the "Test of Time" benchmark.
Date math, done right — /v1/datemath
The canonical LLM answer to "how many r's in strawberry" — tokenization groups letters into tokens, so the model never actually counts.
Character counts you can trust — /v1/text
Ask an LLM for a SHA-256 hash and it will confidently invent a real-looking hex string instead of computing one.
Real checksums, not guesses — /v1/hash
Rules
- Free to use, no API key or signup required.
- Rate limited to 1 request/second per IP per endpoint, across both the REST API and MCP tools — calling several different endpoints in the same second is fine, only hammering the same one is throttled. Exceeding it returns HTTP 429 (or an MCP tool error).
- No request or response payloads are logged. Only an aggregate call count per endpoint is kept — visible live at /stats, and as a week-over-week chart at /stats/time — with no IP addresses or other client-identifying data stored anywhere.
MCP
/mcpEvery module below, exposed as 52 MCP tools over Streamable HTTP for MCP clients like Claude Desktop, Claude Code, Cursor, and ChatGPT — same logic as the REST endpoints, no duplication. See /mcp-setup for the full tool list and client-by-client setup instructions.
Modules
Every module's routes, grouped below. For the full interactive reference — request/response schemas, try-it-out — see /docs (openapi.json).
Validates Luhn, ISBN, EAN/UPC, IBAN, EU VAT, and SWIFT/BIC checksums and formats.
Converts hex/RGB/HSL/HSV colors and computes WCAG 2.1 contrast ratio.
Parses, validates, and converts CSV to/from JSON — no type guessing.
Calendar date arithmetic — differences, business days, age, day-of-week, add/subtract.
Returns the actual current date/time in a given format and IANA timezone.
Encodes/decodes text as ROT13, base64, base64url, base32, hex, uuencode, URL, or HTML entities.
Computes MD5/SHA1/SHA256/SHA512/CRC32 digests and HMAC, with optional base64/hex input.
Validates Polish PESEL, NIP, and REGON checksums — PESEL also decodes birth date and sex.
IPv4/IPv6 CIDR info, containment, and overlap checks.
Chains other operations together in one request, in-process, so an agent skips a round-trip per step.
Generates cryptographically random integers in a range, using crypto/rand.
Regex extract, replace, and split, on Go's RE2-based (backtracking-safe) engine.
Evaluates Reverse Polish Notation expressions — arithmetic, trig, logs, bitwise ops, and constants.
Character/word counting, reversal, palindrome checks, indexing, and sorting — Unicode-safe.
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
Converts data size (SI/IEC) and temperature, as exact decimal strings.
Regex matching, email/URL format checks, and JSON Schema validation.