npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@deterministic-compute/mcp-server

v0.1.0

Published

Deterministic compute MCP stdio server for Codex and other MCP clients.

Readme

@deterministic-compute/mcp-server

Deterministic compute MCP stdio server for Codex and other MCP clients. It exposes exact arithmetic, expressions, unit conversion, finance calculators, result verification, and expected-value generation through the Rust compute-cli.

Codex Install

Install the server into Codex with one command:

codex mcp add deterministic-compute -- npx -y @deterministic-compute/mcp-server

Restart Codex, then run /mcp in the TUI or:

codex mcp list

Codex stores the server in ~/.codex/config.toml as a local stdio MCP server:

[mcp_servers.deterministic-compute]
command = "npx"
args = ["-y", "@deterministic-compute/mcp-server"]

Requirements

  • Node.js >=20.
  • Linux x64 for the current packaged native compute-cli binary.

Other platforms can still use the server by building compute-cli from this repository and pointing the MCP wrapper at it:

export DETERMINISTIC_COMPUTE_CLI_COMMAND="/absolute/path/to/compute-cli"
export DETERMINISTIC_COMPUTE_CLI_ARGS_JSON="[]"

Local Development

From the repository root:

npm ci --prefix apps/mcp-server-ts
npm --prefix apps/mcp-server-ts run build
node apps/mcp-server-ts/dist/index.js

When no packaged native binary is present, the server falls back to:

cargo run --quiet --manifest-path crates/compute-cli/Cargo.toml --

Real Codex Smoke Test

From the repository root, with Codex already authenticated:

scripts/codex-mcp-smoke.sh

This builds the local Rust CLI and TypeScript server, then runs codex exec with a transient deterministic-compute-local stdio MCP server. The smoke test asks Codex to call every registered MCP tool once, validates representative arithmetic, expression, unit conversion, finance, verification, and expected-value results, and does not persist any MCP configuration.

The transient command marks the deterministic compute tools as approved for the run so non-interactive codex exec can complete the tool calls.

To attach the local checkout persistently for manual Codex sessions:

codex mcp add deterministic-compute-local \
  --env DETERMINISTIC_COMPUTE_CLI_COMMAND="$PWD/target/debug/compute-cli" \
  --env DETERMINISTIC_COMPUTE_CLI_ARGS_JSON='[]' \
  -- node "$PWD/apps/mcp-server-ts/dist/index.js"

Release Packaging

The current test package stages the Linux x64 Rust CLI binary and builds the TypeScript server:

npm --prefix apps/mcp-server-ts run build:package
npm --prefix apps/mcp-server-ts pack --dry-run

For now, the package includes:

  • compute-cli-linux-x64

Future general releases should add the remaining platform binaries before documenting broad npx support.