PyMemoryEditor

Memory and knowledge

Read, write and scan process memory, Cheat Engine style, on Windows, Linux and macOS.

Your AI app calls the PyMemoryEditor MCP server, which does the memory and knowledge work and sends the result back to the chat.

About PyMemoryEditor

PyMemoryEditor is a community MCP server from JeanExtreme002, filed in our directory under memory and knowledge. Read, write and scan process memory, Cheat Engine style, on Windows, Linux and macOS.

PyMemoryEditor runs on your own machine: your AI app starts it with the command uvx pymemoryeditor==3.4.4 mcp and talks to it over standard input and output.

PyMemoryEditor is listed in the official MCP registry as io.github.JeanExtreme002/PyMemoryEditor, version 3.4.4.

At a glance

Publisher
JeanExtreme002 (community)
Runs
Locally on your machine
Install from
Python package on PyPI: pymemoryeditor
Written in
Python
License
MIT
GitHub stars
233
Official MCP registry
io.github.JeanExtreme002/PyMemoryEditor

How to set up PyMemoryEditor

  1. Install uv on the machine that runs your AI app, because PyMemoryEditor starts with uvx and fetches its Python package on first run.
  2. Check the PyMemoryEditor README for keys or settings; the registry lists none that PyMemoryEditor requires.
  3. Add PyMemoryEditor to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the PyMemoryEditor tools to confirm the connection.
  5. Run one read-only task with PyMemoryEditor first, and keep your app asking before each tool call until the results look right.

PyMemoryEditor compared with similar servers

  • OMEGA Memory by omega-memory has fewer GitHub stars than PyMemoryEditor (227 against 233); both are community servers, and both run locally.
  • Memory Eternal by EternalNight996 has more GitHub stars than PyMemoryEditor (237 against 233); both are community servers, and both run locally.
  • Memory by fellowgeek has fewer GitHub stars than PyMemoryEditor (225 against 233); both are community servers, and both run locally.

Before you connect PyMemoryEditor

  • Give PyMemoryEditor its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each PyMemoryEditor tool call until you trust what it does with them.
  • Treat text that PyMemoryEditor fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for PyMemoryEditor on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for PyMemoryEditor

How marketing and sales teams put PyMemoryEditor to work, by company size. Pick the size closest to yours and start PyMemoryEditor on one use case.

Small business

  • A small business can give PyMemoryEditor its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • Founders can use PyMemoryEditor to keep notes from calls and decisions, then ask what was agreed with a customer weeks later.
  • PyMemoryEditor runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can connect PyMemoryEditor to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Sales and marketing can share one knowledge base through PyMemoryEditor, so answers about pricing and features match across teams.
  • Start PyMemoryEditor on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use PyMemoryEditor with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • Large orgs can make PyMemoryEditor the approved memory layer for agents, with retention rules and a way to delete what shouldn't be kept.
  • PyMemoryEditor is a community server, so have security review the code and pin a version before PyMemoryEditor touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

PyMemoryEditor README

From JeanExtreme002/PyMemoryEditor on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

PyMemoryEditor

A pure-Python library (built on ctypes) that lets you inspect, modify and search the memory of any running process in a few lines of Python, Cheat Engine workflows on Windows, Linux and macOS!

Read, write and scan the memory of any process, straight from Python.
One unified API. Three operating systems. No C compiler. No native build step.

Runs on Windows · Linux · macOS, 32-bit and 64-bit.

Tweak a value in a running game · inspect a live program's state · harvest data straight from RAM.

Install

pip install PyMemoryEditor

To also install the bundled GUI app (a Cheat Engine-style scanner), use the app extra:

pip install "PyMemoryEditor[app]"
pymemoryeditor

For faster scans on large processes, add the speed extra. It pulls in NumPy and automatically vectorizes the numeric scan comparison loop, ~10–30× faster on selective scans:

pip install "PyMemoryEditor[speed]"

To let an AI assistant drive the library over the Model Context Protocol, use the mcp extra (see below):

pip install "PyMemoryEditor[mcp]"

📖 Full guide at Read the Docs.

See it in action

