Memcode
FreeNot checkedMCP server that loads a codebase into memory for faster access by Claude Code — live reload, Go single binary or npm.
About
MCP server that loads a codebase into memory for faster access by Claude Code — live reload, Go single binary or npm.
README
MCP Server that loads code into memory for faster access by Claude Code in VSCode.
Why Memcode?
- Faster access: Code is loaded into memory, no repeated disk I/O
- Live reload: File changes are automatically detected and updated
- Cross-platform: Works on Windows, Linux, and macOS
- VSCode ready: Works with Claude Code in VSCode
- Two implementations: Choose Go (single binary) or npm (Node.js)
Quick Start
Go Version (Recommended)
Single binary, no dependencies:
# Download pre-built or build from source
cd memcode-go
go build -o memcode
./memcode --path /your/code/path
npm Version
# Using npx
npx memcode --path /your/code/path
Configure MCP
After starting the server, configure VSCode to use memcode. See detailed instructions in:
- Go Version Guide - for Go binary configuration
- npm Version Guide - for npm/npx configuration
Choose Your Version
| Feature | Go | npm |
|---|---|---|
| Binary size | ~10MB | N/A |
| Dependencies | None | Node.js |
| Performance | Faster | Good |
| Build once | Yes | No |
Available Tools
Both versions provide the same MCP tools:
| Tool | Parameters | Description |
|---|---|---|
memory_code_read |
path: string | Read file content from memory |
memory_code_grep |
pattern: string, path?: string | Search for pattern in code |
memory_code_glob |
pattern: string | Find files matching pattern |
memory_code_stats |
- | Get loading statistics |
Project Structure
memcode/
├── memcode-go/ # Go version (single binary)
│ ├── main.go
│ ├── loader.go
│ └── README.md
├── memcode-npm/ # npm version (Node.js)
│ ├── src/
│ ├── tests/
│ └── README.md
└── docs/ # Documentation
└── README.md
Documentation
License
MIT
Installing Memcode
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/TbusOS/memcodeFAQ
Is Memcode MCP free?
Yes, Memcode MCP is free — one-click install via Unyly at no cost.
Does Memcode need an API key?
No, Memcode runs without API keys or environment variables.
Is Memcode hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Memcode in Claude Desktop, Claude Code or Cursor?
Open Memcode on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Memcode with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
