📡 MCP Radar

Layfate/zig-anything

Rewrite your app in Zig, one piece at a time, checked against the original's recorded behavior at every step. Functions in JavaScript, TypeScript and Python, and CLIs in any language.

⭐ 5 stars
⑂ 0 forks
Zig
momentum ▲ 10.0
created 2026-11-20
on radar since 2026-11-24
ai-agentsclicode-migrationdeveloper-toolsdifferential-testinggolden-testingjavascriptmcpmcp-servermigrationnodejsperformanceportingpythonrewritesnapshot-testingtypescriptzigziglang
View on GitHub ↗

About zig-anything

Port JavaScript, TypeScript and Python functions, and whole command-line programs, to Zig one piece at a time, and prove every port behaves exactly like the original.

Measured with zig-anything bench on examples/levenshtein-py. Regenerate with python scripts/makedemogif.py.

zig-anything records what a function in your existing code actually does (on generated edge cases, semantic traps and inputs you supply), scaffolds a Zig port of it, and replays every recorded case against the port until they all match. A single command, gate, decides when a port is done.

That mismatch is real: the first Zig port counted bytes, but JavaScript counts UTF-16 code units. The recording caught it.

- One static binary, about 0.4–0.8 MB, with no runtime dependencies. Written in Zig with only the standard library. - Language-agnostic replay. The original runs in its own runtime (Node or Python) through a small embedded recorder. The port runs as a native Zig harness. Results meet as JSON lines. - Semantic comparison. 1, 1.0 and 1e0 are equal, object key order is ignored, and NaN/±Infinity survive the round trip. Thrown errors match returned Zig errors. - Measured, not claimed. bench times both sides on the same recorded inputs and reports a verdict, including when the port is slower. - Agent-ready. zig-anything mcp exposes every command as a Model Context Protocol tool.

- Benchmarks - Install - Quick start - Commands - How it works - Calling the port from your code - Porting whole programs - Writing a port - Configuration - MCP server - Scope and limitations - Building from source - Contrib

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/Layfate--zig-anything.html)

Related MCP servers

erkamyaman/rust-anything

Rewrite your whole app in Rust, one piece at a time, checked against the original's recorded behavior at every step. CLIs, HTTP servers and libraries in TypeScript, Python, C, Go, Ruby and Java.

⭐ 7634Rust
EL4CTEO/fast-anything

Don't rewrite it in Rust. Rewrite the 5% that's slow: profile Python, Node or Ruby apps, port the hot functions with your coding agent, prove they behave the same.

⭐ 4358Rust
dheerajjha/mcp-migrate

Find and fix what the MCP 2026-07-28 spec revision breaks in your server. 21 rules, 5 autofixers, and a readiness board.

⭐ 5Python
adityajha2005/decisionkit

Fast, cheap, probability-scored decisions for coding agents, scripts and CI. CLI + MCP server + Claude Code plugin for the OpenAI Decisions API and Jev (TypeSafe AI).

⭐ 4TypeScript
Umair/stalemap

Tell your coding agent which dependencies changed after its training cutoff. Diffs types and changelogs, writes a short block into AGENTS.md / CLAUDE.md.

⭐ 103TypeScript
Cripacx/mediagen

AI image and video generation skill for Claude Code and other coding agents — Gemini, OpenAI and Kie AI behind one CLI and MCP server, with EU AI Act content marking.

⭐ 56TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.