Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

CPU Performance Engineering

Lets your AI agent answer CPU performance questions from a vetted reading list, benchmarks and cited source passages.

1.2k stars on GitHubby usamahzLicense MITUpdated 2 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add cpu-perf -- uvx cpu-perf

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Explain why my loop is slow and cite the sources.
What should I read first to understand cache misses?

What it is

This is a reading path for CPU performance engineering, from one instruction up to running a model on CPU, using primary sources only. The MCP server turns that list into a knowledge source inside your AI client, so answers quote the linked sources and cite them. It covers x86 and Arm server parts.

What it can do

  • Look up the reading order of the guide
  • See rejected candidates with the rule each one failed
  • Browse the runnable benchmarks
  • Search an index of the linked sources, built on your own machine
  • Get answers that quote sources and cite them

When to use

  • β€ΊWhen you are tuning code and want answers tied to primary sources
  • β€ΊWhen you want to learn CPU caches, branch prediction or top-down analysis in a sensible order
  • β€ΊWhen you want a benchmark you can run yourself to check a claim

What you need

You need uv installed. One command adds the server, for example claude mcp add --scope user cpu-perf -- uvx cpu-perf.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The repository is open source with a LICENSE file. The first book and sixth entry in the reading list are paid books, but the server itself is added with one free command.

What does it cover?

x86 and Arm server parts, from one instruction through to serving a model on CPU. It does not cover language runtimes or database internals.

Where do the numbers come from?

Only primary sources are used, and any number carries seven fields listed in the readme or it is not quoted.

Are there benchmarks?

Yes. Fourteen sections end in a runnable benchmark with C source, the build line, the machine, raw numbers and analysis.

Which AI clients work?

The readme gives commands for Claude Code and Codex, and says Claude Desktop, Cursor and VS Code take a few lines of config.

Does it send my code anywhere?

The readme says the source index is built on the reader's own machine.

If it does not work

  • β€ΊCheck that uv is installed, since the server starts through uvx cpu-perf.
  • β€ΊRestart your AI app fully after adding the server.
  • β€ΊSee misc/mcp/README.md in the repository for the config lines for Claude Desktop, Cursor and VS Code.

5 new skills a week. 1 minute to read.