MCP Directory

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
CategoryAI, Data & KnowledgeAI, Data & Knowledge
LanguageRTypeScript
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars2574k
Last commit2 months ago5 months ago
Verified
Actively maintained
Installremotes::install_github("phisanti/MCPR")npx -y @modelcontextprotocol/server-memory
RepoOpen 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

Install / run
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)

Install / run
npx -y @modelcontextprotocol/server-memory

Paste 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.