Skip to main content
MCP server CX Codex

PyMemoryEditor — Claude Code MCP server: read and write process memory

An MCP server on top of the PyMemoryEditor library: the agent scans a running process, reads values and writes new ones. Handy for game modding and debugging.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add pymemoryeditor -- uvx pymemoryeditor
Open on GitHub

What PyMemoryEditor does

PyMemoryEditor is a pure-Python library built on ctypes that opens another process's memory for reading, writing and searching. Its MCP server hands that loop to an AI assistant: it runs scans, refines matches and returns the address. Fourteen tools cover the workflow, and scan results stay server-side behind a handle, so a first pass with 40 000 hits costs a few tokens instead of your whole context.

Install it with pip install "PyMemoryEditor[mcp]", then start the server with pymemoryeditor-mcp. The same package ships the plain library, a Cheat Engine-style GUI scanner via the app extra, and faster scans via speed with NumPy. It runs on Windows, Linux and macOS, 32-bit and 64-bit.

The server talks to other processes through OS-level APIs, so on Linux and macOS it needs permission to read another process's memory, and on Windows a sufficient access level. Point it only at processes you own or are authorized to test.

What it helps with

  • find the address holding a value in a running game
  • read the current value at an address and write a new one
  • narrow down matches after a first scan
  • search memory for a byte signature or pattern
  • sample variables from a live process without a debugger

Example prompts for the agent

  • Find the health value in my game's memory — it's 100 right now
  • Scan game.exe for the value 100 and list the addresses
  • Read the int at that address and write back a value 500 higher

How to install PyMemoryEditor

Platform CLI

claude mcp add pymemoryeditor -- uvx pymemoryeditor

uvx runs the command named after the package; if the README names another one, use uvx --from pymemoryeditor <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about PyMemoryEditor

How do I install the PyMemoryEditor MCP server in Claude Code?

Install the package with the mcp extra: pip install "PyMemoryEditor[mcp]". Then add the server with claude mcp add pymemoryeditor -- uvx pymemoryeditor.

What does PyMemoryEditor do?

It reads, modifies and searches the memory of any running process — Cheat Engine workflows from Python. The MCP server exposes the same operations to an assistant as tools.

What does the server need to run?

Python and the package installed with the mcp extra. On Linux and macOS it needs permission to read another process's memory; on Windows, a sufficient access level.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor