Mexico City
Meridan ReportMexico City: CDMX, nearshoring & fintech transformation

Advertisement · Why this ad?

Technology

I'm Rewriting IBM SPSS Statistics in 100% Safe Rust, Alone

Marcus Chen
Managing Editor · Sunday, November 8, 2026 at 8:53 AM · 6 min read
StatCraft software interface screenshot
In this story
  1. What Happened
  2. Core Pillars & Design Principles
  3. Key Features
  4. StatCraft Bridge & AI Agents
  5. Community Reaction
  6. Marcus's Take
  7. What's Next

The quiet hum of a personal computer running a statistical analysis might seem unremarkable, but for one New York City developer, it represents a radical reimagining of how data is processed—and a defiant stand against proprietary software. He’s rebuilding IBM SPSS Statistics, a widely used statistical software package, from the ground up in Rust, a programming language known for its safety and efficiency. The project, dubbed StatCraft, is entirely open-source and aims to provide a free, crash-proof alternative to the industry standard—a feat he’s tackling alone. This endeavor isn’t just about coding; it’s about reclaiming control over data analysis and empowering researchers with a tool built on principles of transparency and reliability.

What Happened

StatCraft is a free, modern, open-source statistical software package built entirely in 100% pure Safe Rust. Designed as an uncompromising, clean-room alternative to proprietary statistical suites such as IBM SPSS Statistics, StatCraft combines academic precision, instantaneous launch times, and guaranteed crash immunity. The project’s creator emphasizes a commitment to safety, stating that it contains “Zero unsafe blocks, zero panics (panic!, unwrap(), expect()).” Instead of crashing when faced with malformed datasets or empty samples, StatCraft generates explicit, typed Result<T, E> errors. This dedication to stability is a direct response to the limitations and potential vulnerabilities inherent in older, proprietary statistical software.

The design philosophy extends beyond mere stability. StatCraft operates on the principle of “Commands, Not Handlers,” meaning every analytical procedure and user interaction is an atomic engine command (EngineCommand). These commands support non-destructive Undo/Redo functionality, can be serialized to standard SPSS syntax (.sps files), and can be executed headlessly. This flexibility allows for both interactive use and automated scripting. A key feature is the built-in local IPC socket (port 18493) and Model Context Protocol (MCP) server (--mcp flag), enabling external AI agents, such as Antigravity, Claude, ChatGPT, and Ollama, to interact with the software—inspecting metadata, executing batch syntax, performing calculations, and streaming results directly into the Output Viewer. Microsoft Excel users will appreciate the ability to copy results as structured TSV data that pastes cleanly without formatting issues.

The user interface is rendered with native egui and vector SVG icons, adhering to a strict zero-emoji and zero-unsupported Unicode symbol policy to ensure compatibility across platforms. Furthermore, 100% of user-facing strings are decoupled into Project Fluent catalogs (locales/en.ftl, locales/ru.ftl) allowing for real-time runtime language switching. To safeguard development workstations from memory exhaustion, builds are thread-limited (-j 1, codegen-units = 1). The project’s comprehensive feature guide, available in English and Russian (FEATURES.md and FEATURES_RU.md respectively), details all available analytical procedures and keyboard shortcuts. Rust is a systems programming language that focuses on safety, speed, and concurrency.

Core Pillars & Design Principles

The foundation of StatCraft rests on a commitment to uncompromising design. The “100% Safe Rust & Never Crash Guarantee” isn’t just a marketing slogan; it's a core tenet of the project. The use of Rust, a language designed to prevent memory-related errors and undefined behavior, is central to this guarantee. The absence of `unsafe` blocks—sections of code that bypass Rust’s safety checks—and the elimination of panics ensures that the software remains stable even when encountering unexpected data or situations. This contrasts sharply with traditional statistical software, which can be prone to crashes and data corruption. The developer’s focus on producing reliable results is paramount, particularly for users working with sensitive or critical data.

Key Features

