CodeLint.Dev Tools

dev.codelint/tools · v1.0.0 · finance-and-payments

CodeLint.Dev Tools is healthy: it completed an MCP handshake in 1109 ms and exposes 45 tools.

Deterministic developer, AI-engineering and payment-format utilities. No auth, no model.

Endpoint: https://codelint.dev/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count45
Latency1109 ms
Last checked (UTC)2026-11-30T19:45:18.054Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T19:45:18.054ZHealthy1109
2026-11-28T10:10:13.356ZHealthy870
2026-11-26T02:15:37.420ZHealthy1105
2026-11-23T20:20:55.783ZHealthy1797

Tools (45)

json_formatPretty-print a JSON document with consistent indentation, optionally sorting object keys alphabetically at every level (useful before diffing two documents). Fails with the line and column of the first syntax error if the input is not valid JSON.
json_validateCheck whether text is valid JSON (RFC 8259). Returns valid=true with the top-level type, total key count and nesting depth, or valid=false with the error message and its exact line and column. Use this to find why a payload will not parse.
json_minifyRemove all insignificant whitespace from a JSON document, producing the smallest equivalent text. Reports the size reduction. Fails with line and column if the input is not valid JSON.
json_escapeEscape raw text so it can be embedded as a JSON string value (quotes, backslashes, newlines, control characters), or unescape an escaped JSON string back to raw text. The result does not include the surrounding double quotes.
csv_to_jsonParse CSV text with a header row into an array of JSON objects, one per row. Handles quoted fields, embedded commas and newlines, and converts numeric and boolean cells to their JSON types.
json_to_csvConvert a JSON array of flat objects into CSV text with a header row. Fields containing commas, quotes or newlines are quoted correctly.
yaml_to_jsonParse a YAML document and return it as JSON. Reports the line of the first syntax error — useful for debugging indentation problems in Kubernetes manifests, CI configs and Compose files.
json_to_yamlConvert a JSON document to block-style YAML with 2-space indentation.
geojson_validateValidate a GeoJSON document against RFC 7946: geometry types, coordinate array shapes, longitude/latitude ranges, closed polygon rings and Feature/FeatureCollection structure. Returns every violation found.
format_codeRe-indent and beautify SQL, CSS, HTML or XML source. Use it to make minified or single-line code readable before reviewing or diffing it.
text_diffCompare two texts line by line and return a unified diff plus counts of added, removed, changed and unchanged lines. Deterministic — use it instead of eyeballing whether two configs, prompts or files differ.
base64Encode UTF-8 text to Base64, or decode Base64 back to text. Supports the URL-safe alphabet (RFC 4648 §5) and tolerates missing padding when decoding. Use this rather than computing Base64 by hand, which models get wrong on anything longer than a few bytes.
url_encodePercent-encode text for use in a URL, or decode a percent-encoded string. In component mode (default) every reserved character is encoded, which is what a query-string value needs; with component=false the URL structure (:/?#&=) is preserved.
jwt_decodeDecode a JSON Web Token into its header and payload, and convert the iat/nbf/exp claims to ISO timestamps with an expired flag. Decoding only: the signature is NOT verified, so never treat the result as proof the token is authentic.
hashCompute the SHA-1, SHA-256, SHA-384 or SHA-512 digest of UTF-8 text, as hex or Base64. Use it to produce checksums, cache keys or integrity values — a model cannot compute a real hash without a tool.
number_base_convertConvert an integer between binary, octal, decimal and hexadecimal. Arbitrary precision, so 64-bit and larger values convert exactly (no floating-point rounding).
color_convertConvert a colour between hex, RGB and HSL, and report its WCAG contrast ratio against white and black so you can tell which text colour is legible on it.
timestamp_convertConvert between Unix epoch time and ISO 8601. Accepts epoch seconds or milliseconds (detected by magnitude) or any ISO 8601 date-time, and returns all forms plus the weekday. Call it with no arguments to get the current UTC time — a model has no clock of its own.
uuid_generateGenerate one or more UUIDs. Version 7 (default) is time-ordered and sorts chronologically, which makes it the better choice for database primary keys; version 4 is fully random. Use this whenever a real, unique identifier is needed — a model-invented UUID is neither random nor unique.
date_diffCompute the exact span between two dates: total days, weeks and days, a calendar breakdown in years, months and days, and the number of business days (Monday to Friday; public holidays are not known). Leap years and month lengths are handled. Use it for ages, deadlines, contract terms and "how long
date_addAdd or subtract years, months, weeks, days or business days from a date and return the resulting date and weekday. Month arithmetic clamps to the end of the month (31 January plus one month is the last day of February). Business days skip Saturdays and Sundays; public holidays are not known. Use neg
timezone_convertConvert a date and time from one IANA time zone to another, applying the daylight-saving rules in force on that date in each zone. Returns the local time, UTC offset and weekday in both zones and the UTC instant. Flags local times that occur twice or not at all around a clock change. Use it for meet
cron_explainParse a standard 5-field cron expression (or an @daily-style macro), describe in words when it fires, and compute its next run times in UTC. Use it to check a schedule before deploying it — computing cron fire times by reasoning alone is error-prone, especially with day-of-month and day-of-week both
regex_testRun a JavaScript (ECMAScript) regular expression against text and return every match with its index and capture groups. Use it to verify a pattern actually matches what you intend before putting it in code. Reports a syntax error if the pattern does not compile.
cidr_calculateGiven an IPv4 CIDR block (e.g. 10.0.0.0/22), return its network and broadcast addresses, subnet and wildcard masks, usable host range and host count, and whether it is private (RFC 1918). Optionally split it into equal smaller subnets. IPv4 only.
http_headers_analyzeParse raw HTTP response headers (as printed by `curl -I`) and audit them: explains each header, flags risky values (weak CSP, cookies missing Secure/HttpOnly/SameSite, permissive CORS), lists the security headers that are missing, and gives a 0–100 score.
llm_modelsList current large-language-model API offerings with list prices (USD per 1M input/output tokens), long-context surcharge rules, context window and max output. Covers OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral and Meta. Each response states the date the prices were last verified against the p
llm_cost_estimateCalculate what an LLM workload costs: tokens per request × requests, at list price, with long-context surcharges applied correctly (several providers bill the whole request at a higher rate once the prompt passes a threshold). Name a model for one figure, or omit it to get every model ranked cheapes
llm_price_changesReturn the dated record of LLM API price changes, model launches, deprecations and shutdown dates, plus the computed differences between the dates the price list was re-verified. Each announced event carries the provider page it came from. Use it to answer "did the price of X change?", "when does mo
count_tokensCount how many tokens a piece of text uses. Exact for OpenAI's published o200k_base encoding; for Anthropic and Google models it returns the estimate from each provider's documented ratio, labelled as an estimate. Use it to check a prompt fits a context window or to feed llm_cost_estimate.
llm_stream_assembleReassemble a raw streamed LLM API response (server-sent events) into the message it adds up to: text, reasoning, tool calls with parsed arguments, stop reason and token usage. Understands Anthropic Messages, OpenAI Chat Completions (and compatible providers), OpenAI Responses, Gemini generateContent
ucp_profile_validateValidate a Universal Commerce Protocol (UCP) profile document — the JSON a store publishes at /.well-known/ucp, or the profile an agent platform advertises — against the UCP specification: version format, required registries, service bindings and endpoints, capability entries and orphaned extensions
product_feed_validateValidate a product feed written for OpenAI's product feed schema (the format ChatGPT shopping ingests) row by row: the eleven required fields, the accepted availability values, the "amount CURRENCY" price format, URLs, GTIN length and check digit, duplicate item IDs, variant groups, checkout fields
http_signature_verifyVerify the signature on an HTTP request, response or webhook and explain a failure. Handles RFC 9421 HTTP Message Signatures with RFC 9530 Content-Digest (the scheme UCP uses) for ecdsa-p256-sha256, ecdsa-p384-sha384, ed25519, hmac-sha256, rsa-pss-sha512 and rsa-v1_5-sha256, and the ACP order-webhoo
sd_jwt_decodeDecode an SD-JWT or SD-JWT VC (RFC 9901 selective-disclosure JWT, the credential format of the EU Digital Identity Wallet and of agent payment mandates): split the issuer-signed JWT, the disclosures and the key-binding JWT; hash each disclosure and match it to the digest that references it; rebuild
india_id_validateCheck Indian identifiers by structure and check digit: GSTIN (state code, embedded PAN, check character), PAN, TAN, IFSC, Aadhaar (Verhoeff check digit), CIN and Udyam registration numbers. Pass one identifier or many, one per line; the type is detected unless given. Returns whether each is well-for
payment_qr_decodeDecode the text inside a payment QR code or payment link and check it: EMVCo merchant-presented codes (the tag-length-value format behind Pix, PromptPay, DuitNow, BharatQR, PayNow, QRIS and others) with the CRC recomputed and mandatory fields checked, UPI payment links (upi://pay?…), the SEPA credit
ach_file_validateParse a US ACH file in the NACHA fixed-width format (94 characters per record) and check it: record order and nesting, entry and addenda counts, the entry hash, debit and credit totals at batch and file level, the block count and padding, routing-number check digits, transaction and service class co
aba_routing_checkCheck a nine-digit US ABA routing (transit) number: the check-digit rule, with the weighted sum shown, and what the first two digits indicate (Federal Reserve district, thrift, electronic or traveler's cheque series). Checks the number only; it does not say whether the number is assigned to a bank.
iso20022_readRead an ISO 20022 XML payment message as plain payments and check it. Interprets pain.001 (credit transfer initiation), pain.008 (direct debit), pain.002 and pacs.002 (status reports), pacs.008 (interbank credit transfer), pacs.004 (return), camt.052/053/054 (account reports, statements, notificatio
einvoice_readRead a structured electronic invoice as an invoice and check it. Handles European EN 16931 invoices in UBL (Invoice, CreditNote) and UN/CEFACT CII syntax — the formats XRechnung, Peppol BIS Billing 3.0, Factur-X and ZUGFeRD carry — and Indian GST e-invoices (the invoice JSON sent to the Invoice Regi
loan_paymentCompute the fixed monthly payment on an amortising loan or mortgage (the EMI), plus total interest and total repaid, using the standard annuity formula. Optionally returns the first months of the amortisation schedule showing the interest/principal split. Use it instead of estimating — compounding m
compound_interestProject the future value of a lump sum with compound interest, optionally with a fixed contribution added at the end of every month (a savings plan or SIP). Returns the final value, total contributed, interest earned and a year-by-year balance.
cagrCompute the compound annual growth rate (CAGR) between a starting and ending value over a number of years — the single constant yearly rate that would produce the same result. Also returns the total return and growth multiple. The correct way to annualise multi-year growth; an arithmetic average ove
iban_validateCheck an International Bank Account Number: country code, the exact length that country requires, and the ISO 7064 mod-97 check digits. Returns the country and the IBAN in standard 4-character groups, or the specific reason it is invalid. Structural validation only — it cannot tell you whether the a