MCP Directory

Grok-MCP 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.

 Grok-MCP

MCP server for xAI's Grok API: agentic tool calling, image/video generation, vision, and file support.

Unverified
stdio (local)
API key
Python
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
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars3974k
Last commit11 days ago5 months ago
Verified
Actively maintained
Installgit clone https://github.com/merterbak/Grok-MCP.git && cd Grok-MCP && uv venv && uv syncnpx -y @modelcontextprotocol/server-memory
RepoOpen Open

Verdict

Pick Grok-MCP if you need the broadest set of tools.

Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add Grok-MCP

Install / run
git clone https://github.com/merterbak/Grok-MCP.git && cd Grok-MCP && uv venv && uv sync

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "grok-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/Grok-MCP",
        "run",
        "python",
        "main.py"
      ],
      "env": {
        "XAI_API_KEY": "your_api_key_here"
      }
    }
  }
}

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

Grok-MCP or Memory (Knowledge Graph) — which is better?

Pick Grok-MCP if you need the broadest set of tools. 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 Grok-MCP 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 Grok-MCP and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.