StatCraft offers a range of features designed to streamline the statistical analysis process. It includes dual-view data management, with a high-performance, virtualized tabular grid (Data View) and a comprehensive metadata dictionary (Variable View). The Data View supports instant toggling between raw numeric values and human-readable value labels. The Variable View allows users to manage variable names, types (including nine canonical SPSS types), widths, decimals, labels, values, missing values, and table layout. The software also provides parametric and descriptive statistical procedures, including descriptive statistics (mean, standard deviation, etc.), frequencies, one-sample and independent-samples t-tests, paired-samples t-tests, and one-way ANOVA. The canonical output viewer includes an interactive outline tree for navigation and multi-tier nested pivot tables that can be exported to TSV format for seamless integration with spreadsheet software like Microsoft Excel.

StatCraft Bridge & AI Agents

Perhaps the most innovative aspect of StatCraft is its integrated “StatCraft Bridge,” which leverages the Model Context Protocol (MCP) to enable interaction with AI agents. This feature addresses a significant barrier to entry for many users: the need to learn complex statistical syntax or programming languages. By connecting AI assistants like Antigravity, Claude, ChatGPT, and Ollama, users can describe their analytical goals in plain language. The AI agent then autonomously generates and executes commands within StatCraft, retrieves results, and presents them in a user-friendly format. This approach not only simplifies the analysis process but also mitigates the risk of errors associated with large language models by using StatCraft as a “deterministic calculation oracle.” The bridge operates locally, ensuring data privacy and security.

Community Reaction

The launch of StatCraft has generated significant interest within the open-source and statistical computing communities. The project’s commitment to safety, performance, and accessibility has resonated with users seeking an alternative to proprietary software. The integration of AI agents represents a particularly exciting development, promising to democratize statistical analysis and empower users with limited technical expertise. While the project is still in its early stages, the developer’s dedication and the innovative features of StatCraft suggest a bright future. The use of Rust, while requiring a steeper learning curve for some, is seen as a key differentiator, offering unparalleled stability and performance.

Marcus's Take

What’s truly remarkable about StatCraft isn’t just the technical achievement of rebuilding SPSS in Rust—it’s the vision behind it. For too long, powerful tools have been locked behind expensive licenses and opaque algorithms, creating a barrier to entry for researchers and analysts. This project represents a refreshing commitment to transparency and accessibility. The integration of AI agents is particularly significant. While AI-powered tools are often marketed as replacements for human expertise, StatCraft uses AI to *augment* human capabilities—to simplify complex tasks and reduce the potential for error. This aligns with a philosophy of empowering individuals with the tools they need to succeed, rather than replacing them. The focus on stability and data integrity is also crucial, especially in fields like clinical trials and psychological research where even small errors can have significant consequences.

What's Next

The StatCraft project is ongoing, with continued development focused on expanding its feature set and improving its usability. Future plans include adding support for more statistical procedures, enhancing the graphical user interface, and refining the AI agent integration. The developer welcomes contributions from the open-source community, encouraging users to report bugs, suggest new features, and contribute code. The long-term goal is to create a fully functional, free, and open-source statistical software package that can rival or even surpass the capabilities of proprietary alternatives. The project’s website and GitHub repository provide resources for users and developers, including documentation, tutorials, and a roadmap for future development. GitHub is a popular platform for open-source collaboration.

The success of StatCraft hinges on continued community support and engagement. As the project matures, it will be crucial to ensure its long-term sustainability through funding and volunteer contributions. The developer’s commitment to maintaining a safe, reliable, and accessible tool will be essential for fostering trust and encouraging widespread adoption. The project's impact extends beyond the realm of statistical analysis; it represents a broader movement towards open-source alternatives and a renewed emphasis on transparency and accountability in technology. The City of New York supports initiatives that promote innovation and digital literacy.

Up nextApple capped engineers at a $200 daily AI budgetTechnology · 6 min read
You're offline — showing the last loaded page