MCPR vs Memory (Knowledge Graph)
A side-by-side comparison of two AI, Data & Knowledge servers — tools, transport, auth, maintenance, and copy-paste config for each.
| MCPR Let AI agents run code inside live, stateful R sessions for real data-analysis workflows. Unverified stdio (local) No auth R | Memory (Knowledge Graph) Official MCP server providing persistent, file-backed knowledge-graph memory across sessions. Verified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | AI, Data & Knowledge | AI, Data & Knowledge |
| Language | R | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | None | None |
| GitHub stars | 25 | 74k |
| Last commit | 2 months ago | 5 months ago |
| Verified | ||
| Actively maintained | ||
| Install | remotes::install_github("phisanti/MCPR") | npx -y @modelcontextprotocol/server-memory |
| Repo | Open | Open |
Verdict
Pick MCPR if you prefer its approach (let ai agents run code inside live, stateful r sessions for real data-analysis workflows).
Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Add MCPR
remotes::install_github("phisanti/MCPR")Paste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcpr": {
"command": "R",
"args": [
"--quiet",
"--slave",
"-e",
"MCPR::mcpr_server()"
]
}
}
}Add Memory (Knowledge Graph)
npx -y @modelcontextprotocol/server-memoryPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"memory-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "/absolute/path/to/memory.jsonl"
}
}
}
}FAQ
MCPR or Memory (Knowledge Graph) — which is better?
Pick MCPR if you prefer its approach (let ai agents run code inside live, stateful r sessions for real data-analysis workflows). Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Can I use both MCPR and Memory (Knowledge Graph)?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do MCPR and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.