Benchmarks local LLM inference speed (tokens/sec) on your own hardware via MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Every "best local LLM engine" article benchmarks someone else's machine. InferBench benchmarks yours.
Local-inference engines all publish their own benchmarks, on their own hardware, in their own README. None of them tell you which one is actually fastest on the machine sitting in front of you. InferBench runs a fixed, varied prompt set against whichever supported engines are installed on your own hardware and reports real, measured tokens/second -- not a number copied from someone else's blog post.
Install, first run, and a real omlx benchmark against a cached model:

InferBench ships two independent, equally first-class packages -- pick whichever fits your toolchain, or install both. Neither is deprecated in favor of the other; both run the same measurement architecture against the same two supported engines.
Both packages are published and installable today.
npm install -g inferbench-cli and pip install inferbench-cli both
work -- see
npmjs.com/package/inferbench-cli
and pypi.org/project/inferbench-cli,
or python/README.md and
docs/getting-started.md for the Python-specific
walkthrough, and CHANGELOG.md for each distribution's
version history.
Requires Node.js >=18 for the npm package, Python >=3.9 for the PyPI package. At least one supported engine must already be installed either way (InferBench does not install engines for you):
brew install llama.cpp (macOS) or build from ggml-org/llama.cppbrew tap jundot/omlx https://github.com/jundot/omlx && brew install omlx (Apple Silicon only)llama-server, omlx serve) and sends every engine the identical prompt set through the identical timing code, instead of comparing numbers each engine's own benchmark tool produced differently.n=8 in the results table).inferbench-cli (TypeScript) and PyPI's inferbench-cli (a genuine Python port, not a wrapper around the Node binary) expose the same CLI flags and the same JSON report field names.--json / --out <file> writes a full BenchmarkReport as camelCase JSON on both distributions, so CI or an agent can parse it without special-casing which language produced it.compare_to_cloud() looks up a static, dated cloud API price alongside your measured local throughput -- it discloses plainly that it's a snapshot, not a live quote, and returns None for a model it doesn't recognize rather than guessing a number.--out. A relative --out value that resolves outside the current working directory is rejected, so an agent-supplied output path can't escape the intended directory.Real output from a live run against an actual llama-server process:
[!WARNING]
--modelmeans something different per engine (a downloadable HF spec for llama.cpp, a pre-downloaded local directory name for omlx), because the two engines have genuinely different model-acquisition capabilities -- omlx'sservecommand has no flag to pull an arbitrary model from Hugging Face directly. Running both engines against the same model in one command therefore needs the model already available in both engines' own expected forms.
Exit code 0 on a successful run with at least one engine tested; 1 on a usage error or when no supported engine is installed. The Python CLI has one small, documented divergence: a missing required --model flag exits 2 (the standard argparse convention for a parse-time error) instead of 1.
The Python package (pip install inferbench-cli) exposes a documented library surface, meant for use in scripts or notebooks instead of the CLI. The npm package's package.json main field points at the CLI script itself (dist/cli.js, which runs the argument parser as a side effect on import) and does not declare a separate library entry point, so today only the Python distribution is a supported library import.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/inferbench)<a href="https://allmcps.com/mcp/inferbench"><img src="https://allmcps.com/api/badge/inferbench?style=directory" alt="Inferbench on AllMCPs" /></a>