from PyMemoryEditor import OpenProcess

with OpenProcess(name="game.exe") as process:

    # Scan the whole process for every address holding the value 100.
    for address in process.search_by_value(int, value=100):
        print(f"Found at 0x{address:X}")

    # Read the current value, then write a new one back.
    current = process.read_int(address)
    process.write_int(address, current + 500)

That's it, read, write or scan another process in three lines, the same way on every platform.

Let an AI assistant do it (MCP)

PyMemoryEditor ships a Model Context Protocol server, so an AI assistant can run the whole loop itself:

"Find the health value in my game. It's 100 right now."

It scans, asks you to take damage, refines the matches, and hands you the address.

pip install "PyMemoryEditor[mcp]"
claude mcp add pymemoryeditor -- pymemoryeditor-mcp

Or in any client that reads mcpServers JSON (Claude Desktop, editors, …):

{
  "mcpServers": {
    "pymemoryeditor": {
      "command": "pymemoryeditor-mcp",
      "args": []
    }
  }
}

Fourteen tools cover the full workflow, with scan results kept server-side behind a handle, so a 40 000-hit first scan costs a few tokens instead of your whole context.

Read the MCP guide to learn more.

📖 Documentation

Full documentation lives at pymemoryeditor.readthedocs.io, installation, the Cheat Engine workflow, every method and parameter, the GUI app guide, platform notes and troubleshooting.

A quick map of where to go:

Quick StartOpen a process, read, write and run your first scan.
Searching memoryValue scans, ranges, refining results, the Cheat Engine loop.
Pattern scanFind code/data with byte signatures (AOB) and regex.
PointersMulti-level pointer chains and the live RemotePointer.
Pointer scanFind static pointers that survive ASLR.
The GUI appThe bundled Cheat Engine-style scanner.
The MCP serverLet an AI assistant drive the scan/refine loop.
API referenceEvery public class, method and parameter.
Platform notesPermissions and quirks on Windows, Linux and macOS.
TroubleshootingCommon errors and how to fix them.

What can I build with this?

  • 🎮 Game modding & speedrunning tools, the classic Cheat Engine use case.
  • 🔬 Debugging & introspection, inspect live state without attaching a debugger.
  • 📊 Observability tooling, sample variables in a running process for telemetry.
  • 🔐 Security & reverse-engineering research, on systems you own or are authorized to test.
  • 🎓 Learning, the bundled app is a great teaching tool for how memory scanning works.

[!NOTE] Responsible use. PyMemoryEditor talks to other processes through OS-level APIs. Only point it at processes you own or have explicit permission to inspect.

🤝 Contributing

Pull requests, bug reports and feature ideas are very welcome. Read CONTRIBUTING.md for the development setup, test layout and the small set of platform-specific quirks to be aware of.

If PyMemoryEditor helped your project, please ⭐ the repo, it's the easiest way to support the work and to help others discover the library.

License

Released under the MIT License, free for personal and commercial use.

Questions about PyMemoryEditor

What is the PyMemoryEditor MCP server?

Read, write and scan process memory, Cheat Engine style, on Windows, Linux and macOS. PyMemoryEditor is maintained by JeanExtreme002 on GitHub at JeanExtreme002/PyMemoryEditor, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the PyMemoryEditor MCP server?

Add PyMemoryEditor to your AI app's MCP config with the command uvx pymemoryeditor==3.4.4 mcp. In Claude Code, run claude mcp add --transport stdio pymemoryeditor -- uvx pymemoryeditor==3.4.4 mcp. To run PyMemoryEditor this way you need uv installed.

Does PyMemoryEditor need an API key?

The registry lists no required keys for PyMemoryEditor. Check the PyMemoryEditor README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is PyMemoryEditor an official MCP server?

No. PyMemoryEditor is a community server maintained by JeanExtreme002. Community servers can be excellent; read the code and the open issues before you give PyMemoryEditor access to company data.

What license is PyMemoryEditor under?

PyMemoryEditor is released under the MIT license, according to its GitHub repository. The license covers the code of PyMemoryEditor; the service it connects to has its own terms.