PyMemoryEditor MCP
Lets your AI agent scan, read and write the memory of a running process, like a Cheat Engine workflow.
226 stars on GitHubby JeanExtreme002License MITUpdated 20 days 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 pymemoryeditor -- uvx --from "PyMemoryEditor[mcp]==3.4.1" pymemoryeditor mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Find the health value in my game. It is 100 right now.
Scan the process for the value 100, then refine the matches after I take damage.
What it is
PyMemoryEditor is a Python library for inspecting and changing the memory of running programs on Windows, Linux and macOS. Its MCP server lets an agent run the whole scan-and-refine loop, for example finding a game value. Scan results are kept on the server behind a handle, so large scans use few tokens.
What it can do
- 14 tools covering the full scan, refine, read and write workflow
- Value scans across a whole process
- Pattern scans by byte signature
- Pointer chains and pointer scans
When to use
- βΊWhen you want to find which memory address holds a value in a game you own
- βΊWhen you want to inspect a live program's state without a debugger
- βΊWhen you want to learn how memory scanning works with an assistant guiding you
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, hidden values, and memory and CPU profiles to find problems.node-inspect-debuggerTeaches your agent to debug Node.js programs with real breakpoints, step-by-step running and value inspection, instead of only console.log.node-inspect-debuggerHelps your agent debug Node.js programs step by step, using breakpoints, memory snapshots, and CPU profiles to find hidden problems.Frequently asked questions
Is it free and open source?
Yes. It is released under the MIT License.
Which systems does it run on?
Windows, Linux and macOS, 32-bit and 64-bit.
Is there a GUI?
Yes. The app extra installs a Cheat Engine-style scanner.
Can it be used on any program?
The readme asks you to point it only at processes you own or have explicit permission to inspect.
How do I add it to Claude Code?
Run claude mcp add pymemoryeditor -- pymemoryeditor-mcp after installing the package.
Can scans be faster?
Yes. The speed extra adds NumPy, which the readme says makes selective scans roughly 10 to 30 times faster.
If it does not work
- βΊInstall with pip install "PyMemoryEditor[mcp]" and keep the quotes in zsh.
- βΊRun your agent with enough permissions to open the target process; see the platform notes in the docs.
- βΊRestart the agent after adding the pymemoryeditor-mcp command.
5 new skills a week. 1 minute to read.